Home » Community » Newbie corner » link libraries missing on link command ( no -l ) (can't get libraries to be linked. No -l option on command line)
Re: link libraries missing on link command ( no -l ) [message #59527 is a reply to message #59441] |
Tue, 17 January 2023 11:30 |
jjacksonRIAB
Messages: 221 Registered: June 2011
|
Experienced Member |
|
|
polydev wrote on Tue, 27 December 2022 13:59I am trying to build a simple SFML example.
I have added sfml-window-s, sfml-main, sfml-graphics-s under project/Package Organizer ( tried with and without a when option )
Did you add them as "Libraries" or as "Static Libraries"? Also keep in mind that linker order is relevant so make sure you're linking your libs in the correct order or symbols may not be found.
sfml-audio, sfml-graphics, sfml-window, sfml-system.
SFML documentation also says you must define SFML_STATIC if you're using the static version.
Those __declspec(dllimport) sections suggest you may not have that defined but I'm not sure. You'll have to look at your SFML documentation.
|
|
|
Goto Forum:
Current Time: Sun May 12 09:07:43 CEST 2024
Total time taken to generate the page: 0.02094 seconds
|