CEGUI SDK 0.7.5 vc9 LNK1104 freeglut_static.lib

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

anotherNewbie
Just popping in
Just popping in
Posts: 1
Joined: Fri Mar 04, 2011 15:19

CEGUI SDK 0.7.5 vc9 LNK1104 freeglut_static.lib

Postby anotherNewbie » Fri Mar 04, 2011 15:29

Hello,
I have just installed Visual Studio 2008 Express on Windows 7

When I try compile, I get an error
LINK : fatal error LNK1104: cannot open file 'freeglut_static.lib'

I am a DirectX user,and I'm not install OpenGL SDK on my computer.
Do I need to do custom build in Configuration manager and remake examples to not support OpenGL?

IrmatDen
Not too shy to talk
Not too shy to talk
Posts: 26
Joined: Sat Feb 26, 2011 08:04

Re: CEGUI SDK 0.7.5 vc9 LNK1104 freeglut_static.lib

Postby IrmatDen » Fri Mar 04, 2011 16:39

Hi,

Have you installed the pre-built SDK or are you trying to compile from source?
What are you trying to compile: CEGUI itself or your project?
Have you installed CEGUI's dependencies?

kintaroe
Just popping in
Just popping in
Posts: 9
Joined: Wed Jan 26, 2011 11:45

Re: CEGUI SDK 0.7.5 vc9 LNK1104 freeglut_static.lib

Postby kintaroe » Sat Mar 12, 2011 15:49

Hello,

I solved this way: under dependencies/lib/static created a copy of freeglut_d.lib and named freeglut_static.lib

HTH,
kintaroe

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: CEGUI SDK 0.7.5 vc9 LNK1104 freeglut_static.lib

Postby CrazyEddie » Mon Mar 14, 2011 09:36

This is an issue with the compiled dependency lib - it contains a missing reference to the 'missing' lib by way of that damned #pragma lib thing. Copying the lib using the missing name works, the technically correct work-around is to add the erroneous lib name to the list of libraries to be ignored (ignore specific library or whatever it's called)

CE


Return to “Help”

Who is online

Users browsing this forum: No registered users and 26 guests