SFML community forums

General => Feature requests => Topic started by: agarza5724 on September 14, 2015, 08:13:28 pm

Title: raspberrypi beagleboneblack
Post by: agarza5724 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!
Title: Re: raspberrypi beagleboneblack
Post by: eXpl0it3r 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?
Title: Re: raspberrypi beagleboneblack
Post by: agarza5724 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!
Title: Re: raspberrypi beagleboneblack
Post by: eXpl0it3r 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.
Title: Re: raspberrypi beagleboneblack
Post by: agarza5724 on September 14, 2015, 08:50:44 pm
i forgot to add this, sorry! it's the CMakeLists.txt file i'm using!
Title: Re: raspberrypi beagleboneblack
Post by: agarza5724 on September 14, 2015, 08:51:32 pm
i'll take another whack at it. thanks exploiter!
Title: Re: raspberrypi beagleboneblack
Post by: eXpl0it3r 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})