Hello, I'm on a debian 4.0 sid machine and am unable to build/run from svn.
When I try to execute ./gsculpt I get
$ ./gsculpt
Traceback (most recent call last):
File "gsculpt.py", line 358, in <module>
from Britefury.Model.Model import GSProductModelBlank
File "/home/qubodup/src/gsculpt/Britefury/Model/__init__.py", line 10, in <module>
from Britefury.ProceduralCore import Product
File "/home/qubodup/src/gsculpt/Britefury/ProceduralCore/__init__.py", line 10, in <module>
from Britefury.Kernel import RTType
ImportError: cannot import name RTType
When I try to build I get
$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o cpp/CompGeometry/PolyTesselate.os -c -Wall -Werror -ffast-math -g -DGS_DllExport= -DGSCULPT_PLATFORM_POSIX -DGSCULPT_FPU_X86 -fPIC -Icpp -I/usr/include/python2.5 cpp/CompGeometry/PolyTesselate.cpp
cc1plus: warnings being treated as errors
cpp/CompGeometry/PolyTesselate.cpp: In function ‘bool triangleContainsPoint(const Point2&, const Point2&, const Point2&, const Point2&, double)’:
cpp/CompGeometry/PolyTesselate.cpp:34: error: suggest parentheses around && within ||
scons: *** [cpp/CompGeometry/PolyTesselate.os] Error 1
scons: building terminated because of errors.
To my knowledge all necessary libraries are installed. Do you know what the problem might be?
Regards, qubodup
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi. i was trying to build gsculpt on ubuntu 8.04 as well, but i guess i didnt installed something right because it just wont run emitting almost similar errors to the one above (something with rttype)
if someone could hack gsculpt into the metaverse or package everything into one clickable run command that would check/download/install every missing piece of library, that would rock, my-oh-my! :D
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I'm on a debian 4.0 sid machine and am unable to build/run from svn.
When I try to execute ./gsculpt I get
$ ./gsculpt
Traceback (most recent call last):
File "gsculpt.py", line 358, in <module>
from Britefury.Model.Model import GSProductModelBlank
File "/home/qubodup/src/gsculpt/Britefury/Model/__init__.py", line 10, in <module>
from Britefury.ProceduralCore import Product
File "/home/qubodup/src/gsculpt/Britefury/ProceduralCore/__init__.py", line 10, in <module>
from Britefury.Kernel import RTType
ImportError: cannot import name RTType
When I try to build I get
$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o cpp/CompGeometry/PolyTesselate.os -c -Wall -Werror -ffast-math -g -DGS_DllExport= -DGSCULPT_PLATFORM_POSIX -DGSCULPT_FPU_X86 -fPIC -Icpp -I/usr/include/python2.5 cpp/CompGeometry/PolyTesselate.cpp
cc1plus: warnings being treated as errors
cpp/CompGeometry/PolyTesselate.cpp: In function ‘bool triangleContainsPoint(const Point2&, const Point2&, const Point2&, const Point2&, double)’:
cpp/CompGeometry/PolyTesselate.cpp:34: error: suggest parentheses around && within ||
scons: *** [cpp/CompGeometry/PolyTesselate.os] Error 1
scons: building terminated because of errors.
To my knowledge all necessary libraries are installed. Do you know what the problem might be?
Regards, qubodup
hi. i was trying to build gsculpt on ubuntu 8.04 as well, but i guess i didnt installed something right because it just wont run emitting almost similar errors to the one above (something with rttype)
if someone could hack gsculpt into the metaverse or package everything into one clickable run command that would check/download/install every missing piece of library, that would rock, my-oh-my! :D
It's a GCC problem. GCC 4.2.x is much stricter than older versions. I wrote a patch for it.
See the attached file in this bug report: http://sourceforge.net/tracker/index.php?func=detail&aid=2114423&group_id=4733&atid=104733
Apply it, then run scons again. finaly './gsculpt' or 'python gsculpt.py'
Cheers,
Simon