Python-Meep cannot be installed due to g++ failure
Hi,
I tried to install python-meep 1.4.2 in my Ubuntu 12.04. I followed the process given in http://
q@ubuntu2:
[sudo] password for qxd:
Directories for SWIG -I option : ['/usr/
Directories for -L option : ['/usr/local/lib']
running clean
removing 'build/
removing 'build/
'build/
'build/scripts-2.7' does not exist -- can't clean it
removing 'build'
Directories for SWIG -I option : ['/usr/
Directories for -L option : ['/usr/local/lib']
running build_ext
building '_meep' extension
swigging meep.i to meep_wrap.cpp
swig -python -c++ -w503,389,
creating build
creating build/temp.
gcc -pthread -fno-strict-
cc1plus: warning: command line option ‘-Wstrict-
meep_wrap.cpp: In function ‘PyObject* _wrap_iveccyl(
meep_wrap.
meep_wrap.
creating build/lib.
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-
/usr/bin/ld: cannot find -lmeep
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
Directories for SWIG -I option : ['/usr/
Directories for -L option : ['/usr/local/lib']
running install
running build
running build_py
copying meep.py -> build/lib.
running build_ext
building '_meep' extension
swigging meep.i to meep_wrap.cpp
swig -python -c++ -w503,389,
gcc -pthread -fno-strict-
cc1plus: warning: command line option ‘-Wstrict-
meep_wrap.cpp: In function ‘PyObject* _wrap_iveccyl(
meep_wrap.
meep_wrap.
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-
/usr/bin/ld: cannot find -lmeep
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
Directories for SWIG -I option : ['/usr/
Directories for -L option : ['/usr/local/lib']
running bdist
running bdist_dumb
running build
running build_py
copying meep.py -> build/lib.
running build_ext
building '_meep' extension
swigging meep.i to meep_wrap.cpp
swig -python -c++ -w503,389,
gcc -pthread -fno-strict-
cc1plus: warning: command line option ‘-Wstrict-
meep_wrap.cpp: In function ‘PyObject* _wrap_iveccyl(
meep_wrap.
meep_wrap.
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-
/usr/bin/ld: cannot find -lmeep
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
Any way to fix it? Thanks.
Cordially,
Qi
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu meep Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- i2000s
- Solved:
- Last query:
- Last reply: