[Gdal-dev] JasPer UUID package updated

Andrey Kiselev dron at ak4719.spb.edu
Mon Nov 17 11:14:11 EST 2003


On Sat, Nov 15, 2003 at 04:23:05PM -0600, Howard butler wrote:
> I build the new Jasper package using Microsoft VC++ project this morning (I 
> renamed the jas_config2.h in the include directory to jas_config.h ... I 
> don't know if this was the right thing to do).
> After building, I've been trying to link it into GDAL, but I'm getting a 
> bunch of errors that look like:
> LIBC.lib(crt0dat.obj) : error LNK2005: _exit already defined in 
> MSVCRT.lib(MSVCR
> T.dll)
> LIBC.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in 
> MSVCRT.lib(ci
> nitexe.obj)

You should build JasPer with the same settings as GDAL. So if you are
using /MD switch in nmake.opt you should do the same in JasPer:

Project->Settings->C/C++->Category: Code Generation
Use runtime library: Multithreaded DLL

					Andrey

-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517



More information about the Gdal-dev mailing list