Follow on Twitter
Share on Facebook
Share on Facebook

Forum for M.A.R.S.

Important: Due to some problems, it’s currently difficult to create an account for this forum. If you want to have one, please send us ( your desired user name and we’ll create an account for you. Sorry for this inconvenience!


Welcome Guest, posting in this forum requires registration.

Pages: [1]
Topic: Library linking order
Posts: 5
Library linking order
on: May 26, 2011, 19:41

For gcc and MinGW the order how you link the SFML libraries is important:

Index: CMakeLists.txt
--- CMakeLists.txt	(Revision 200)
+++ CMakeLists.txt	(Arbeitskopie)
@@ -29,7 +29,7 @@

 # find the sfml2 headers and library
-find_package(SFML REQUIRED graphics system audio window)
+find_package(SFML REQUIRED audio graphics window system)

 # Foundation library needed for apple
Posts: 35
Re: Library linking order
on: May 29, 2011, 15:31

Thanks for the report! has been fixed in SVN!

Developing M.A.R.S…. just for fun :D

Pages: [1]
WP Forum Server by VastHTML | LucidCrew
Version: 1.6.1 ; Page loaded in: 0.014 seconds.

Powered by WordPress, © 2010-2011 by Simon Schneegans and Felix Lauer (IMPRESSUM). Hosted on Sourceforge.