[OpenSCAD] Building Issues

Elmo elmo.mantynen at iki.fi
Thu Feb 4 16:27:31 CET 2010


Too hastily answered, I already found the lib in the ubuntu repos :) So 
I'll include it in the wikibook build instructions.

Elmo

Elmo wrote:
> I commented the offending block of code referencing menuExamples, and 
> now it's compiling further:
> "g++ -c -pipe -frounding-math -O2 -D_REENTRANT -Wall -W 
> -DOPENSCAD_VERSION=2010.02.04 -DENABLE_CGAL -DENABLE_OPENCSG 
> -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
> -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore 
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 
> -Isrc -I/usr/include/eigen2 -I/usr/X11R6/include -Iobjects -Iobjects -o 
> objects/polyset.o src/polyset.cc
> src/polyset.cc:33:22: error: Eigen/Core: No such file or directory
> src/polyset.cc:34:20: error: Eigen/LU: No such file or directory
> src/polyset.cc: In member function ‘void 
> PolySet::render_surface(PolySet::colormode_e, PolySet::csgmode_e, 
> double*, GLint*) const’:
> src/polyset.cc:140: error: ‘Eigen’ has not been declared
> src/polyset.cc:140: error: expected ‘;’ before ‘m3f’
> src/polyset.cc:141: error: ‘m3f’ was not declared in this scope
> make: *** [objects/polyset.o] Error 1
> "
> 
> Am I missing some new lib?
> 
> Elmo
> 
> Elmo wrote:
>> That did it.
>>
>> Now make gives:
>> "/usr/bin/uic-qt4 src/MainWindow.ui -o objects/ui_MainWindow.h
>> /usr/bin/uic-qt4 src/Preferences.ui -o objects/ui_Preferences.h
>> g++ -c -pipe -frounding-math -O2 -D_REENTRANT -Wall -W 
>> -DOPENSCAD_VERSION=2010.02.04 -DENABLE_CGAL -DENABLE_OPENCSG 
>> -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
>> -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore 
>> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 
>> -Isrc -I/usr/include/eigen2 -I/usr/X11R6/include -Iobjects -Iobjects -o 
>> objects/openscad.o src/openscad.cc
>> src/openscad.cc: In function ‘void handle_dep(QString)’:
>> src/openscad.cc:74: warning: ignoring return value of ‘int system(const 
>> char*)’, declared with attribute warn_unused_result
>> g++ -c -pipe -frounding-math -O2 -D_REENTRANT -Wall -W 
>> -DOPENSCAD_VERSION=2010.02.04 -DENABLE_CGAL -DENABLE_OPENCSG 
>> -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
>> -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore 
>> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 
>> -Isrc -I/usr/include/eigen2 -I/usr/X11R6/include -Iobjects -Iobjects -o 
>> objects/mainwin.o src/mainwin.cc
>> src/mainwin.cc: In constructor ‘MainWindow::MainWindow(const char*)’:
>> src/mainwin.cc:196: error: ‘class MainWindow’ has no member named 
>> ‘menuExamples’
>> make: *** [objects/mainwin.o] Error 1
>> "
>>
>> So what next?
>>
>> Elmo
>>
>> Marius Kintel wrote:
>>> On Feb 4, 2010, at 11:50 , Elmo wrote:
>>>
>>>> I had successfully built the code from 2010.01.17. If you can't
>>>> reproduce this, tell me how to bisect with svn?
>>>>
>>> Try removing this line from openscad.pro:
>>>
>>> !macx:QMAKE_CXXFLAGS_RELEASE = -O3 -march=pentium
>>>
>>> ~/= Marius
>>>
>>> --
>>> We are Elektropeople for a better living.
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> OpenSCAD at rocklinux.org
>>> http://rocklinux.net/mailman/listinfo/openscad
>> _______________________________________________
>> OpenSCAD mailing list
>> OpenSCAD at rocklinux.org
>> http://rocklinux.net/mailman/listinfo/openscad
> _______________________________________________
> OpenSCAD mailing list
> OpenSCAD at rocklinux.org
> http://rocklinux.net/mailman/listinfo/openscad


More information about the Openscad mailing list