yoann01 / coral

Coral is an open-source visual programming environment to help artists and coders with rapid prototyping of CGI algorithms and workflows.
2 stars 0 forks source link

error linux build #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I build coralStandalone on linux Ubuntu 11.10 x64

I have error. Last lines of output:

g++ -o coral/_coral.so -shared coral/builtinNodes/debugDEBUG/GeoNodes.os 
coral/builtinNodes/debugDEBUG/ObjImporter.os 
coral/builtinNodes/debugDEBUG/CoralIOImporter.os 
coral/builtinNodes/debugDEBUG/GeoGrid.os 
coral/builtinNodes/debugDEBUG/MathNodes.os 
coral/builtinNodes/debugDEBUG/NumericOperation.os 
coral/builtinNodes/debugDEBUG/LoopNodes.os 
coral/builtinNodes/debugDEBUG/GeoSphere.os 
coral/builtinNodes/debugDEBUG/ArithmeticNodes.os 
coral/builtinNodes/debugDEBUG/GeoCube.os 
coral/builtinNodes/debugDEBUG/ProcessSimulationNode.os 
coral/builtinNodes/debugDEBUG/SplineNodes.os 
coral/builtinNodes/debugDEBUG/NumericNodes.os 
coral/builtinNodes/debugDEBUG/DagNodes.os 
coral/builtinNodes/debugDEBUG/ConditionalNodes.os 
coral/pythonWrappers/debugDEBUG/pythonWrapper.os 
coral/src/debugDEBUG/ErrorObject.os coral/src/debugDEBUG/Value.os 
coral/src/debugDEBUG/GeoAttribute.os coral/src/debugDEBUG/Command.os 
coral/src/debugDEBUG/BoolAttribute.os coral/src/debugDEBUG/Object.os 
coral/src/debugDEBUG/Numeric.os coral/src/debugDEBUG/NetworkManager.os 
coral/src/debugDEBUG/NestedObject.os coral/src/debugDEBUG/mathUtils.os 
coral/src/debugDEBUG/PassThroughAttribute.os 
coral/src/debugDEBUG/containerUtils.os coral/src/debugDEBUG/stringUtils.os 
coral/src/debugDEBUG/EnumAttribute.os coral/src/debugDEBUG/Node.os 
coral/src/debugDEBUG/Geo.os coral/src/debugDEBUG/Attribute.os 
coral/src/debugDEBUG/NumericAttribute.os 
coral/src/debugDEBUG/PythonDataCollector.os -L/usr/local/lib -L/usr/lib 
-L/usr/lib -L/opt/coral/tbb40_233oss/lib -lImath.6 -lIex.6 -lpython2.7 
-lboost_python -ltbb
/usr/bin/ld: cannot find -lImath.6
/usr/bin/ld: cannot find -lIex.6
/usr/bin/ld: cannot find -ltbb
collect2: ld returned 1 exit status
scons: *** [coral/_coral.so] Error 1
scons: building terminated because of errors.

Please help me...

Original issue reported on code.google.com by vuxs...@gmail.com on 18 Nov 2011 at 10:46

GoogleCodeExporter commented 9 years ago
Hi!

Did you follow the instructions here?:

https://code.google.com/p/coral-repo/wiki/build_coralStandalone

You doesn't seems to a have any buildEnv.py

Mine is this (see joint file).

You need all dependencies (libtbb-dev, libilmbase-dev, etc...).

Original comment by dorian.f...@gmail.com on 19 Nov 2011 at 12:49

Attachments:

GoogleCodeExporter commented 9 years ago
This is my buildEnv:

New error:

In build instructions it is "Imath.6" variable.
In your buildEnv.py - "Imath". What are differences ?

With "Imath" my last error like this:

