Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux compilation problem #2

Open
GoogleCodeExporter opened this issue Aug 6, 2015 · 1 comment
Open

Linux compilation problem #2

GoogleCodeExporter opened this issue Aug 6, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 2 Nov 2013 at 9:49

@GoogleCodeExporter
Copy link
Author

Problem solved!

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

Original comment by [email protected] on 2 Nov 2013 at 10:00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant