windows compilation

Pablo d'Angelo pablo at mathematik.uni-ulm.de
Fri Sep 5 12:03:56 BST 2003


On Fri, 05 Sep 2003, Yili Zhao wrote:

> Hi Pablo,
>   in your "windows-compile.txt" file, you said that "Edit $WXWIN/src/makeg95.env and remove all occurences of
>   "-fno-rtti -fno-exceptions".hugin uses exceptions in some places, so they need to be enabled."
>   When I open makeg95.env file ,I find something like these:
>   ==========================================================
>   ifeq ($(FINAL),1)
>   OPT = -O2 -fno-rtti -fno-exceptions
>   else
>   OPT = -fno-rtti -fno-exceptions
>   endif
>   ==========================================================
>   I do not understand what you said very much. How can treat with these statements? Delete all or only portion?

remove the occurences of the string "-fno-rtti -fno-exceptions" ;)
result:

ifeq ($(FINAL),1)
OPT = -O2
else
OPT = 
endif


>   I have set the "WXWIN" environment variable in my winxp system, but I set it in the "system variable",
>   not "user variable". Does this matter?

nope, but you have to be administrator to do this.

>   By the way, in wxWindows site only have a wxmsw2.4.1, no patch. But I think this is the stable version.

The patch is on the offical download page, thrid paragraph. it is even
written with red letters :)

http://www.wxwindows.org/dl_msw2.htm#stable

But it doesn't matter for hugin, since were not using the code that is
patched by it.

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


More information about the ptX mailing list