wdas / SeExpr

SeExpr is an embeddable, arithmetic expression language that enables flexible artistic control and customization in creating computer graphics images. Example uses include procedural geometry synthesis, image synthesis, simulation control, crowd animation, and geometry deformation. https://wdas.github.io/SeExpr
https://www.disneyanimation.com/open-source/seexpr/
Other
405 stars 86 forks source link

Oddness building on CentOS 6.5 #16

Closed chippey closed 5 years ago

chippey commented 10 years ago

So, I've run into a very odd hiccup building on CentOS 6.5, as the subject says - Cloning in a vanilla repo from github, and following the build instructions for the impatient (making a blank build dir and running cmake in it), I get 83% of the build progress when I get

make[2]: *** No rule to make target `src/SeExpr/libSeExpr.so', needed by `src/SeExprEditor/libSeExprEditor.so'.  Stop.
make[1]: *** [src/SeExprEditor/CMakeFiles/SeExprEditor.dir/all] Error 2
make:  *** [all] Error 2

A bit of digging reveals that there's no libSeExpr.so in src/SeExpr (in the build dir), which is odd as further up in the build progress (at about 15% of the way through), the log shows:

Linking CXX shared library libSeExpr.so

going directly into the src/SeExpr dir (in the build dir), and running make (with the cmake generate Makefile) there does build the vanished libSeExpr.so

(ie,

cd src/SeExpr
make

) produces the library and seems to fix the problem.

From there I can go back to the base build and finish building no problem (

cd ../..
make install

)

I've got a fairly vanilla CentOS 6.5 install, with an except that I'm building with gcc 4.1.2 (but this vanishing behaviour also is exhibited with gcc 4.4.7-4 (the one that's packaged with CentOS 6.5)).

To be clear, I'm able to build and use SeExpr in the end (woohoo!), but though you might like to be aware of the odd hoop I jumped through to do it.

Cheers! -Matt

aselle commented 10 years ago

Hmm that's fairly strange. I'm using RHEL 6.4, and I just tried it, and I didn't see that problem. I'll see if I can figure out what is going on with CentOS 6.5 when I get a chance.

On Tue, Apr 8, 2014 at 12:11 AM, chippey notifications@github.com wrote:

So, I've run into a very odd hiccup building on CentOS 6.5, as the subject says - Cloning in a vanilla repo from github, and following the build instructions for the impatient (making a blank build dir and running cmake in it), I get 83% of the build progress when I get

make[2]: * No rule to make target src/SeExpr/libSeExpr.so', needed bysrc/SeExprEditor/libSeExprEditor.so'. Stop. make[1]: * [src/SeExprEditor/CMakeFiles/SeExprEditor.dir/all] Error 2 make: *\ [all] Error 2

A bit of digging reveals that there's no libSeExpr.so in src/SeExpr (in the build dir), which is odd as further up in the build progress (at about 15% of the way through), the log shows:

Linking CXX shared library libSeExpr.so

going directly into the src/SeExpr dir (in the build dir), and running make (with the cmake generate Makefile) there does build the vanished libSeExpr.so

(ie,

cd src/SeExpr make

) produces the library and seems to fix the problem.

From there I can go back to the base build and finish building no problem (

cd ../.. make install

)

I've got a fairly vanilla CentOS 6.5 install, with an except that I'm building with gcc 4.1.2 (but this vanishing behaviour also is exhibited with gcc 4.4.7-4 (the one that's packaged with CentOS 6.5)).

To be clear, I'm able to build and use SeExpr in the end (woohoo!), but though you might like to be aware of the odd hoop I jumped through to do it.

Cheers! -Matt

Reply to this email directly or view it on GitHubhttps://github.com/wdas/SeExpr/issues/16 .

davvid commented 5 years ago

This should be a non-issue with the latest cmake updates. Please reopen if you still see this.