You are not logged in.
Pages: 1
I am trying to install freecad from he AUR. But after starting compilation I get this error message:
g++ -DHAVE_CONFIG_H -I. -I../.. -O2 -DNDEBUG -D_REENTRANT -Wall -I../../src -I../../src -I/usr/include/python2.6 -I/usr/include/xercesc -I/usr/include -I/usr/include -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtSvg -I/usr/include/QtXml -I/usr/include/QtUiTools -I/usr/include/QtWebKit -I/usr/include -I/usr/include -march=i686 -mtune=generic -O2 -pipe -Wno-deprecated -frtti -MT SoTextLabel.lo -MD -MP -MF .deps/SoTextLabel.Tpo -c SoTextLabel.cpp -fPIC -DPIC -o .libs/SoTextLabel.o
SoTextLabel.cpp: In member function `virtual void Gui::SoTextLabel::GLRender(SoGLRenderAction*)':
SoTextLabel.cpp:248: error: no matching function for call to `SoMultiTextureEnabledElement::set(SoState*&, Gui::SoTextLabel* const, bool)'
/usr/include/Inventor/elements/SoMultiTextureEnabledElement.h:51: note: candidates are: static void SoMultiTextureEnabledElement::set(SoState*, SoNode*, int, SbBool)
SoTextLabel.cpp:135: Warning: unused variable `space'
SoTextLabel.cpp:136: Warning: unused variable `fontsize'
Please help! Thank you in advance for your support.
Last edited by daemon76 (2010-03-16 11:42:36)
Offline
When I comment out these lines it is solved!
# SoGLTexture3EnabledElement is deprecated by coin's developers
#for _FILE in `grep -lR "SoGLTexture3EnabledElement" *`
do
sed -e "s|SoGLTexture3EnabledElement|SoMultiTextureEnabledElement|" \
-i ${_FILE}
done
Last edited by daemon76 (2010-03-16 11:42:57)
Offline
Hi daemon76. I had the same error. Tried your solution and commented out all lines including "# done" and got freecad installed. But all commands belonging to the drafting toolbox is lost, making the app unusable. Did you get it working flawlessly and how much did you really comment out in the pkgbuild? I have also written a post in the freecad AUR branch to see if there is some help to get there.
Cheers
Mikael
Offline
Pages: 1