SFML community forums
Help => General => Topic started by: James A on June 29, 2017, 11:50:52 am
-
Hi there
I just built SFML for 32 bit linux and everything seemed to be ok till I realised there was no /include folder in the final product. I need the /include to make SFML word with codeblocks. Help?
-
make install
-
Make install did not work.
-
Please explain what you did (the steps / commands you executed), and how "make install" did not work.
And stop sending e-mails to people who reply to your forum posts ;)
-
Sorry, I wasn't aware :). I downloaded the source code, and went through the installation instructions on the website. I used cmake gui, selected the source, where to build, and I finished up the cmake process. After that I looked up a tutorial to get it to work with code blocks and I had to link the include directory, but it wasn't present.
-
Can you show the contents of the directory where you installed SFML?
-
CMakeFiles
doc
examples
lib
src
tools
CMakeCache.txt
cmake_install.cmake
Makefile
SFML.cbp
SFML.layout
-
That's the build directory. Set the CMAKE_INSTALL_PREFIX variable and run "make install" to install SFML. It will be installed to the directory given in CMAKE_INSTALL_PREFIX.
-
??? Probably should have figured that out. Thanks for your help, I have converted my CLI Minesweeper program to a GUI.
-
Probably should have figured that out
Yes, since it's explained in the tutorial ;)