Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » [Closed]SDLSoundDemo linking error
[Closed]SDLSoundDemo linking error [message #52989] Thu, 30 January 2020 04:11 Go to next message
bozero is currently offline  bozero
Messages: 20
Registered: June 2018
Promising Member
Hi, I tried the SDLSoundDemo and encountered linking error.

----- SDLSoundDemo ( GUI MAIN GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (11 / 11)
main.cpp
plugin/z: 11 file(s) built in (0:02.56), 233 msecs / file, duration = 2567 msecs
plugin/png: 3 file(s) built in (0:05.31), 1773 msecs / file, duration = 5319 msecs
Core: 67 file(s) built in (0:26.93), 401 msecs / file, duration = 26930 msecs
SDLSoundDemo: 1 file(s) built in (0:06.40), 6400 msecs / file, duration = 6400 msecs
Linking...
lld: error: unable to find library -lSDL2
collect2.exe: error: ld returned 1 exit status

Please advise how to fix it or what lib missing with it.
Thank you very much.
My case is win10 + up-mingw-13664.

[Updated on: Sat, 01 February 2020 11:52]

Report message to a moderator

Re: SDLSoundDemo linking error [message #52994 is a reply to message #52989] Fri, 31 January 2020 17:24 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14162
Registered: November 2005
Ultimate Member
This depends on SDL2, which at the moment does not seem to work with mingw.

Mirek
Re: SDLSoundDemo linking error [message #52997 is a reply to message #52989] Sat, 01 February 2020 11:50 Go to previous messageGo to next message
bozero is currently offline  bozero
Messages: 20
Registered: June 2018
Promising Member
Sorry to know that SDL2 is not work with mingw.
Thank you for your advice.
Re: SDLSoundDemo linking error [message #53066 is a reply to message #52997] Tue, 18 February 2020 23:41 Go to previous message
mirek is currently offline  mirek
Messages: 14162
Registered: November 2005
Ultimate Member
I have actually looked into it and managed to fix it. All should work with next nightly.
Previous Topic: Apps are crashing on Windows Shutdown
Next Topic: [Solved]CoreTutoral package problem
Goto Forum:
  


Current Time: Fri Dec 13 21:49:55 CET 2024

Total time taken to generate the page: 0.04017 seconds