Re: Building wxWindows on MacOS X

From: "Stefan Csomor" <csomor(at)advancedconcepts(dot)ch>
To: "'Leon Out'" <leon-lists(at)comvision(dot)com>, <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Building wxWindows on MacOS X
Date: 2003-12-10 07:14:00
Message-ID: ADVANCED-3YNLWJWtII00000015@advanced-3ynlwj.advancedconcepts.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org [mailto:pgadmin-hackers-
> owner(at)postgresql(dot)org] On Behalf Of Leon Out
> Sent: Dienstag, 9. Dezember 2003 17:26
> To: pgadmin-hackers(at)postgresql(dot)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

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Jyrki Wahlstedt 2003-12-10 12:06:46 Mac OS X configuration
Previous Message Andreas Pflug 2003-12-10 00:10:01 Re: Feature Request