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

compile error #12

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 3 comments
Open

compile error #12

GoogleCodeExporter opened this issue Mar 13, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

I get the following error while trying to compile postprocessing

g++ -O3  -DUseSPG -I/opt/clapack/3.2.1/include -I/opt/tricubic/1.0/include 
-I/opt/spglib/0.7.1/include -c phonon.cpp
phonon.cpp:8:20: error: spglib.h: No such file or directory
phonon.cpp: In member function ‘void Phonon::QMesh()’:
phonon.cpp:939: error: ‘spg_get_ir_reciprocal_mesh’ was not declared in 
this scope
make: *** [phonon.o] Error 1

Could you please help..!

Thanks,


Original issue reported on code.google.com by [email protected] on 5 Apr 2013 at 11:35

@GoogleCodeExporter
Copy link
Author

Please make sure that the spglib was installed successfully and the header 
files locate in /opt/spglib/0.7.1/include.

Original comment by [email protected] on 5 Apr 2013 at 12:34

@GoogleCodeExporter
Copy link
Author

Thank you. Now I get the following error:

g++ -static -O3  dynmat.o green.o interpolate.o main.o memory.o phonon.o 
timer.o -L/opt/clapack/3.2.1/lib -lclapack -lblas -lf2c  
-L/opt/tricubic/1.0/lib -ltricubic -L/opt/spglib/1.3.1/lib -lsymspg -o phana
ld: library not found for -lcrt0.o

could you please help...!
thanks,

Original comment by [email protected] on 5 Apr 2013 at 8:55

@GoogleCodeExporter
Copy link
Author

Please check:
http://code.google.com/p/fix-phonon/issues/detail?id=7

Original comment by [email protected] on 6 Apr 2013 at 2:09

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