Re: Building wxWindows on MacOS X - Mailing list pgadmin-hackers

From Stefan Csomor
Subject Re: Building wxWindows on MacOS X
Date
Msg-id ADVANCED-3YNLWJWtII00000015@advanced-3ynlwj.advancedconcepts.ch
Whole thread Raw
In response to Building wxWindows on MacOS X  (Leon Out <leon-lists@comvision.com>)
List pgadmin-hackers
Hi

Just for the record in case other stumble over the same problem (since you
meanwhile used a newer wx snapshot)

You should either get CVS with the 2.4 branch, or apply the following diff

http://cvs.wxwindows.org/viewcvs.cgi/wxWindows/src/mac/dc.cpp.diff?r1=1.56.2
.11&r2=1.56.2.12

(the reason is not a cvs merge problem, but a newly defined macro and a
bitwise shift op)

Best,

Stefan

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org [mailto:pgadmin-hackers-
> owner@postgresql.org] On Behalf Of Leon Out
> Sent: Dienstag, 9. Dezember 2003 17:26
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] Building wxWindows on MacOS X
>
> Howdy. I'm new here. Nice to meet y'all.
>
> I'm trying to make wxWindows on my MacOS 10.3 system (as a prereq for
> pgadmin), I get the following error:
>
> ./bk-deps g++ -c -o monodll_dc.o -Ilib/wx/include/mac-2.5 -I./include
> -I./src/png -I./src/jpeg -I./src/tiff -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES -fpascal-strings -I./src/mac/morefilex
> -I/Developer/Headers/FlatCarbon -D__WXMAC__  -I./include -I./src/tiff
> -I./src/jpeg -I./src/png    -DwxUSE_BASE=1 -DWXMAKINGDLL -O2 -Wall
> -fno-common -dynamic -fPIC src/mac/dc.cpp
> src/mac/dc.cpp:1282: error: parse error before `<<' token
> src/mac/dc.cpp:1287: error: parse error before `short'
> make: *** [monodll_dc.o] Error 1
>
> I'm using wxWindows-pgAdmin3-20030831.tar.gz. Unfortunately, I don't
> have enough C++ knowledge to troubleshoot this. Can anyone lend a hand?
>
> I'm looking forward to getting pgadmin working in OS X!
>
> Thanks!
>
> Leon
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faqs/FAQ.html


pgadmin-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: Feature Request
Next
From: Jyrki Wahlstedt
Date:
Subject: Mac OS X configuration