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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - firefly2442

Pages: 1 [2]
16
SFML website / Re: SFML 2 RC Mac getting started tutorial
« on: December 07, 2012, 04:58:18 am »
Have you tried using CMake?  This may be better at setting the location of the header files and generating a solution.

17
SFML website / Re: Slow and aborted loading of forum pages
« on: November 11, 2012, 05:27:05 am »
Chromium on Linux.  Same issue here.  Perhaps it's latency with where the server is located?

18
General / Re: How do i make an installer for my sfml 2.0 game?
« on: November 07, 2012, 04:30:43 am »
NSIS also is useful.

http://nsis.sourceforge.net/

19
SFML projects / Re: SFGUI
« on: November 04, 2012, 06:55:19 pm »
Fixed it.  There's a bug in FindSFGUI.cmake.  The variable SFGUI_FOUND is set to false at the beginning but never toggled to true.  I posted a bug in the tracker.

20
SFML projects / Re: SFGUI
« on: November 04, 2012, 04:21:28 am »
I'm getting the following error when adding the necessary include file in my project:

Code: [Select]
fatal error: SFGUI/SFGUI.hpp: No such file or directory
The relevant section in my CMake file for SFGUI is:

Code: [Select]
find_package(SFGUI REQUIRED)
if(SFGUI_FOUND)
  include_directories(${SFGUI_INCLUDE_DIR})
  target_link_libraries(${EXECUTABLE_NAME} ${SFGUI_LIBRARY})
endif()

I was under the impression that the include_directories adds these directories so that the generated solution can identify directories to search in order to find the necessary includes.  I'm guessing it's something simple but... any ideas?

Thanks. :)

21
SFML wiki / Re: Tutorial CMake
« on: November 01, 2012, 02:42:55 am »
I updated this tutorial for SFML version 2.  I updated the example code that was used, changed CMake so it looks for version 2.X, and added some notes about specifying the library and include directories if CMake cannot find them (if they're not installed to a standard place for  example).  I think I tested almost everything but if you find something, please correct it. :)

22
Feature requests / Re: Create Launchers for Examples Using CMake
« on: October 25, 2012, 04:10:41 pm »
Yeah, I guess compiling statically makes this pointless.  I would rather not put the /lib/ path into my PATH variable because that doesn't seem like a good solution long term.  See here:

http://linuxmafia.com/faq/Admin/ld-lib-path.html

I found the static compile checkbox in CMake and used that (awesome) so everything seems to work.  Cheers. :)

23
Feature requests / Create Launchers for Examples Using CMake
« on: October 25, 2012, 04:55:53 am »
I'm not sure if this is possible but it would be great if there was a checkbox option in CMake to create launchers for the examples based on the platform that is being used.  For example, under Windows it would create a batch file that sets the appropriate PATH for the libraries that are needed.  Under Linux, maybe it's a BASH script that appends the LD_LIBRARY_PATH for the library.

Thoughts?

Pages: 1 [2]