Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to install SceneGraph due to Devil #10

Closed
lumark opened this issue May 23, 2015 · 4 comments
Closed

Fail to install SceneGraph due to Devil #10

lumark opened this issue May 23, 2015 · 4 comments

Comments

@lumark
Copy link

lumark commented May 23, 2015

Not sure how to install SceneGraph as I cannot install Devil under clang..
If I do:

brew install devil --use-llvm -verbose=1

I got the following error:

./../src-IL/include/il_internal.h:230:54: error: expected ',' or '...' before 'FileName'
ILboolean ilIsValidBmp(ILconst_string CONST_RESTRICT FileName);
^
It seems this is an issues in homebrew:

Homebrew/legacy-homebrew#12353

Not sure how to fix it..

@crheckman
Copy link
Contributor

It should be optional to install devil or boost's GIL. Obviously without either one there will be no support of texture loading.

@crheckman
Copy link
Contributor

I just checked this homebrew issue and it doesn't seem to be the exact problem you're running into; also the issue is from 2012, so I suspect it may no longer be relevant. Have you run brew update recently?

@MrColdbird
Copy link

It's an issue with your GCC/G++ version you are facing here...
Starting at GCC/G++ 5 and higher the header ifdef doesn't work out in your favor any longer.

You can work around the issue for now using a patch from BSD which you can find here: http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/devel/devIL/patches/patch-include_IL_il.h

@crheckman
Copy link
Contributor

Thanks for finding a solution to the problem! I am closing the issue; @lumark please contact me directly for future assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants