[ptx] Compiling vigra on Windows with MinGW

alexandre jenny alexandre.jenny at le-geo.com
Tue Nov 25 17:07:34 GMT 2003


Yes, I use .NET 2003 which was used to compile vigra with no problem.
I first downloaded compiled libraries (libjpeg, tif, etc), but it doesn't
work. So I need to setup things to recompile everything. => That works for
vigra.

For hugin, I'm in the code to see what needs to be adapted to compile in
.net. I will post a huge mail about that soon.

++ alex


> -----Message d'origine-----
> De : ptx-bounces at email-lists.org 
> [mailto:ptx-bounces at email-lists.org] De la part de Yili Zhao
> Envoyé : mardi 25 novembre 2003 17:32
> À : PTX mailing list
> Objet : Re: [ptx] Compiling vigra on Windows with MinGW
> 
> 
> Hi,
>   using google, I obtain sourcecode of zlib-1.1.4, 
> libpng-1.2.5, tiff-v3.6.0 and jpeg-6b, and I compile them 
> using MinGW and get the *.a libraries.
>   I compile vigra with zlib, png, tiff, jpeg and fftw support 
> successfully using MinGW and MSYS. However, when I compile 
> vigra exapmles, there are some errors:
>   $ make examples
>   make[1]: Entering directory `/d/vigra1.2.0/src'
>   make[2]: Entering directory `/d/vigra1.2.0/src/examples'
>   g++ -o convert convert.o -L/d/vigra1.2.0/lib -lvigraimpex 
> -lm  -L/e/tiff-v3.6.0/libtiff -ltiff -L/e/jpeg-6b -ljpeg     
> -L/e/libpng -lpng -L/e/zlib -lz
>   
> d:/vigra1.2.0/lib/libvigraimpex.a(jpeg.o)(.text+0xb08):jpeg.cx
> x: undefined reference to `jpeg_create_decompress'
>   
> d:/vigra1.2.0/lib/libvigraimpex.a(jpeg.o)(.text+0xf78):jpeg.cx
> x: undefined reference to `jpeg_create_decompress'
>   
> d:/vigra1.2.0/lib/libvigraimpex.a(jpeg.o)(.text+0x2198):jpeg.c
> xx: undefined reference to `jpeg_create_compress'
>   
> d:/vigra1.2.0/lib/libvigraimpex.a(jpeg.o)(.text+0x2634):jpeg.c
> xx: undefined reference to `jpeg_create_compress'
>   make[2]: *** [convert] Error 1
>   make[2]: Leaving directory `/d/vigra1.2.0/src/examples'
>   make[1]: Leaving directory `/d/vigra1.2.0/src'
> 
>   I do not know why this occur.
>   Alexandre, do you use visual studio.net? I think vs6.0 has 
> some problems with template. If you use vs.net, how you use 
> image library? By compiling them also with vs.net or only 
> download compiled library? Maybe I need to install vs.net.
> 
> Yili 
> 
>  
> 
> 
> 



More information about the ptX mailing list