PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Link error building Minimal 2.05eval

In GapiDraw 2.05eval, I get a link error when building the minimal sample for WinCE Debug in eVC3. It cannot find gd205bnr.lib.

Is there something wrong with the installed project? The release version builds fine.
Just to get the simple possibility out of the way: you made sure your library paths were setup for the debug config, and not just the release.

And, if it isn't that, evc does all kinds of weird crap -- who knows.
I never changed anything in the project file, and to be sure, I reinstalled the samples.

Out of the box, minimal builds for PC both debug and release, and for PPC release only. Building debug, I get that link error.

That's the lib that is specified in a pragma in myapplication.cpp. Minimal seems to find its libraries fine as long as it remains in the samples directory (except in this one case).

I would just like to know why this one configuration won't build out of the box for me.
Go to project settings, then select Win32 (type) Debug from the drop down in the upper left corner. Go to the link tab, and select the Input Category. From there you'll see an option "Additional library path." Add the path to gd205bnr.lib for the specific type of device you're building for.

You have to do this individually for each build type and library type (arm, mips, etc).
OK I think I discovered the actual problem.

It appears that in the project settings for minimal PPC, the libpath is not set in the general linker options for debug builds. (It is set for release builds.)

This must be an error in the minimal PPC project file in the 2.05eval release. I guess I'm the only customer who ever tried to build it?

Johan: In your final testing before a release, you should ensure that each sample builds in all supported configurations. This acceptance test can be automated, and would catch errors such as this.