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

Author Topic: SFML custom make issues  (Read 2257 times)

0 Members and 1 Guest are viewing this topic.

James A

  • Newbie
  • *
  • Posts: 9
    • View Profile
SFML custom make issues
« 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?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML custom make issues
« Reply #1 on: June 29, 2017, 12:53:05 pm »
make install
Laurent Gomila - SFML developer

James A

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: SFML custom make issues
« Reply #2 on: June 30, 2017, 12:17:50 am »
Make install did not work.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML custom make issues
« Reply #3 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 ;)
Laurent Gomila - SFML developer

James A

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: SFML custom make issues
« Reply #4 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML custom make issues
« Reply #5 on: July 01, 2017, 07:36:24 pm »
Can you show the contents of the directory where you installed SFML?
Laurent Gomila - SFML developer

James A

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: SFML custom make issues
« Reply #6 on: July 02, 2017, 12:57:15 am »
CMakeFiles
doc
examples
lib
src
tools
CMakeCache.txt
cmake_install.cmake
Makefile
SFML.cbp
SFML.layout

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML custom make issues
« Reply #7 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.
Laurent Gomila - SFML developer

James A

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: SFML custom make issues
« Reply #8 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML custom make issues
« Reply #9 on: July 03, 2017, 07:55:41 am »
Quote
Probably should have figured that out
Yes, since it's explained in the tutorial ;)
Laurent Gomila - SFML developer