帮我安装一下nurbs++-3.0.11.zip吧
发表于 : 2012-02-24 15:45
我把它解压出来,然偶cd到解压后的文件夹,然后执行./configure,这一步没问题,下面是一些提示:
The package has now been configured. Type
make
make install
To generate and install the NURBS++ package.
The library will be installed in ${exec_prefix}/lib
The header files will be installed in ${prefix}/include/nurbs++
下一步make就提示了一些错误,我没管因为我也看不懂,具体错误提示如下:
shao@shao-laptop:~/Downloads/nurbs++-3.0.11$ make
Making all in include
make[1]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make all-am
make[2]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make[2]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make[1]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
Making all in matrix
make[1]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/matrix'
source='cvector.cpp' object='cvector.lo' libtool=yes \
depfile='.deps/cvector.Plo' tmpdepfile='.deps/cvector.TPlo' \
depmode=gcc3 /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -fno-implicit-templates -c -o cvector.lo `test -f 'cvector.cpp' || echo './'`cvector.cpp
rm -f .libs/cvector.lo
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -fno-implicit-templates -c cvector.cpp -MT cvector.lo -MD -MP -MF .deps/cvector.TPlo -fPIC -DPIC -o .libs/cvector.lo
In file included from cvector.h:31,
from cvector.cpp:27:
vector.h: In member function 'int PLib::Vector<T>::rows() const':
vector.h:72: error: 'sze' was not declared in this scope
In file included from cvector.cpp:27:
cvector.h: In member function 'T& PLib::CVector<T>::operator[](int)':
cvector.h:57: error: 'x' was not declared in this scope
cvector.h:57: error: 'sze' was not declared in this scope
cvector.h: In member function 'T PLib::CVector<T>::operator[](int) const':
cvector.h:58: error: 'x' was not declared in this scope
cvector.h:58: error: 'sze' was not declared in this scope
cvector.h: In member function 'void PLib::CVector<T>::put(T)':
cvector.h:60: error: 'x' was not declared in this scope
cvector.h:60: error: 'sze' was not declared in this scope
make[1]: *** [cvector.lo] 错误 1
make[1]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/matrix'
make: *** [all-recursive] 错误 1
之后再sudo make install又提示错误,最终也没装成,错误提示如下:
shao@shao-laptop:~/Downloads/nurbs++-3.0.11$ sudo make install
[sudo] password for shao:
Making install in include
make[1]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make[2]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make[2]: 没有什么可以做的为 `install-exec-am'。
/bin/bash ../mkinstalldirs /usr/local/include/nurbs++
/usr/bin/install -c -m 644 plib_config.h /usr/local/include/nurbs++/plib_config.h
/usr/bin/install -c -m 644 plib.h /usr/local/include/nurbs++/plib.h
make[2]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make[1]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
Making install in matrix
make[1]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/matrix'
source='cvector.cpp' object='cvector.lo' libtool=yes \
depfile='.deps/cvector.Plo' tmpdepfile='.deps/cvector.TPlo' \
depmode=gcc3 /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -fno-implicit-templates -c -o cvector.lo `test -f 'cvector.cpp' || echo './'`cvector.cpp
rm -f .libs/cvector.lo
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -fno-implicit-templates -c cvector.cpp -MT cvector.lo -MD -MP -MF .deps/cvector.TPlo -fPIC -DPIC -o .libs/cvector.lo
In file included from cvector.h:31,
from cvector.cpp:27:
vector.h: In member function 'int PLib::Vector<T>::rows() const':
vector.h:72: error: 'sze' was not declared in this scope
In file included from cvector.cpp:27:
cvector.h: In member function 'T& PLib::CVector<T>::operator[](int)':
cvector.h:57: error: 'x' was not declared in this scope
cvector.h:57: error: 'sze' was not declared in this scope
cvector.h: In member function 'T PLib::CVector<T>::operator[](int) const':
cvector.h:58: error: 'x' was not declared in this scope
cvector.h:58: error: 'sze' was not declared in this scope
cvector.h: In member function 'void PLib::CVector<T>::put(T)':
cvector.h:60: error: 'x' was not declared in this scope
cvector.h:60: error: 'sze' was not declared in this scope
make[1]: *** [cvector.lo] 错误 1
make[1]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/matrix'
make: *** [install-recursive] 错误 1
我的系统是Ubuntu10.04,希望懂编程的人帮我看看,因为我想安装一个开源的软件,它需要安装PythonNURBS0.3,
而PythonNURBS0.3又依赖swig和nurbs++-3.0.11,swig我已经装了,就剩这个了,我把这个库文件也放上,希望大家
能帮我解决以下,十分感谢!
The package has now been configured. Type
make
make install
To generate and install the NURBS++ package.
The library will be installed in ${exec_prefix}/lib
The header files will be installed in ${prefix}/include/nurbs++
下一步make就提示了一些错误,我没管因为我也看不懂,具体错误提示如下:
shao@shao-laptop:~/Downloads/nurbs++-3.0.11$ make
Making all in include
make[1]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make all-am
make[2]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make[2]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make[1]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
Making all in matrix
make[1]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/matrix'
source='cvector.cpp' object='cvector.lo' libtool=yes \
depfile='.deps/cvector.Plo' tmpdepfile='.deps/cvector.TPlo' \
depmode=gcc3 /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -fno-implicit-templates -c -o cvector.lo `test -f 'cvector.cpp' || echo './'`cvector.cpp
rm -f .libs/cvector.lo
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -fno-implicit-templates -c cvector.cpp -MT cvector.lo -MD -MP -MF .deps/cvector.TPlo -fPIC -DPIC -o .libs/cvector.lo
In file included from cvector.h:31,
from cvector.cpp:27:
vector.h: In member function 'int PLib::Vector<T>::rows() const':
vector.h:72: error: 'sze' was not declared in this scope
In file included from cvector.cpp:27:
cvector.h: In member function 'T& PLib::CVector<T>::operator[](int)':
cvector.h:57: error: 'x' was not declared in this scope
cvector.h:57: error: 'sze' was not declared in this scope
cvector.h: In member function 'T PLib::CVector<T>::operator[](int) const':
cvector.h:58: error: 'x' was not declared in this scope
cvector.h:58: error: 'sze' was not declared in this scope
cvector.h: In member function 'void PLib::CVector<T>::put(T)':
cvector.h:60: error: 'x' was not declared in this scope
cvector.h:60: error: 'sze' was not declared in this scope
make[1]: *** [cvector.lo] 错误 1
make[1]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/matrix'
make: *** [all-recursive] 错误 1
之后再sudo make install又提示错误,最终也没装成,错误提示如下:
shao@shao-laptop:~/Downloads/nurbs++-3.0.11$ sudo make install
[sudo] password for shao:
Making install in include
make[1]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make[2]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make[2]: 没有什么可以做的为 `install-exec-am'。
/bin/bash ../mkinstalldirs /usr/local/include/nurbs++
/usr/bin/install -c -m 644 plib_config.h /usr/local/include/nurbs++/plib_config.h
/usr/bin/install -c -m 644 plib.h /usr/local/include/nurbs++/plib.h
make[2]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make[1]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
Making install in matrix
make[1]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/matrix'
source='cvector.cpp' object='cvector.lo' libtool=yes \
depfile='.deps/cvector.Plo' tmpdepfile='.deps/cvector.TPlo' \
depmode=gcc3 /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -fno-implicit-templates -c -o cvector.lo `test -f 'cvector.cpp' || echo './'`cvector.cpp
rm -f .libs/cvector.lo
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -fno-implicit-templates -c cvector.cpp -MT cvector.lo -MD -MP -MF .deps/cvector.TPlo -fPIC -DPIC -o .libs/cvector.lo
In file included from cvector.h:31,
from cvector.cpp:27:
vector.h: In member function 'int PLib::Vector<T>::rows() const':
vector.h:72: error: 'sze' was not declared in this scope
In file included from cvector.cpp:27:
cvector.h: In member function 'T& PLib::CVector<T>::operator[](int)':
cvector.h:57: error: 'x' was not declared in this scope
cvector.h:57: error: 'sze' was not declared in this scope
cvector.h: In member function 'T PLib::CVector<T>::operator[](int) const':
cvector.h:58: error: 'x' was not declared in this scope
cvector.h:58: error: 'sze' was not declared in this scope
cvector.h: In member function 'void PLib::CVector<T>::put(T)':
cvector.h:60: error: 'x' was not declared in this scope
cvector.h:60: error: 'sze' was not declared in this scope
make[1]: *** [cvector.lo] 错误 1
make[1]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/matrix'
make: *** [install-recursive] 错误 1
我的系统是Ubuntu10.04,希望懂编程的人帮我看看,因为我想安装一个开源的软件,它需要安装PythonNURBS0.3,
而PythonNURBS0.3又依赖swig和nurbs++-3.0.11,swig我已经装了,就剩这个了,我把这个库文件也放上,希望大家
能帮我解决以下,十分感谢!