From: dmg <dm...@uv...> - 2006-11-22 06:48:18
|
Today I undusted a Windogs laptop and tried to compile panotools in it (using cygwin). I was able to compile some of the tools under cygwin (statically) but the binaries require the cygwin.dll to run. I find that the main problem is that they try to use a sys_win.h instead of sys_ansi.h. I am trying to learn how to create binaries that do not depend on the dll. dmg -- Daniel M. German "Poetry is as exact a science Gustave Flaubert -> as geometry" http://turingmachine.org/ http://silvernegative.com/ dmg (at) uvic (dot) ca replace (at) with @ and (dot) with . |
From: Michal <mi...@li...> - 2006-11-22 09:26:22
|
FYI. few months ago I tried to build panotools for windows on linux using crosscompiler. I build it successfully after small changes to makefiles. I was doing that because I was trying to build hugin, but I couldn't get over boost library that is required by hugin. Anyway for windows build of panotools this can be also the way to go... Michal Daniel M. German wrote: > Today I undusted a Windogs laptop and tried to compile panotools in it > (using cygwin). > > I was able to compile some of the tools under cygwin (statically) but > the binaries require the cygwin.dll to run. > > I find that the main problem is that they try to use a sys_win.h instead > of sys_ansi.h. > > I am trying to learn how to create binaries that do not depend on the > dll. > > dmg > > > > > > -- > Daniel M. German "Poetry is as exact a science > Gustave Flaubert -> as geometry" > http://turingmachine.org/ > http://silvernegative.com/ > dmg (at) uvic (dot) ca > replace (at) with @ and (dot) with . > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > PanoTools-devel mailing list > Pan...@li... > https://lists.sourceforge.net/lists/listinfo/panotools-devel |
From: Andrew M. <mihal@EECS.berkeley.EDU> - 2006-11-22 17:49:08
|
On Tue, 21 Nov 2006, dmg wrote: > I am trying to learn how to create binaries that do not depend on the > dll. You can try the -mno-cygwin gcc flag. But if your project links to other libraries (e.g. libtiff) the cygwin dll can still get pulled in from there. You have to carefully build all of the dependencies with -mno-cygwin. Andrew ----------------------------- Andrew Mihal www.eecs.berkeley.edu/~mihal mi...@ee... |