Changes between Version 11 and Version 12 of DevWikiWinMingWSys_20_MSVC


Ignore:
Timestamp:
03/04/12 15:19:09 (13 years ago)
Author:
robe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiWinMingWSys_20_MSVC

    v11 v12  
    353353  --with-gui
    354354
    355 make
     355}}}
     356#this part is a hack, but again didn't work without it
     357#you can try without doing this, but if you get errors about
     358# conflicting type def boolean during PostGIS compile, you need this.
     359#In my case I got this:
     360{{{
     361c:/projects/json-c/rel-0.9/include/json/json_object.h:32: error: conflicting types for 'boolean'
     362C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcndr.h:52: error: previous declaration of 'boolean' was here
     363}}}
     364
     365 * Open up /c/projects/json-c/rel-0.9/include/json/json_object.h
     366 * remark out line 32 that reads
     367    {{{ typedef int boolean }}}
     368 * so it should now read
     369    {{{ /** typedef int boolean; **/ }}}
     370 * During the PostGIS configure process, you have to put this back the way it was otherwise configure complains json.h or something is not usable and refuses to configure with JSON-C support. Then you remark the line out again during compile.  Crazy I know, but json-c won't compile without that line so can't take it out before json-c compile.
     371
     372If you run into problems with your build, pipe the output into a file for further analysis. The GUI requires that pkg-config be on your PATH, check that it is there by running 'which pkg-config'.
     373{{{
     374make 2>&1 | tee /c/build.log
    356375make check
    357376make install