windows compilation

Pablo d'Angelo pablo at mathematik.uni-ulm.de
Mon Sep 29 10:14:09 BST 2003


On Mon, 29 Sep 2003, Mike Runge wrote:

> 
> Hmm,
> 
> I'm quit sure, that I have now everythin in the right place (including the
> header files), but compiling tarball hugin-20030928.tar.gz fails on w2k with
> the following message:

short workaround: copy pano12.dll into hugin/src.

It seems like the linker doesn't look into the system dll folder. When I
added the system32 folder to the linker path, the build failed as well.
dunno why.


> *************************************************************
> g++  -Wl,--subsystem,windows -mwindows -L/c/dev/wxWindows-2.4.1/lib
> -L/c/dev/wxWindows-2.4.1/contrib/lib   -o hugin.exe Panorama/PanoImage.o
> Panorama/Panorama.o Panorama/PanoramaMemento.o Panorama/utils.o
> hugin/CPEditorPanel.o hugin/MainFrame.o hugin/ImagesList.o
> hugin/CPImageCtrl.o hugin/CommandHistory.o hugin/ImageCache.o
> hugin/ImageProcessing.o hugin/ImagesPanel.o hugin/LensPanel.o
> hugin/OptimizeFrame.o hugin/PanoPanel.o hugin/RunOptimizerFrame.o
> hugin/RunStitcherFrame.o hugin/PanoToolsInterface.o hugin/PreviewPanel.o
> hugin/PreviewFrame.o hugin/Server.o hugin/huginApp.o hugin/wxVigraImage.o
> jhead/exif.o jhead/jpgfile.o hugin_resources.o -L. -lwxxrc -lpano12
> /c/dev/wxWindows-2.4.1/lib/libwxmswd.a -lregex -lpng -ljpeg -lzlib -ltiff
> -lstdc++ -lgcc -lodbc32 -lwsock32 -lwinspool -lwinmm -lshell32 -lcomctl32
> -lctl3d32 -lodbc32 -ladvapi32 -lodbc32 -lwsock32 -lopengl32 -lglu32 -lole32
> -loleaut32 -luuid  
> c:MinGWbin..libgcc-libmingw323.2.3........mingw32binld.exe: cannot find
> -lpano12
> make: *** [hugin.exe] Error 1
> mv: cannot stat `hugin.exe': No such file or directory
> *************************************************************

ciao
  Pablo
--
http://wurm.wohnheim.uni-ulm.de/~redman/
Please use PGP


More information about the ptX mailing list