Results 1 to 1 of 1
Hi. I'm trying to install AUTO from source. For this, I need coin3d or something equivalent, I use the inventor-dev package, because that is the only one that gave me ...
- 08-23-2007 #1
no matching function for call to ‘SbColor::setValue(SbColor&)’
Hi. I'm trying to install AUTO from source. For this, I need coin3d or something equivalent, I use the inventor-dev package, because that is the only one that gave me no problems during ./configure. However, during make, g++ cannot find SbColor::setValue(SbColor&). coin3d.org tells me the public member functions of SbColor do not include a function called setValue (Coin: SbColor Class Reference).
What should I do to make it work?
Code:daan@thrix:~/auto/07p$ make cd ./src;make make[1]: Entering directory `/home/daan/auto/07p/src' make[1]: Leaving directory `/home/daan/auto/07p/src' cd ./plaut;make make[1]: Entering directory `/home/daan/auto/07p/plaut' make[1]: `../bin/plaut' is up to date. make[1]: Leaving directory `/home/daan/auto/07p/plaut' cd ./plaut04;make make[1]: Entering directory `/home/daan/auto/07p/plaut04' cd src && make make[2]: Entering directory `/home/daan/auto/07p/plaut04/src' g++ -I../../plaut04/includes -Wno-deprecated -g -O2 -c createLegend.c++ -o createLegend.o createLegend.c++: In function ‘SoSeparator* createDiscreteLegend(SbVec3f, SbColor*)’: createLegend.c++:224: error: no matching function for call to ‘SbColor::setValue(SbColor&)’ /usr/include/Inventor/SbLinear.h:178: note: candidates are: SbVec3f& SbVec3f::setValue(const float*) /usr/include/Inventor/SbLinear.h:185: note: SbVec3f& SbVec3f::setValue(float, float, float) /usr/include/Inventor/SbLinear.h:194: note: SbVec3f& SbVec3f::setValue(const SbVec3f&, const SbVec3f&, const SbVec3f&, const SbVec3f&) createLegend.c++: In function ‘SoSeparator* createBranchLegend(SbVec3f, SbColor*)’: createLegend.c++:305: error: no matching function for call to ‘SbColor::setValue(SbColor&)’ /usr/include/Inventor/SbLinear.h:178: note: candidates are: SbVec3f& SbVec3f::setValue(const float*) /usr/include/Inventor/SbLinear.h:185: note: SbVec3f& SbVec3f::setValue(float, float, float) /usr/include/Inventor/SbLinear.h:194: note: SbVec3f& SbVec3f::setValue(const SbVec3f&, const SbVec3f&, const SbVec3f&, const SbVec3f&) createLegend.c++: In function ‘SoSeparator* createStabilityLegend(SbVec3f, SbColor*)’: createLegend.c++:378: error: no matching function for call to ‘SbColor::setValue(SbColor&)’ /usr/include/Inventor/SbLinear.h:178: note: candidates are: SbVec3f& SbVec3f::setValue(const float*) /usr/include/Inventor/SbLinear.h:185: note: SbVec3f& SbVec3f::setValue(float, float, float) /usr/include/Inventor/SbLinear.h:194: note: SbVec3f& SbVec3f::setValue(const SbVec3f&, const SbVec3f&, const SbVec3f&, const SbVec3f&) make[2]: *** [createLegend.o] Error 1 make[2]: Leaving directory `/home/daan/auto/07p/plaut04/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/daan/auto/07p/plaut04' make: *** [plaut04] Error 2


Reply With Quote
