Hello,

I'm a newbie on emscripten. I try to run this program on this source 
code: https://github.com/phuong3030/lg

This main program use the DelFEM library on /DelFEM folder.
- I tried to change the makefile on /DelFEM from g++ to em++ and change the 
libdfm.a to libdfm.bc.
- Then i run this command on main directory: em++ --bind -s 
LEGACY_GL_EMULATION=1 -s USE_SDL=2 -lglut -lGL -lGLU -ldfm 
-I./DelFEM/include ./DelFEM/lib/libdfm.bc main.cpp 
analysis2d_cloth_static.cpp contact_target_mesh.cpp contact_target_adf.cpp 
cloth_handler.cpp designer2d_cloth.cpp emat_quad_bend.cpp eqn_quad_bend.cpp 
eqn_glue.cpp eqn_contact3d.cpp emat_glue.cpp emat_cst.cpp emat_cst.cpp -o 
main.js

The terminal showed me some warnings:
warning: unresolved symbol: glutBitmapCharacter
warning: unresolved symbol: _Z11InterpFieldjjjjRN3Fem5Field11CFieldWorldE
warning: unresolved symbol: _ZNK3Fem5Field8CElemAry15MakeElemSurElemERKjPi
warning: unresolved symbol: 
_ZN3Msh14CMesher2D_Edit32FitMeshToCad_Slider_UsingPrecompERKN3Cad9CCadObj2DERjd
warning: unresolved symbol: glutSetWindow

Can anyone explain to me understand what is going on? Thank you a lot!

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to