MingGW build attempt
Bernhard Reiter
bernhard at intevation.de
Tue Mar 28 23:30:47 CEST 2006
Am 28. Mar 2006 um 21:27:00 schrieb Bernhard Reiter:
> This evening I gave it a shot to build Thuban 1.1.0 on Windows XP SP2
> using MingGW.
>
> Here is my log, hitting an error in the end.
> Maybe this really is a clashing symbol,
It is a clashing #define.
The problem is that projects.h has #define LP ProjUV
and winnt.h also defines a typedef for LP which then gets replaced.
Proposed fix (untested):
adding a #undef LP
in a line right after the
#undef PVALUE
in thuban/libraries/thuban/wxproj.cpp
> Trying to build 1.1.0 on windows.
> C:\thuban-build\Thuban-1.1.0>c:\python24\python setup.py build_ext --compiler=mingw32 -I c:\thuban-build\wxPython-2.6.3.0\lib\vc_dll\mswuh;c:\thuban-build\wxPython-2.6.3.0\include;C:\thuban-build\proj-4.4.6\src
>
> building 'Lib.wxproj' extension
> from libraries/thuban/wxproj.cpp:31:
> C:/MinGW/bin/../lib/gcc/mingw32/3.4.4/../../../../include/winnt.h:97: error: con
> flicting declaration 'typedef TCHAR*projUV'
> C:/thuban-build/proj-4.4.6/src/projects.h:145: error: 'projUV' has a previous de
> claration as `typedef struct projUV projUV'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060328/4c762b40/attachment.bin
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)