g++ -o coralUi/src/debugDEBUG/DrawRoutine.os -c -fPIC -I. 
-I/usr/include/python2.7 -I/usr/local/include/OpenEXR -I/usr/include/boost 
-I/usr/include/tbb coralUi/src/DrawRoutine.cpp
g++ -o coralUi/src/debugDEBUG/Viewport.os -c -fPIC -I. -I/usr/include/python2.7 
-I/usr/local/include/OpenEXR -I/usr/include/boost -I/usr/include/tbb 
coralUi/src/Viewport.cpp
g++ -o coralUi/_coralUi.so -shared coralUi/src/debugDEBUG/DrawNode.os 
coralUi/src/debugDEBUG/MainDrawRoutine.os 
coralUi/src/debugDEBUG/NumericDrawNode.os 
coralUi/src/debugDEBUG/ViewportOutputAttribute.os 
coralUi/src/debugDEBUG/GeoDrawNode.os 
coralUi/src/debugDEBUG/coralUiPythonWrapper.os 
coralUi/src/debugDEBUG/DrawRoutine.os coralUi/src/debugDEBUG/Viewport.os 
-Lcoral -L/usr/lib -L/usr/lib/python2.7 -L/usr/lib -L/usr/lib coral/_coral.so 
-lImath -lIex -lpython2.7 -lboost_python -ltbb -lglut
g++ -o imath/debugDEBUG/ImathPythonWrapper.os -c -fPIC -Icoral/src 
-I/usr/local/include/OpenEXR -I/usr/include/python2.7 -I/usr/include/boost 
imath/ImathPythonWrapper/ImathPythonWrapper.cpp
In file included from imath/ImathPythonWrapper/ImathPythonWrapper.cpp:31:0:
imath/ImathPythonWrapper/QuatfWrapper.h: In function 'void quatfWrapper()':
imath/ImathPythonWrapper/QuatfWrapper.h:136:25: error: 'rotateVector' is not a 
member of 'Imath::Quatf {aka Imath::Quat<float>}'
imath/ImathPythonWrapper/QuatfWrapper.h:137:34: error: 'euclideanInnerProduct' 
is not a member of 'Imath::Quatf {aka Imath::Quat<float>}'
imath/ImathPythonWrapper/QuatfWrapper.h:151:41: error: 'slerpShortestArc' is 
not a member of 'Imath'
imath/ImathPythonWrapper/QuatfWrapper.h:151:65: error: expected 
primary-expression before 'float'

With "Imath.6" my last error like this:

g++ -o coral/_coral.so -shared coral/builtinNodes/debugDEBUG/GeoNodes.os 
coral/builtinNodes/debugDEBUG/ObjImporter.os 
coral/builtinNodes/debugDEBUG/CoralIOImporter.os 
coral/builtinNodes/debugDEBUG/GeoGrid.os 
coral/builtinNodes/debugDEBUG/MathNodes.os 
coral/builtinNodes/debugDEBUG/NumericOperation.os 
coral/builtinNodes/debugDEBUG/LoopNodes.os 
coral/builtinNodes/debugDEBUG/GeoSphere.os 
coral/builtinNodes/debugDEBUG/ArithmeticNodes.os 
coral/builtinNodes/debugDEBUG/GeoCube.os 
coral/builtinNodes/debugDEBUG/ProcessSimulationNode.os 
coral/builtinNodes/debugDEBUG/SplineNodes.os 
coral/builtinNodes/debugDEBUG/NumericNodes.os 
coral/builtinNodes/debugDEBUG/DagNodes.os 
coral/builtinNodes/debugDEBUG/ConditionalNodes.os 
coral/pythonWrappers/debugDEBUG/pythonWrapper.os 
coral/src/debugDEBUG/ErrorObject.os coral/src/debugDEBUG/Value.os 
coral/src/debugDEBUG/GeoAttribute.os coral/src/debugDEBUG/Command.os 
coral/src/debugDEBUG/BoolAttribute.os coral/src/debugDEBUG/Object.os 
coral/src/debugDEBUG/Numeric.os coral/src/debugDEBUG/NetworkManager.os 
coral/src/debugDEBUG/NestedObject.os coral/src/debugDEBUG/mathUtils.os 
coral/src/debugDEBUG/PassThroughAttribute.os 
coral/src/debugDEBUG/containerUtils.os coral/src/debugDEBUG/stringUtils.os 
coral/src/debugDEBUG/EnumAttribute.os coral/src/debugDEBUG/Node.os 
coral/src/debugDEBUG/Geo.os coral/src/debugDEBUG/Attribute.os 
coral/src/debugDEBUG/NumericAttribute.os 
coral/src/debugDEBUG/PythonDataCollector.os -L/usr/lib -L/usr/lib/python2.7 
-L/usr/lib -L/usr/lib -lImath.6 -lIex.6 -lpython2.7 -lboost_python -ltbb
/usr/bin/ld: cannot find -lImath.6
/usr/bin/ld: cannot find -lIex.6
collect2: ld returned 1 exit status
scons: *** [coral/_coral.so] Error 1
scons: building terminated because of errors.

