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

cegui is broken #1434

Closed
starius opened this issue Jul 10, 2016 · 4 comments
Closed

cegui is broken #1434

starius opened this issue Jul 10, 2016 · 4 comments

Comments

@starius
Copy link
Member

starius commented Jul 10, 2016

Log: https://gist.github.com/c330c284f70af9c04df962197608ccf8
Machine: Debian Jessie
Commit: 2ee728c

Error message:

CEGUIOpenGLRenderTarget.cpp:(.text+0x517): undefined reference to `gluUnProject@48'
CEGUIOpenGLRenderTarget.cpp:(.text+0x5a2): undefined reference to `gluUnProject@48'
CEGUIOpenGLRenderTarget.cpp:(.text+0x60d): undefined reference to `gluProject@48'
CEGUIOpenGLRenderTarget.cpp:(.text+0x678): undefined reference to `gluProject@48'
CEGUIOpenGLRenderTarget.cpp:(.text+0x6e3): undefined reference to `gluProject@48'
CEGUIOpenGLRenderTarget.cpp:(.text+0x9e6): undefined reference to `gluPerspective@32'
CEGUIOpenGLRenderTarget.cpp:(.text+0xa32): undefined reference to `gluLookAt@72'
@brike
Copy link

brike commented Jul 12, 2016

i got this error too,how to fix it?

@starius
Copy link
Member Author

starius commented Jul 14, 2016

The following patch seems to fix cegui: 49f7a46
The idea is to add -lglu32 to linker options. MXE creates glu.pc which adds this option. I added glu to requirements of freeglut.

I am testing this patch. Then I'll open a PR.

@tonytheodore
Copy link
Member

Good pickup, I thought those were deprecated functions but the previous glut.pc file included -lglu32.

@dl5rcw
Copy link
Contributor

dl5rcw commented Jul 16, 2016

@starius I just noticed the lglu32 issue and then found your fix here. I gave it a try - also to support you with testing - and copied your freeglut-1-fixes.patch fix to the last version a903d59. Worked for all builds (shared+static, 32+64).

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

4 participants