openscenegraph-cross-platform-guide icon indicating copy to clipboard operation
openscenegraph-cross-platform-guide copied to clipboard

compile error when "make" the osgExample

Open For-thewin opened this issue 5 years ago • 5 comments

when using "mingw32-make" in Windows system, i meet a problem which is "wasm-ld: error unable to find library -lnul". So is there some problem when i install emscripten. But i can compile a simple .c file like "Hello World".

For-thewin avatar Nov 13 '19 11:11 For-thewin

Could you please specify which step of the guide produces this error?

kornerr avatar Nov 14 '19 07:11 kornerr

Hi. I met this error too.I use ubuntu 16.04, i follow the guide and when i run "make -j8" after cmake.I can compile a simple.c file like "hello world" too.when i look up the cmakecache.txt file in the build directory, there are many nul like this:

//Dependencies for the target osg_LIB_DEPENDS:STATIC=general;OpenThreads;general;nul;general;GL;

yejun81 avatar Dec 25 '19 14:12 yejun81

@yejun81 , could you please tell me which step of the guide it is?

kornerr avatar Dec 28 '19 09:12 kornerr

@yejun81 , could you please tell me which step of the guide it is? This step: 1.10.8. Build application When i run make -j8, i got "wasm-ld: error unable to find library -lnul" this error

yejun81 avatar Dec 28 '19 13:12 yejun81

@yejun81, I'll have a look at the issue this month. Emscripten people change their tool chain from time to time, so things might need a bit of tweaking.

kornerr avatar Jan 03 '20 12:01 kornerr