NKXLAB / delfem

Automatically exported from code.google.com/p/delfem
1 stars 0 forks source link

Linux compilation problem #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. enter the source directory
2. make

the compiler said it cannot find 'delfem/FemLs/linearsystem_field.h'. this is 
because on Linux names are case-sensitive so I changed the 'include' line to 
refer to 'delfem/femls/linearsystem_field.h' and the compiler coold proceed 
normally. However, the linker failed to link to the lib 'libdfm.a'. as it 
complained :

designer2d_cloth.cpp:(.text+0x83f8): undefined reference to 
`Cad::CCadObj2D::RemoveElement(Cad::CAD_ELEM_TYPE, unsigned int)'
designer2d_cloth.cpp:(.text+0x844e): undefined reference to 
`Cad::CCadObj2D::RemoveElement(Cad::CAD_ELEM_TYPE, unsigned int)'
designer2d_cloth.cpp:(.text+0x84ae): undefined reference to 
`Cad::CCadObj2D::RemoveElement(Cad::CAD_ELEM_TYPE, unsigned int)'

What should I do to resolve this problem?

Original issue reported on code.google.com by quochuy....@gmail.com on 2 Nov 2013 at 9:49

GoogleCodeExporter commented 8 years ago
Problem solved!

I need to clean the lib directory in delfem first, then recompile the whole 
thing.

Original comment by quochuy....@gmail.com on 2 Nov 2013 at 10:00