X-Sender-Ip: 144.92.164.204
Organization: Lycos Mail (http://www.mail.lycos.com:80)
Content-Type: text/plain; charset=us-ascii
Content-Language: en
Content-Length: 2276
Content-Transfer-Encoding: 7bit
Hi,
I decided to redo everything. As a first step, I downloaded and installed Xcode 1.1 which should have fixed any gcc related bugs, and given me gcc 3.3.
Then I did the following:
1. Ungziped and untarred wxPython-2.4.2.4-src to wxPython.
2. cd to wxPython
3. mkdir build
4. cd build
5. ../configure --with-mac \
--with-opengl \
--enable-geometry \
--enable-optimise \
--with-libjpeg=builtin \
--with-libpng=builtin \
--with-libtiff=builtin
Configure worked without any problems
6. make
This successfully went past accel.cpp, meaning the previous error message related to wcslen did not occur. However make did break and I got the followin message.
c++ -c -I./lib/wx/include/mac-2.4 -I../include -I../src/png -I../src/jpeg -I../src/tiff -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -no-cpp-precomp -fpascal-strings -I../src/mac/morefile -I/Developer/Headers/FlatCarbon -D__WXMAC__ -DWXMAKINGDLL -O2 -MMD -fno-common -Wall -dynamic -fPIC -o dc.o ../src/mac/dc.cpp
../src/mac/dc.cpp:1259: error: parse error before `<<' token
../src/mac/dc.cpp:1263: error: parse error before `short'
make: *** [dc.o] Error 1
Peeking into ../src/mac/dc.cpp, it looks like Fixed is not being recognized as a type (my guess).
Am I doing anything wrong? Thanks a lot.
Rajas
Robin Dunn wrote:
Rajas Sambhare wrote:
I have another question.
I've been trying to compile wxPython on my Mac, and am running into a
few problems, regarding wcslen().I tried disabling wchar support for wxWindows by writing #define
wxUSE_WCHAR_T 0 in setup.h, but the resultant wxWindows build does
not allow compilation of wxPython. Any ideas?
That's not the way to change it on any non-Windows platform. You should
run wxWindows' configure with different options and then completely
rebuild wxWindows and wxPython. BTW, you shouldn't use unicode on wxMac
yet. It's just recently been made to mostly work in wxMac, (for 2.5,)
but I havn't tested it for wxPython yet.
ยทยทยท
____________________________________________________________
Find what you are looking for with the Lycos Yellow Pages