PS. Can you give me sompiled coral?

Original comment by vuxs...@gmail.com on 19 Nov 2011 at 3:57

GoogleCodeExporter commented 9 years ago
This is my buildEnv.py at this time:

# buildEnv.py
import os

os.environ["CORAL_PYTHON_INCLUDES_PATH"] = "/usr/include/python2.7"
os.environ["CORAL_PYTHON_LIBS_PATH"] = "/usr/lib/python2.7"
os.environ["CORAL_PYTHON_LIB"] = "python2.7"

os.environ["CORAL_BOOST_INCLUDES_PATH"] = "/usr/include/boost"
os.environ["CORAL_BOOST_LIBS_PATH"] = "/usr/lib"
os.environ["CORAL_BOOST_PYTHON_LIB"] = "boost_python"

os.environ["CORAL_IMATH_INCLUDES_PATH"] = "/usr/local/include/OpenEXR"
os.environ["CORAL_IMATH_LIBS_PATH"] = "/usr/lib"
os.environ["CORAL_IMATH_LIB"] = "Imath"
os.environ["CORAL_IMATH_IEX_LIB"] = "Iex"

os.environ["CORAL_TBB_INCLUDES_PATH"] = "/usr/include/tbb"
os.environ["CORAL_TBB_LIBS_PATH"] = "/usr/lib"
os.environ["CORAL_TBB_LIB"] = "tbb"

os.environ["CORAL_PARALLEL"] = "CORAL_PARALLEL_TBB"

# sdk setup
os.environ["CORAL_INCLUDES_PATH"] = 
"/coral-repo-read-only/build/coralStandaloneBuild/sdk/coral/includes"
os.environ["CORALUI_INCLUDES_PATH"] = 
"/coral-repo-read-only/build/coralStandaloneBuild/sdk/coralUi/includes"
os.environ["CORAL_LIBS_PATH"] = 
"/coral-repo-read-only/build/coralStandaloneBuild/sdk/coral/libs"
os.environ["CORALUI_LIBS_PATH"] = 
"/coral-repo-read-only/build/coralStandaloneBuild/sdk/coralUi/libs"

Original comment by vuxs...@gmail.com on 19 Nov 2011 at 4:04

GoogleCodeExporter commented 9 years ago
Ok, so there is still a problem with latest version of ILM libs...

Go here:

http://www.openexr.com/downloads.html

Download:

ilmbase-1.0.2.tar.gz
openexr-1.7.0.tar.gz

Unzip them, go to each forlder and do:

./configure
make
sudo make install

This should solve the problem...

coral doesn't seem to be ready for public compilation for now, only devs can 
deal with this kind of problems. :(

Original comment by dorian.f...@gmail.com on 19 Nov 2011 at 9:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
After last build I have this error:

python launchApp.py
1
Traceback (most recent call last):
  File "launchApp.py", line 31, in <module>
    from coral import coralApp
  File "/opt/coral/coral-repo/coral/build/coralStandaloneBuild/coral/__init__.py", line 30, in <module>
    from _coral import *
ImportError: 
/opt/coral/coral-repo/coral/build/coralStandaloneBuild/coral/_coral.so: 
undefined symbol: clGetProgramBuildInfo

Original comment by vuxs...@gmail.com on 21 Nov 2011 at 7:37

GoogleCodeExporter commented 9 years ago
Ok! I just merge my repo to the master repo and get the same error.

It seem to be a problem with OpenCL implementation...

I'm trying to find a solution (For now I can't use coral at all).

