#48 Missing link with -lpthread (building with CMake)

closed-fixed
Game Core (14)
5
2010-09-23
2010-08-31
No

When building with CMake, everything works fine until the end:

Linking CXX executable sumwars
/usr/bin/ld: CMakeFiles/sumwars.dir/src/core/document.o: in function Document::writeSavegame():/home/mafm/prj/sumwars/svn-trunk/src/core/document.cpp:1732: error: undefined reference to 'pthread_create'

Discussion

  • Manuel A. Fernandez Montecelo

    • status: open --> open-fixed
     
  • Manuel A. Fernandez Montecelo

    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks