Page 1 of 1

Using Visual Studio 2008

PostPosted: Jan 7, 2009 @ 6:26pm
by TickledPink
As the only version of Visual C++ I have for developing Windows Mobile applications is on my copy of VS 2008 Professional, I've been trying to get EDGELIB to work with it. However, when compiling I'm getting the following error:

fatal error LNK1104: cannot open file 'edgerender.lib'

Has anyone successfully created and compiled EDGELIB projects in VS 2008?

PostPosted: Jan 8, 2009 @ 12:06am
by TickledPink
Well, I've got the Hello World example working on it now.

Seems that I had to add the three lib files to the Linker->Input->Additional Dependencies section of the project properties.

PostPosted: Jan 8, 2009 @ 2:23pm
by edge

PostPosted: Jan 8, 2009 @ 2:33pm
by TickledPink

PostPosted: Jan 9, 2009 @ 10:09am
by edge

PostPosted: Jan 19, 2009 @ 4:12pm
by rothiel
Hi :)

I have the same issue with the Animated3d sample.

I think it is because I specified LIBC.lib as ignored.

But if I don't do that, I can't compile.

(Multithread is already set).

If someone has an idea, I will take it ;)

Thanks in advance.

PostPosted: Jan 19, 2009 @ 4:25pm
by edge
Hi Rothiel,

Can you tell me what the exact issue is? Aren't you able to start the sample, or do you have troubles linking?

PostPosted: Jan 19, 2009 @ 4:54pm
by rothiel
Hi !

The sample starts, and the window disappears just right after it appears.

I had problems with LIBC.lib, and specify VS2008 to ignore this lib.

PostPosted: Jan 20, 2009 @ 1:25pm
by edge
Hi Rothiel,

The problem you have is not related to compiling or linking the samples. The issue is that the program can't load the images and quits prematurely (check the OnDisplayInit() functions inside the samples to know why).

First you need to locate the executable when running the sample. The images should be placed in the same path as the executable. For a good example, check the existing pc workspaces.

PostPosted: Mar 16, 2009 @ 8:44am
by Namal