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 - Naufr4g0

Pages: 1 ... 4 5 [6] 7 8
76
SFML projects / SFGUI
« on: November 02, 2011, 11:35:31 am »
Quote from: "Tank"
Very good! What helped you in solving your issues? (so that we can adjust the FAQ if others run into the same problems)


I solved with the following CMake settings:

SFML 2.0


and unchecked BUILD_SHARED_LIBS.

SFGUI


and additionally I set this variable, as suggested by binary1248:

Code: [Select]
Name: CMAKE_MODULE_PATH
Type: PATH
Value: {SFML root directory}\cmake\Modules (The directory where FindSFML.cmake is.)

77
SFML projects / SFGUI
« on: November 01, 2011, 11:08:12 pm »
I finally managed to make SFGUI to work.
I have successfully started the test project on VS2010. :)

78
SFML projects / SFGUI
« on: November 01, 2011, 05:51:30 pm »
I solved CMake-related issue with SFGUI, but now I have some VS2010-related issues.. :/

Code: [Select]

error C2059: syntax error: '__declspec(dllexport)' C:\libs\SFGUI\include\SFGUI\Engine.hpp 15 1 sfgui


Incriminated lines are this (from Engine.hpp):

Code: [Select]

namespace sf {
std::ostream& SFGUI_API operator<<( std::ostream& stream, const Color& color );
std::istream& SFGUI_API operator>>( std::istream& stream, Color& color );
}

79
General discussions / Compiling static sfml 2 issue
« on: November 01, 2011, 05:10:11 pm »
SOLVED

I had to set BUILD_SHARED_LIBS value to false in CMake.

80
General discussions / Compiling static sfml 2 issue
« on: November 01, 2011, 04:32:00 pm »
I'm trying to compile SFML 2.0 for statically use on my projects.
When I obtain SFML Visual Studio solution from CMake, I compile ALL_BUILD project with Debug and Release configurations.
But I can't get the static versions of the lib files sfml-graphics-s.lib, sfml-system-s.lib...
How can I do to solve this issue?

81
SFML projects / SFGUI
« on: October 31, 2011, 09:30:01 pm »
Quote from: "binary1248"

"CMake Error at {SFML root directory}/cmake/Modules/FindSFML.cmake ..." is an expected error message after step 9. Proceed with step 10.

If you check the Advanced box as per step 6. you should see the entries you have to modify in step 10.


THANKS VEEEERYYYYYY MUCH!
I put all paths manually and I finally made it! :)
Now I can compile! :)

82
SFML projects / SFGUI
« on: October 31, 2011, 07:30:24 pm »
Quote from: "Tank"
Did you try setting SFMLDIR to "C:/sfml/sfml2/"?

I already tried it, but it doesn't work. :/

Quote from: "asdatapel"
god i hate cmake. Is it possible for you to just put up the compiled binaries, like on the download page for sfml?


I'm interested too. I use Visual Studio 2010. :)

83
SFML projects / SFGUI
« on: October 31, 2011, 02:41:16 pm »
Thanks for the tutorial Binary! Very well done! :)
Unfortunately I've another error.
CMake can't still find the SFML library. :(



Quote from: "keyforge"
Thanks, binary! I got it working. I'm not very experienced with CMake and that was a good tutorial (the most I've done is compiled SFML 2!).


Did you modified some cmake file to make it working?

84
SFML projects / SFGUI
« on: October 30, 2011, 09:37:50 pm »
Quote from: "Tank"
The paths must be set to the root directories of the libraries respectively.

E.g. if you've installed SFML to C:\SFML\, set it to that directory. Same for Boost. For Boost you only need the include directory, since SFGUI doesn't use any compiled libraries.


Still doesn't work. I'm sure I put the correct folder paths.
May perhaps be because I use the gui version of cmake?

85
SFML projects / SFGUI
« on: October 30, 2011, 08:46:20 pm »
Quote from: "Tank"
Set SFMLDIR to your SFML directory and BOOST_ROOT to your Boost directory (pay attention at the error messages the search modules give, they normally tell you what variables can be set to use custom search paths).


I tried a lot of combinations, but CMake says me it can't found the libraries!
What files CMake expects to find in SFML and BOOST DIR? .cmake files or .h and .cpp?
Forgive my ignorance on CMake. :'D

86
SFML projects / SFGUI
« on: October 30, 2011, 07:46:10 pm »
I'd like to try SFGUI for a project, but I can''t compile the library.
The issue is CMake-related, cause it can't found SFML_dir and Boost_dir.
How can I manually add the libraries paths in cmake?
Thanks in advance. :)

87
SFML projects / sfMod 1.0 - Play module files in SFML
« on: October 29, 2011, 01:52:49 pm »
Very useful! I have been looking for this library for so long...

88
SFML projects / Yellow Snake - w/Source (Updated 10/21)
« on: October 25, 2011, 11:17:34 am »
Quote from: "easy"
I've played your game yesterday, nice work! Especially because you're using c++ for just about a month, and you've already came up with a game, and also because the source is not a sphagetti code what I've expected. Congratulations! :)


What have you against the Italian coders? :'D
I don't think that outside Italy there are only good programmers.

89
SFML projects / Airport
« on: October 23, 2011, 05:07:35 pm »


63 at hard! :)

90
SFML projects / Airport
« on: October 20, 2011, 08:22:00 pm »
Quote from: "sbroadfoot90"
Quote from: "Naufr4g0"
I also think that the game is very fun and original!


Maybe not as original as you think have you seen this?

Been playing it for a few years now


I never played Flight Control, so I didn't know the gameplay. :)
Anyway I'm happy to try Airport with mouse control. I haven't got an iPhone!

Pages: 1 ... 4 5 [6] 7 8
anything