LINK : fatal error LNK1104: cannot open file 'CEGuiSampleHel

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

iRay
Just popping in
Just popping in
Posts: 8
Joined: Tue May 24, 2011 11:13

LINK : fatal error LNK1104: cannot open file 'CEGuiSampleHel

Postby iRay » Tue May 24, 2011 11:16

Hi there. I'm new to this community and as well as CEGUI.
I have encountered this error when trying to compile.

LINK : fatal error LNK1104: cannot open file 'CEGuiSampleHelper_d.lib'

I have downloaded all the necessary files (I think). I've tried linking but I can't find any library folders which contain that specific _d.lib file.

I've also saw other threads saying that I must compile the CEGUI.sln. But however, I can't even compile that, it keeps saying the ../../../lib error thing and I think that is the problema as to why I can't get the SampleHelper.lib file.

Any solutions?
I know I'm a noob. Help me please! :wink:

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Re: LINK : fatal error LNK1104: cannot open file 'CEGuiSampl

Postby Jamarr » Tue May 24, 2011 15:54

I have encountered this error when trying to compile.


There are several different download packages available. You should have started this thread by telling us which package you downloaded and are trying to use. Different packages may have differences in how they should be used.

LINK : fatal error LNK1104: cannot open file 'CEGuiSampleHelper_d.lib'


This is obviously a library related to the Sample (demo) projects, and thus this library is only created when the CEGUISamples.sln is compiled. Did you try compiling this solution?

I have downloaded all the necessary files (I think). I've tried linking but I can't find any library folders which contain that specific _d.lib file.


And what might those be? You did not list anything you downloaded (not to mention what exactly you are trying to build), so how are we to verify if you have everything necessary to produce the result you are looking for?

I've also saw other threads saying that I must compile the CEGUI.sln. But however, I can't even compile that, it keeps saying the ../../../lib error thing


The CEGUI.sln is used to build the core library and it's modules. So which is it you are trying to compile: CEGUI or the CEGUI Samples? The samples require the CEGUI library, but depending on the packages you downloaded (prebuilt vs source) you may or may not need to build that. And if you are trying to build the samples you need to make sure that the SampleHelper project contained within the CEGUISamples.sln solution is built prior to building any of the samples (though this should occur automatically if you build the entire solution).
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!

iRay
Just popping in
Just popping in
Posts: 8
Joined: Tue May 24, 2011 11:13

Re: LINK : fatal error LNK1104: cannot open file 'CEGuiSampl

Postby iRay » Thu May 26, 2011 03:15

Sorry about that.

There are several different download packages available. You should have started this thread by telling us which package you downloaded and are trying to use. Different packages may have differences in how they should be used.


I downloaded the latest version vc.9 0.7.5 package. "CEGUI-SDK-0.7.5-vc9".
Also, I don't really know what to use and compile, but all I want is the "Sample Demo's" to work and run.

This is obviously a library related to the Sample (demo) projects, and thus this library is only created when the CEGUISamples.sln is compiled. Did you try compiling this solution?


I've tried compiling that, and I got some regsvr32 error. "To register a module, you must provide a binary name."

Maybe my files were corrupted, I re-run a new one and it says dinput.h is missing.

I compiled the main solution "CEGUISamples.sln" the one found in the project->premake folder. And this is the error I got when trying to compile.
LINK : fatal error LNK1104: cannot open file '../../../../lib/CEGUISampleHelper_Static_d.lib'

Thanks again, and sorry. If I missed out any information please let me know as well.

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: LINK : fatal error LNK1104: cannot open file 'CEGuiSampl

Postby Kulik » Thu May 26, 2011 09:12

iRay wrote:I've tried compiling that, and I got some regsvr32 error. "To register a module, you must provide a binary name."


This seems weird to me. regsrv32 shouldn't be called when compiling a solution. What exactly are you doing?

iRay
Just popping in
Just popping in
Posts: 8
Joined: Tue May 24, 2011 11:13

Re: LINK : fatal error LNK1104: cannot open file 'CEGuiSampl

Postby iRay » Fri May 27, 2011 15:31

Kulik wrote:
iRay wrote:I've tried compiling that, and I got some regsvr32 error. "To register a module, you must provide a binary name."


This seems weird to me. regsrv32 shouldn't be called when compiling a solution. What exactly are you doing?


Nothing? Just ctrl + f5 to compile the solution.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 17 guests