arpg / SceneGraph

Auxiliary library for object management of 3D scenes.
Other
15 stars 8 forks source link

Build issues on Linux related to DevIL #27

Open JStech opened 7 years ago

JStech commented 7 years ago

Building on Linux is failing inelegantly due to problems with DevIL.

First, with no DevIL installation, the build fails: /home/ubuntu/Code/SceneGraph/include/SceneGraph/GLHelpersDevil.h:3:19: fatal error: IL/il.h: No such file or directory

Then, with libdevil-dev installed (in Ubuntu), the build still fails at linking: ../../libscenegraph.so: undefined reference to `ilDetermineTypeL' (And many others.)

JStech commented 7 years ago

Ah, second problem was a n00b CMake mistake. After blowing away the build dir and starting over, it builds once DevIL is installed.

crheckman commented 7 years ago

I don't this package can execute its intended purpose without DevIL, so the correct fix to this would be to fatal error when that library is not found.

On Wed, Jul 12, 2017 at 5:15 PM John Stechschulte notifications@github.com wrote:

Ah, second problem was a n00b CMake mistake. After blowing away the build dir and starting over, it builds once DevIL is installed.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/arpg/SceneGraph/issues/27#issuecomment-314899240, or mute the thread https://github.com/notifications/unsubscribe-auth/AIl6Bdog_JuY0rovswPZJTBDq6FeQub2ks5sNTdggaJpZM4OWNJ8 .