wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
5.75k stars 1.69k forks source link

macosx setup.py errors #20479

Closed wxtrac closed 2 years ago

wxtrac commented 20 years ago

Issue migrated from trac ticket # 1114

priority: normal

2003-07-04 21:52:02: dpwildboar created the issue


using the instructions given in http://www.wxpython.org/ BUILD.osx.txt

on step 5: python setup.py build install

the following errors occur and stop the build:

gcc -Wno-long-double -no-cpp-precomp -DNDEBUG -g -O3 - Wall -Wstrict-prototypes -DSWIG_GLOBAL - DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc -I/usr/local/include/python2.3 -c src/mac/gdi.cpp -o build/ temp.darwin-6.6-Power_Macintosh-2.3/src/mac/gdi.o -I/usr/ local/lib/wx/include/macd-2.4 -DWXDEBUG - DWXMAC -DWXMAKINGDLL -D_FILE_OFFSET_BITS=64 - D_LARGE_FILES In file included from /System/Library/Frameworks/ CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/CarbonCore.h:165, from /System/Library/Frameworks/ CoreServices.framework/Headers/CoreServices.h:21, from /System/Library/Frameworks/ Carbon.framework/Headers/Carbon.h:20, from /usr/local/include/wx/mac/private.h:20, from src/mac/gdi.cpp:66: /System/Library/Frameworks/CoreServices.framework/ Frameworks/CarbonCore.framework/Headers/fp.h: In function long double scalbl(long double, long int)': /System/Library/Frameworks/CoreServices.framework/ Frameworks/CarbonCore.framework/Headers/fp.h:1896: scalb' undeclared (first use this function) /System/Library/Frameworks/CoreServices.framework/ Frameworks/CarbonCore.framework/Headers/fp.h:1896: (Each undeclared identifier is reported only once for each function it appears in.) error: command 'gcc' failed with exit status 1

source was from: wxPythonSrc-2.4.1.2.tar macosx was: 10.2.6 gcc was: gcc -v Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs Thread model: posix Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420 (prerelease) python was: Python 2.3b2

wxtrac commented 20 years ago

2003-07-09 21:19:43: @RobinD42 commented


Please see the note I just added to BUILD.osx.txt about this.

http://cvs.wxwindows.org/viewcvs.cgi/wxPython/BUILD.osx.txt?rev=1.4.2.5&content-type=text/vnd.viewcvs-markup