Sziasztok.
Gondoltam felrakom a régi kis programomat magamnak ismét, mert ráérek foglalkozni vele.
Ekkor történt a baj.
Csomagból megkíséreltem, de gondoltam nem oknyomozok a kudarc után, forráskód következett.
gmake, majd make. hiányzó dolgok leszedése, tulajdonképpen egy teljes lineáris algebrai modulka.
Az eredményt egyelőre képtelen vagyok feldolgozni:
root[openscad-2013.01]# qmake
root[openscad-2013.01]# make
g++ -c -pipe -fno-strict-aliasing -frounding-math -DEIGEN_DONT_ALIGN -O2 -march=i486 -mtune=i686 -D_REENTRANT -Wall -W -DOPENSCAD_VERSION=2013.06.17 -DOPENSCAD_YEAR=2013.0 -DOPENSCAD_MONTH=06.0 -DOPENSCAD_DAY=17.0 -DDEBUG -DUSE_PROGRESSWIDGET -DENABLE_CGAL -DENABLE_OPENCSG -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt-4.7.0_7abde40/mkspecs/linux-g++ -I. -I../../include/eigen2 -I/usr/lib/qt-4.7.0_7abde40/include/QtCore -I/usr/lib/qt-4.7.0_7abde40/include/QtGui -I/usr/lib/qt-4.7.0_7abde40/include/QtOpenGL -I/usr/lib/qt-4.7.0_7abde40/include -Isrc -I../../include -Iobjects -Iobjects -o objects/linalg.o src/linalg.cc
In file included from src/linalg.cc:1:0:
src/linalg.h:6:23: fatal error: Eigen/Dense: No such file or directory
compilation terminated.
make: *** [objects/linalg.o] Error 1
root[openscad-2013.01]# slapt-get -i lapack-3.3.0-i486-1gv
Reading Package Lists...Done
The following NEW packages will be installed:
lapack
0 upgraded, 0 reinstalled, 1 newly installed, 0 to remove, 0 not upgraded.
Need to get 0.0kB/2.6MB of archives.
After unpacking 10.6MB of additional disk space will be used.
Preparing to install lapack-3.3.0-i486-1gv
Installing package lapack-3.3.0-i486-1gv...
WARNING: Directory already exists *behind the symlink* on filesystem. This may break upgrade/remove if you change that symlink in the future. (usr/src)
WARNING: Directory already exists *behind the symlink* on filesystem. This may break upgrade/remove if you change that symlink in the future. (usr/doc)
| lapack (Linear Algebra PACKage)
|
| LAPACK provides routines for solving systems of simultaneous linear
| equations, least-squares solutions of linear systems of equations,
| eigenvalue problems, and singular value problems. This package
| provides LAPACK and BLAS static and shared libraries.
|
|
|
|
|
|
|
Done
root[openscad-2013.01]# make
g++ -c -pipe -fno-strict-aliasing -frounding-math -DEIGEN_DONT_ALIGN -O2 -march=i486 -mtune=i686 -D_REENTRANT -Wall -W -DOPENSCAD_VERSION=2013.06.17 -DOPENSCAD_YEAR=2013.0 -DOPENSCAD_MONTH=06.0 -DOPENSCAD_DAY=17.0 -DDEBUG -DUSE_PROGRESSWIDGET -DENABLE_CGAL -DENABLE_OPENCSG -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt-4.7.0_7abde40/mkspecs/linux-g++ -I. -I../../include/eigen2 -I/usr/lib/qt-4.7.0_7abde40/include/QtCore -I/usr/lib/qt-4.7.0_7abde40/include/QtGui -I/usr/lib/qt-4.7.0_7abde40/include/QtOpenGL -I/usr/lib/qt-4.7.0_7abde40/include -Isrc -I../../include -Iobjects -Iobjects -o objects/linalg.o src/linalg.cc
In file included from src/linalg.cc:1:0:
src/linalg.h:6:23: fatal error: Eigen/Dense: No such file or directory
compilation terminated.
make: *** [objects/linalg.o] Error 1
root[openscad-2013.01]# slapt-get -search lapack-3.3.0-i486-1gv
root[openscad-2013.01]# slapt-get -search Eigen
eigen2-2.0.10-i486-1 [inst=yes]: Eigen2 (c++ math library)
lapack-3.3.0-i486-1gv [inst=yes]: lapack (Linear Algebra PACKage)
root[openscad-2013.01]#
..tehát slaptoltam a linalgokat, hiba mégis van?
src/linalg.h:6:23: fatal error: Eigen/Dense: No such file or directory
- 5868 megtekintés
Hozzászólások
eigen2-2.0.10-i486-1 [inst=yes]: Eigen2 (c++ math library)
Szerintem a 3-as kell neki Eigenből.
- A hozzászóláshoz be kell jelentkezni
egyelőre 64v bitest találtam, de nézem..
--------
eigen3.1 fent van csomagból, make ugyanazt a hibaüzenetet adja.
---
--- A gond akkor van, ha látszólag minden működik. ---
---
- A hozzászóláshoz be kell jelentkezni
De ez az Eigen/Dense mégis hiányzik.
Legalább a többi header file megvan?
Ezek:
http://eigen.tuxfamily.org/dox/QuickRefPage.html
-I../../include/eigen2 és itt keresi, ezek szerint a 2-es is jó (lenne).
Te ahogy nézem a /root/openscad...-ban vagy, szóval a ../../include valószínű nem jó. Valahol a fordítási opciók közt (./configure vagy amit a make előtt kiadsz) kellene helyre tenni az include patht.
- A hozzászóláshoz be kell jelentkezni
If you're using a newer version of Ubuntu, you can install these libraries from aptitude. If you're using Mac, or an older Linux/BSD, there are build scripts that download and compile the libraries from source. Follow the instructions for the platform you're compiling on below.
Qt4 (4.4 - 4.8)
CGAL (3.6 - 4.1)
GMP (5.x)
cmake (2.8, required by CGAL and the test framework)
MPFR (3.x)
boost (1.35 - 1.53)
OpenCSG (1.3.2)
GLEW (1.5.4 ->)
Eigen (2.0.x->3.x)
GCC C++ Compiler (4.2 ->)
Bison (2.4)
Flex (2.5.35)
--
A főnököm mindig megtartja amit ígér, ha pénzt ígér azt is!
- A hozzászóláshoz be kell jelentkezni