linux compilations error

28 views
Skip to first unread message

djoser

unread,
Oct 6, 2011, 8:18:24 AM10/6/11
to coral-app
Hi all,

While trying to compiling under ubuntu 10.04 i got some errors. Not a
big deal to fix but since the repo is read only, is there any way to
contribute?

Nicolas

Andrea Interguglielmi

unread,
Oct 6, 2011, 8:35:30 AM10/6/11
to cora...@googlegroups.com
Sure Nicolas, you could send me a patch or just tel me what the fix is, if simple enough.

djoser

unread,
Oct 6, 2011, 9:19:55 AM10/6/11
to coral-app
Hi Andrea,
The fixes are simple. Just a couple of missing includes. Here how it
goes:
coral/builtinNodes/SplineNodes.h:
#include <cstdlib>

coral/src/Command.h:
#include <cstdio>

coral/src/Numeric.h:
#include <cstdio>

coral/src/stringUtils.h:
#include <cstdio>

coralUi/src/GeoDrawNode.h:
#include "string.h"

Also build from source wiki infos are wrong.
os.environ["CORAL_TBB_LIB"] = "libtbb.dylib"
should have been
os.environ["CORAL_TBB_LIB"] = "tbb.dylib"

cheers

Nicolas

On Oct 6, 2:35 pm, Andrea Interguglielmi

djoser

unread,
Oct 6, 2011, 9:30:21 AM10/6/11
to coral-app
> Also build from source wiki infos are wrong.
> os.environ["CORAL_TBB_LIB"] = "libtbb.dylib"
> should have been
> os.environ["CORAL_TBB_LIB"] = "tbb.dylib"

Btw it is also the case for the others lib...

Nicolas

Andrea Interguglielmi

unread,
Oct 6, 2011, 9:41:56 AM10/6/11
to cora...@googlegroups.com
Thanks Nicolas, I'll integrate the changes and fix the wiki!

luca

unread,
Oct 6, 2011, 10:03:01 AM10/6/11
to coral-app

Same problems with the includes on mint debian x64.

The only difference is that to fix the one with GeoDrawNode.h i had
to

#include<cstdio> and #include<cstring>

I got also another problem with coral/builtinNodes/SplineNodes.cpp:

coral/builtinNodes/SplineNodes.cpp:116:72: error: 'abs' was not
declared in this scope

so on line 116 of splineNode.cpp i changed abs wit Imath::abs


my buildEnv.py : http://dl.dropbox.com/u/9244053/buildEnv.py

I found a couple of minor issues while playing with the standalone
app
(don't know if they depend on my build or are general), let me know if
you
want me to post them here or to open a new thread.

ciao

Luca




Andrea Interguglielmi

unread,
Oct 6, 2011, 10:08:18 AM10/6/11
to cora...@googlegroups.com
Hi Luca, please open a new thread with the issue if you don't mind, helps me keep track of things, thanks!

lorenzo

unread,
Oct 6, 2011, 10:09:47 AM10/6/11
to cora...@googlegroups.com
Hi Luca , thanks for the buildEnv.
I'll give it a try on fedora as soon as I come back to home.
Cheers.
L.

2011/10/6 luca <luca.s...@gmail.com>

andrea-i

unread,
Oct 6, 2011, 11:22:20 AM10/6/11
to coral-app
I've committed the fixes to the linux build, it'd be great though if
Os X would also complain about those headers missing, not sure how to
do that.

On Oct 6, 4:09 pm, lorenzo <lorenzo.ang...@gmail.com> wrote:
> Hi Luca , thanks for the buildEnv.
> I'll give it a try on fedora as soon as I come back to home.
> Cheers.
> L.
>
> 2011/10/6 luca <luca.salom...@gmail.com>

luca

unread,
Oct 6, 2011, 12:05:03 PM10/6/11
to coral-app
I've checked out your fixes and everything works fine execpt for coral/
src/Command.h

you added #include <cstdlib> but i think it should be #include
<cstdio>

I don't know why Os x doesn,t complain, but if it may help i could
post
the details of the error g++ was giving me.

lorenzo

unread,
Oct 7, 2011, 4:40:36 AM10/7/11
to cora...@googlegroups.com
Ok , this morning (with the help of a strong cafe) I've finaly managed to compile it under fedora 15 , python 2.7 . Let me know if you want to have the buildEnv.py , but is not too different from the one provided by Luca. (thanks again)

I'll start having a look at the API in the next days... It would be interesting looking at a input/output for Alembic file format..


Just out of curiosity , is there any plan to integrate particle/dynamic node to cover the Fx side of the production ?

Cheers.
L.



2011/10/6 luca <luca.s...@gmail.com>
I've checked out your fixes and everything works fine execpt for coral/

Andrea Interguglielmi

unread,
Oct 7, 2011, 4:47:29 AM10/7/11
to cora...@googlegroups.com
On Fri, Oct 7, 2011 at 10:40 AM, lorenzo <lorenzo...@gmail.com> wrote:
Ok , this morning (with the help of a strong cafe) I've finaly managed to compile it under fedora 15 , python 2.7 . Let me know if you want to have the buildEnv.py , but is not too different from the one provided by Luca. (thanks again)
Yey! : ) No need to repost the buildEnv, unless the one on the wiki is still wrong. 
 
I'll start having a look at the API in the next days... It would be interesting looking at a input/output for Alembic file format..
 

Just out of curiosity , is there any plan to integrate particle/dynamic node to cover the Fx side of the production ?


I'll open a new post to answer that.

luca

unread,
Oct 8, 2011, 6:33:50 AM10/8/11
to coral-app
i checked out revision 114 and it compiles ok
but when i try to run the standalone i get this error:

Traceback (most recent call last):
File "launchApp.py", line 31, in <module>
from coral.coralUi import coralUi
File "/home/talama/coralRepo/build/coralStandaloneBuild/coral/
coralUi/__init__.py", line 30, in <module>
from _coralUi import *
ImportError: /home/talama/coralRepo/build/coralStandaloneBuild/coral/
coralUi/_coralUi.so: undefined symbol: glDrawArrays


Andrea Interguglielmi

unread,
Oct 8, 2011, 8:17:41 AM10/8/11
to cora...@googlegroups.com
Damn I messed up! committed the fix...

Constantine Tarasenkov

unread,
Mar 5, 2013, 2:40:53 PM3/5/13
to cora...@googlegroups.com, ainterg...@gmail.com, ainterg...@googlemail.com
Just out of curiosity I compiled the old version and came across this error.

Funny thing is that g++ skip it as nothing serious happened.

Reply all
Reply to author
Forward
0 new messages