As I have an AMD, I go to the:

http://developer.amd.com/sdks/AMDAPPSDK/Pages/default.aspx

Get the sdk and I had try to install it and for the use of the lib libOpenCL.so 
but this doesn't work...

This bug seems to be critical as the solution doesn't seem to be very easy...

Andreas, is there a way to do not use OpenCL? Maybe ths time we find solution?

Have you an idea on what happen here (python? lib loading? etc...)? Compilation 
seems to be well done so it find everything it need but the OpenCL lib doesn't 
seems to be found...

Am I right? :(

EDIT: WOW!

I was completely decapitate and find the solution!

Let me some time to commit it (Actually, I must talk to this with Andreas). You 
will have to set your own lib/include OpenCL files.

The current solution (just include files CL in the repo) is not enough...

So for now, just go in the SConstruct file in coral folder and add this:
  CPPPATH = [

    sconsUtils.getEnvVar("CORAL_IMATH_INCLUDES_PATH"),

    sconsUtils.getEnvVar("CORAL_PYTHON_INCLUDES_PATH"), 

    sconsUtils.getEnvVar("CORAL_BOOST_INCLUDES_PATH"),

    sconsUtils.getEnvVar("CORAL_TBB_INCLUDES_PATH"),

    #os.path.join(os.pardir, "opencl11")], << comment this
    "/local/AMD-APP-SDK-v2.5-RC2-lnx64/include"],

  LIBS = [

    sconsUtils.getEnvVar("CORAL_IMATH_LIB"),

    sconsUtils.getEnvVar("CORAL_IMATH_IEX_LIB"),

    sconsUtils.getEnvVar("CORAL_PYTHON_LIB"), 

    sconsUtils.getEnvVar("CORAL_BOOST_PYTHON_LIB"),

    sconsUtils.getEnvVar("CORAL_TBB_LIB"),
    "OpenCL"],

  LIBPATH = [

    sconsUtils.getEnvVar("CORAL_IMATH_LIBS_PATH"),

    sconsUtils.getEnvVar("CORAL_PYTHON_LIBS_PATH"), 

    sconsUtils.getEnvVar("CORAL_BOOST_LIBS_PATH"),

    sconsUtils.getEnvVar("CORAL_TBB_LIBS_PATH"),
    "/local/AMD-APP-SDK-v2.5-RC2-lnx64/lib/x86_64"],

For me this make the compilation work! :)

Original comment by dorian.f...@gmail.com on 23 Nov 2011 at 12:59

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm pushing your solution to the repo.

Original comment by aintergu...@gmail.com on 23 Nov 2011 at 8:02

GoogleCodeExporter commented 9 years ago
Ok. Its works well, but I have error with openGl lib:

python launchApp.py
Traceback (most recent call last):
  File "launchApp.py", line 31, in <module>
    from coral.coralUi import coralUi
  File "/opt/coral/coral-repo/coral/build/coralStandaloneBuild/coral/coralUi/__init__.py", line 30, in <module>
    from _coralUi import *
ImportError: 
/opt/coral/coral-repo/coral/build/coralStandaloneBuild/coral/coralUi/_coralUi.so
: undefined symbol: glGetDoublev

Original comment by vuxs...@gmail.com on 23 Nov 2011 at 4:49

GoogleCodeExporter commented 9 years ago
I think that it is problem with freeglut. Can you help me? My distro is ubuntu 
x64 11.10

Original comment by vuxs...@gmail.com on 23 Nov 2011 at 5:10

GoogleCodeExporter commented 9 years ago
Could you give the whole lines during the _coralUi.so compilation?

I would like to see if what libs are linked during compilation.

Also try to change this line (49) in the SCons of coralUI:

if sys.platform.startswith("linux"):
    env.Append(LIBS = "glut")

To this:

if sys.platform.startswith("linux"):
    env.Append(LIBS = "freeglut")

Just for test...

Original comment by dorian.f...@gmail.com on 23 Nov 2011 at 5:32

