SFML community forums

Help => General => Topic started by: James A on June 29, 2017, 11:50:52 am

Title: SFML custom make issues
Post 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?
Title: Re: SFML custom make issues
Post by: Laurent on June 29, 2017, 12:53:05 pm
make install
Title: Re: SFML custom make issues
Post by: James A on June 30, 2017, 12:17:50 am
Make install did not work.
Title: Re: SFML custom make issues
Post by: Laurent on June 30, 2017, 07:35:57 am
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 ;)
Title: Re: SFML custom make issues
Post by: James A on July 01, 2017, 11:59:17 am
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.
Title: Re: SFML custom make issues
Post by: Laurent on July 01, 2017, 07:36:24 pm
Can you show the contents of the directory where you installed SFML?
Title: Re: SFML custom make issues
Post by: James A on July 02, 2017, 12:57:15 am
CMakeFiles
doc
examples
lib
src
tools
CMakeCache.txt
cmake_install.cmake
Makefile
SFML.cbp
SFML.layout
Title: Re: SFML custom make issues
Post by: Laurent on July 02, 2017, 09:06:50 am
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.
Title: Re: SFML custom make issues
Post by: James A on July 03, 2017, 02:47:03 am
 ??? Probably should have figured that out. Thanks for your help, I have converted my CLI Minesweeper program to a GUI.
Title: Re: SFML custom make issues
Post by: Laurent on July 03, 2017, 07:55:41 am
Quote
Probably should have figured that out
Yes, since it's explained in the tutorial ;)