diff options
| author | Peter0x44 <[email protected]> | 2024-02-26 09:25:47 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-26 10:25:47 +0100 |
| commit | b86f78f6b179dc374458680f8b192558a1e4a3c6 (patch) | |
| tree | c90bc41b4d2124d841cf80b2e160ad8b7973c2db /FAQ.md | |
| parent | c588a291e61586c5b74e230919b490aab18d8290 (diff) | |
| download | raylib-b86f78f6b179dc374458680f8b192558a1e4a3c6.tar.gz raylib-b86f78f6b179dc374458680f8b192558a1e4a3c6.zip | |
Fix examples linking with CMake and -DPLATFORM=SDL (#3825)
Currently, every example fails linking likeso:
[ 3%] Linking C executable audio_mixed_processor
/usr/bin/ld: ../raylib/libraylib.a(raudio.c.o): undefined reference to symbol 'exp@@GLIBC_2.29'
/usr/bin/ld: /usr/lib/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Apparently, linking libm explicitly is the solution.
Diffstat (limited to 'FAQ.md')
0 files changed, 0 insertions, 0 deletions
