MPK - FAQ
- When I try to run an example in linux, I get the following error:
Warning: Representation size 1 must match superclass's to override installColormap
Warning: Representation size 4 must match superclass's to override ginitCallback
Segmentation fault
Ans: You have probably used incompatible rpms to install Open Inventor. Install Open Inventor by compiling the source code.
-
I use redhat 9.0 (gcc 3.2.2 and higher). and get the
following errors:
/usr/include/c++/3.2.2/cmath: In function `float std::cos(float)':
/usr/include/c++/3.2.2/cmath:193: `float std::cos(float)' conflicts with
previous using declaration `float cos(float)'
...
Ans: In the "PQP_v1.2/" package, comment out the following lines in the
file "src/PQP_Compile.h" (then recompile PQP):
inline float sqrt(float x) { return (float)sqrt((double)x); }
inline float cos(float x) { return (float)cos((double)x); }
inline float sin(float x) { return (float)sin((double)x); }
inline float fabs(float x) { return (float)fabs((double)x); }
-
I get the following error when trying to build the Visual Studio 6.0
project:
C:\Coin3D\include\Inventor/SbVec2f.h(53) : fatal error C1001: INTERNAL
COMPILER ERROR
(compiler file 'msc1.cpp', line 1786)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more
information
Error executing cl.exe.
Ans: Your Visual Studio 6.0 is not up to date. Update it using the Visual
Studio service pack available at:
http://msdn.microsoft.com/vstudio/downloads/updates/sp/vs6/sp5/
(If this site has expired then type "Visual Studio 6.0 service pack" on
google)
- Which software do you use to convert CAD models in other formats like
.stl etc to open inventor format?
Ans: I use ac3d and deep exploration.
- From where can I get CAD models of some industrial robots?
Ans: Search the ABB website (www.abb.com) through their search toolbar for
CAD models of their robots.
- When I replace the existing .iv geometric models with mine,
the collision detection dosn't seem to work. Any clue?
Ans: After you have generated your own .iv file. make sure you fix it
using "ivfix" (comes with open inventor).
- I cant compile open inventor in fedora core 5. Any help?
Ans: Instead use rpms for Inventor, Inventor-devel, InventorXt, InventorXt-devel from the
fedora core 5 rpm repository.
mpk@robotics.Stanford.EDU
Last modified: June 10 23:21:56 PST 2006