GoogleCodeExporter commented 9 years ago
Also try to completely remove:

if sys.platform.startswith("linux"):
    env.Append(LIBS = "glut")

And see what append (we should not use freeglut anymore...).

Original comment by dorian.f...@gmail.com on 23 Nov 2011 at 5:34

GoogleCodeExporter commented 9 years ago
It is error with "freeglut" edit. out:

g++ -o coralUi/_coralUi.so -shared coralUi/src/debugDEBUG/DrawNode.os 
coralUi/src/debugDEBUG/MainDrawRoutine.os 
coralUi/src/debugDEBUG/NumericDrawNode.os 
coralUi/src/debugDEBUG/ViewportOutputAttribute.os 
coralUi/src/debugDEBUG/GeoDrawNode.os 
coralUi/src/debugDEBUG/coralUiPythonWrapper.os 
coralUi/src/debugDEBUG/DrawRoutine.os coralUi/src/debugDEBUG/Viewport.os 
-Lcoral -L/usr/local/lib -L/usr/lib/python2.7 -L/usr/lib -L/usr/lib 
coral/_coral.so -lImath -lIex -lpython2.7 -lboost_python -ltbb -lfreeglut
/usr/bin/ld: cannot find -lfreeglut
collect2: ld returned 1 exit status
scons: *** [coralUi/_coralUi.so] Error 1
scons: building terminated because of errors.

Original comment by vuxs...@gmail.com on 23 Nov 2011 at 5:40

GoogleCodeExporter commented 9 years ago
And this is all output for coralUI build section ("glut"):

g++ -o coralUi/src/debugDEBUG/DrawNode.os -c -fPIC -I. -I/usr/include/python2.7 
-I/usr/local/include/OpenEXR -I/usr/include/boost -I/usr/include/tbb 
coralUi/src/DrawNode.cpp
In file included from coralUi/src/DrawNode.cpp:28:0:
coralUi/src/DrawNode.h:38:14: warning: declaration 'struct coral::Attribute' 
does not declare anything [enabled by default]
g++ -o coralUi/src/debugDEBUG/MainDrawRoutine.os -c -fPIC -I. 
-I/usr/include/python2.7 -I/usr/local/include/OpenEXR -I/usr/include/boost 
-I/usr/include/tbb coralUi/src/MainDrawRoutine.cpp
In file included from coralUi/src/MainDrawRoutine.cpp:34:0:
coralUi/src/DrawNode.h:38:14: warning: declaration 'class coral::Attribute' 
does not declare anything [enabled by default]
g++ -o coralUi/src/debugDEBUG/NumericDrawNode.os -c -fPIC -I. 
-I/usr/include/python2.7 -I/usr/local/include/OpenEXR -I/usr/include/boost 
-I/usr/include/tbb coralUi/src/NumericDrawNode.cpp
In file included from coralUi/src/NumericDrawNode.h:34:0,
                 from coralUi/src/NumericDrawNode.cpp:28:
coralUi/src/DrawNode.h:38:14: warning: declaration 'class coral::Attribute' 
does not declare anything [enabled by default]
g++ -o coralUi/src/debugDEBUG/ViewportOutputAttribute.os -c -fPIC -I. 
-I/usr/include/python2.7 -I/usr/local/include/OpenEXR -I/usr/include/boost 
-I/usr/include/tbb coralUi/src/ViewportOutputAttribute.cpp
g++ -o coralUi/src/debugDEBUG/GeoDrawNode.os -c -fPIC -I. 
-I/usr/include/python2.7 -I/usr/local/include/OpenEXR -I/usr/include/boost 
-I/usr/include/tbb coralUi/src/GeoDrawNode.cpp
In file included from coralUi/src/GeoDrawNode.h:40:0,
                 from coralUi/src/GeoDrawNode.cpp:28:
coralUi/src/DrawNode.h:38:14: warning: declaration 'class coral::Attribute' 
does not declare anything [enabled by default]
g++ -o coralUi/src/debugDEBUG/coralUiPythonWrapper.os -c -fPIC -I. 
-I/usr/include/python2.7 -I/usr/local/include/OpenEXR -I/usr/include/boost 
-I/usr/include/tbb coralUi/src/coralUiPythonWrapper.cpp
In file included from coralUi/src/drawNodeWrapper.h:34:0,
                 from coralUi/src/coralUiPythonWrapper.cpp:35:
coralUi/src/DrawNode.h:38:14: warning: declaration 'class coral::Attribute' 
does not declare anything [enabled by default]
g++ -o coralUi/src/debugDEBUG/DrawRoutine.os -c -fPIC -I. 
-I/usr/include/python2.7 -I/usr/local/include/OpenEXR -I/usr/include/boost 
-I/usr/include/tbb coralUi/src/DrawRoutine.cpp
g++ -o coralUi/src/debugDEBUG/Viewport.os -c -fPIC -I. -I/usr/include/python2.7 
-I/usr/local/include/OpenEXR -I/usr/include/boost -I/usr/include/tbb 
coralUi/src/Viewport.cpp
g++ -o coralUi/_coralUi.so -shared coralUi/src/debugDEBUG/DrawNode.os 
coralUi/src/debugDEBUG/MainDrawRoutine.os 
coralUi/src/debugDEBUG/NumericDrawNode.os 
coralUi/src/debugDEBUG/ViewportOutputAttribute.os 
coralUi/src/debugDEBUG/GeoDrawNode.os 
coralUi/src/debugDEBUG/coralUiPythonWrapper.os 
coralUi/src/debugDEBUG/DrawRoutine.os coralUi/src/debugDEBUG/Viewport.os 
-Lcoral -L/usr/local/lib -L/usr/lib/python2.7 -L/usr/lib -L/usr/lib 
coral/_coral.so -lImath -lIex -lpython2.7 -lboost_python -ltbb -lglut
g++ -o imath/debugDEBUG/ImathPythonWrapper.os -c -fPIC -Icoral/src 
-I/usr/local/include/OpenEXR -I/usr/include/python2.7 -I/usr/include/boost 
imath/ImathPythonWrapper/ImathPythonWrapper.cpp
g++ -o imath/Imath.so -shared imath/debugDEBUG/ImathPythonWrapper.os 
-L/usr/local/lib -L/usr/lib/python2.7 -L/usr/lib -lImath -lIex -lpython2.7 
-lboost_python
postBuildAction(["postBuildTarget"], ["coral/_coral.so", "coralUi/_coralUi.so", 
"imath/Imath.so"])
* Building sdk...
scons: done building targets.

Original comment by vuxs...@gmail.com on 23 Nov 2011 at 5:44

GoogleCodeExporter commented 9 years ago
There are no changes, after i removed section

if sys.platform.startswith("linux"):
    env.Append(LIBS = "glut")

-------------
out:

g++ -o coralUi/_coralUi.so -shared coralUi/src/debugDEBUG/DrawNode.os 
coralUi/src/debugDEBUG/MainDrawRoutine.os 
coralUi/src/debugDEBUG/NumericDrawNode.os 
coralUi/src/debugDEBUG/ViewportOutputAttribute.os 
coralUi/src/debugDEBUG/GeoDrawNode.os 
coralUi/src/debugDEBUG/coralUiPythonWrapper.os 
coralUi/src/debugDEBUG/DrawRoutine.os coralUi/src/debugDEBUG/Viewport.os 
-Lcoral -L/usr/local/lib -L/usr/lib/python2.7 -L/usr/lib -L/usr/lib 
coral/_coral.so -lImath -lIex -lpython2.7 -lboost_python -ltbb
g++ -o imath/debugDEBUG/ImathPythonWrapper.os -c -fPIC -Icoral/src 
-I/usr/local/include/OpenEXR -I/usr/include/python2.7 -I/usr/include/boost 
imath/ImathPythonWrapper/ImathPythonWrapper.cpp
g++ -o imath/Imath.so -shared imath/debugDEBUG/ImathPythonWrapper.os 
-L/usr/local/lib -L/usr/lib/python2.7 -L/usr/lib -lImath -lIex -lpython2.7 
-lboost_python
postBuildAction(["postBuildTarget"], ["coral/_coral.so", "coralUi/_coralUi.so", 
"imath/Imath.so"])
* Building sdk...
scons: done building targets.
root@a:/opt/coral/coral-repo/coral# 
root@a:/opt/coral/coral-repo/coral/build/coralStandaloneBuild# 
root@a:/opt/coral/coral-repo/coral/build/coralStandaloneBuild# python 
launchApp.py
Traceback (most recent call last):
  File "launchApp.py", line 31, in <module>
    from coral.coralUi import coralUi
  File "/opt/coral/coral-repo/coral/build/coralStandaloneBuild/coral/coralUi/__init__.py", line 30, in <module>
    from _coralUi import *
ImportError: 
/opt/coral/coral-repo/coral/build/coralStandaloneBuild/coral/coralUi/_coralUi.so
: undefined symbol: glGetDoublev

Original comment by vuxs...@gmail.com on 23 Nov 2011 at 5:55

GoogleCodeExporter commented 9 years ago
Do you have "freeglut3-dev" package? :(

Original comment by dorian.f...@gmail.com on 23 Nov 2011 at 9:32

GoogleCodeExporter commented 9 years ago
of course (

Original comment by vuxs...@gmail.com on 23 Nov 2011 at 9:38

GoogleCodeExporter commented 9 years ago
If it halp - My video is intel gma4500 (

Original comment by vuxs...@gmail.com on 23 Nov 2011 at 9:45

GoogleCodeExporter commented 9 years ago
My PyQt4 is use Qt 4.7.* ( Ubuntu std. package ). Maybe problem with it?
In build instructions is Qt 4.5.3 dependency.

Original comment by vuxs...@gmail.com on 24 Nov 2011 at 10:49

GoogleCodeExporter commented 9 years ago
skype: alexeyVanzhula1984
pleaze help me

Original comment by vuxs...@gmail.com on 24 Nov 2011 at 10:52

GoogleCodeExporter commented 9 years ago
Hi, did you manage to build coral after removing glut? 
Qt is not a dependency involved in the compilation process, 4.7 will be just 
fine. 

Original comment by aintergu...@gmail.com on 24 Nov 2011 at 10:53

GoogleCodeExporter commented 9 years ago
Sory, dont understand.

I remove section:

if sys.platform.startswith("linux"):
    env.Append(LIBS = "glut")

from SConstruct in coralUi folder:
_coralUi.so: undefined symbol: glGetDoublev
It build ok, but not run:

Original comment by vuxs...@gmail.com on 24 Nov 2011 at 11:01

GoogleCodeExporter commented 9 years ago
It looks like you haven't linked against OpenGL, I'm not sure how this works 
for the other linux users, but you might try adding this to coralUi/SConstruct:

Where it says if sys.platform.startswith("linux"):
add
env.Append(CPPPATH = sconsUtils.getEnvVar("CORAL_OPENGL_INCLUDES_PATH"))
env.Append(LIBS = sconsUtils.getEnvVar("CORAL_OPENGL_LIB"))
env.Append(LIBPATH = sconsUtils.getEnvVar("CORAL_OPENGL_LIBS_PATH"))

And make sure you define those envs in your buildEnv.py

Original comment by aintergu...@gmail.com on 24 Nov 2011 at 11:12

GoogleCodeExporter commented 9 years ago
as i understand CORAL_OPENGL_LIB = "glut".
Is it right ?

Original comment by vuxs...@gmail.com on 24 Nov 2011 at 12:09

GoogleCodeExporter commented 9 years ago
Nope, it should be 
CORAL_OPENGL_LIB = "GL"

Original comment by aintergu...@gmail.com on 24 Nov 2011 at 1:59

GoogleCodeExporter commented 9 years ago
VERY THANX MAN... IT WORKS WELL!!!

Original comment by vuxs...@gmail.com on 24 Nov 2011 at 4:41

GoogleCodeExporter commented 9 years ago

Original comment by aintergu...@gmail.com on 24 Nov 2011 at 4:46