Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: raspberrypi beagleboneblack  (Read 4510 times)

0 Members and 2 Guests are viewing this topic.

agarza5724

  • Newbie
  • *
  • Posts: 4
    • View Profile
raspberrypi beagleboneblack
« on: September 14, 2015, 08:13:28 pm »
greetings,
I'm a big fan of sfml. you guys have a great product here. in fact, i'm using it for drone research! anyways guys, after tons of google searching i've hit a snag. i've recently compiled and installed sfml v 2.3.2 on a raspberrypi. however, i cannot get a cmake based codeblocks project to link properly, in spite of having all the needed libraries for it. i've got pictures attached for you guys to see. i've also included cmake's options with it. thanks guys!

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: raspberrypi beagleboneblack
« Reply #1 on: September 14, 2015, 08:22:49 pm »
Seems like you're not linking against xcb xrandr. Can you provide the full build command in text form as well as the error messages in text form?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

agarza5724

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: raspberrypi beagleboneblack
« Reply #2 on: September 14, 2015, 08:34:56 pm »
greetings exploiter,
 this is setup as a codeblocks project file. that's all i have for the project, and the buildlog for the project. thanks for helping!

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: raspberrypi beagleboneblack
« Reply #3 on: September 14, 2015, 08:50:25 pm »
Since it's CMake project, you'll have to make sure to link against xcb xrandr in there and then regenerate the Code::Blocks project file.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

agarza5724

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: raspberrypi beagleboneblack
« Reply #4 on: September 14, 2015, 08:50:44 pm »
i forgot to add this, sorry! it's the CMakeLists.txt file i'm using!

agarza5724

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: raspberrypi beagleboneblack
« Reply #5 on: September 14, 2015, 08:51:32 pm »
i'll take another whack at it. thanks exploiter!

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: raspberrypi beagleboneblack
« Reply #6 on: September 14, 2015, 09:26:07 pm »
You might want to change that one line to:

target_link_libraries(${EXECUTABLE_NAME} ${SFML_LIBRARIES} ${SFML_DEPENDENCIES})
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything