aerys / minko

3D framework for web, desktop and mobile devices.
http://minko.io
Other
906 stars 210 forks source link

[minko-tutorial-01-hello-cube] build fails #199

Closed mjsolidarios closed 9 years ago

mjsolidarios commented 9 years ago

Tutorial build fails when I'm attempting to make it in linux. I'm using Ubuntu 14.10.

Here are the details for the error.

make config=release config=linux64_release
==== Building minko-framework (linux64_release) ====
==== Building minko-plugin-sdl (linux64_release) ====
==== Building minko-tutorial-01-hello-cube (linux64_release) ====
Running pre-link commands
test -e /home/user01/Apps/minko/framework/asset && cp -R /home/user01/Apps/minko/framework/asset "bin/linux64/release" || :
test -e asset && cp -R asset "bin/linux64/release" || :
Linking minko-tutorial-01-hello-cube
+ g++ -o bin/linux64/release/minko-tutorial-01-hello-cube obj/linux64/release/main.o -s -m64 -L/usr/lib64 -L../../framework/bin/linux64/release -Wl,--no-as-needed -Wl,--start-group ../../framework/bin/linux64/release/libminko-framework.a ../../plugin/sdl/bin/linux64/release/libminko-plugin-sdl.a -lGL -lm -lSDL2 -Wl,--end-group
/usr/bin/ld: ../../framework/bin/linux64/release/libminko-framework.a(Worker.o): undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:153: recipe for target 'bin/linux64/release/minko-tutorial-01-hello-cube' failed
make[1]: *** [bin/linux64/release/minko-tutorial-01-hello-cube] Error 1
Makefile:338: recipe for target 'minko-tutorial-01-hello-cube' failed
make: *** [minko-tutorial-01-hello-cube] Error 2
warrenseine commented 9 years ago

Actually, there was a pull request about it: https://github.com/aerys/minko/pull/187.

It's been merged today. Please re-open if not fixed.