[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
Re: [XaraXtreme-dev] Build problems on Mac
- From: Alex Bligh <alex@xxxxxxxxxxx>
- Date: Sun, 02 Sep 2007 21:12:23 +0100
- Subject: Re: [XaraXtreme-dev] Build problems on Mac
Thomas,
This rather cryptic error normally means gcc is whinging about problems
with precompiled headers. Try a "make clean", and then try again.
If that doesn't fix it, I'd guess it's still a precompiled headers problem,
but I don't know quite what.
The problem /might/ be to do with where you've include the wx file. Try
including from the header from which all the others are included (I forget
which right now).
Alex
--On 02 September 2007 21:48 +0200 Thomas Keller <me@xxxxxxxxxxxxxxxx>
wrote:
Hi all!
I'm trying to create a MacPort of XaraLX and stumbled across a few
problems. I managed to patch around some of them (for some reason
<wx/listctrl.h> had to be included explicitely for wxOil/fileinfolist.h,
patch attached), but for others I have no clue. F.e. there are some
warnings spit out by wxOil, but since I don't know nothing about
wxWidgets I don't know whats wrong there.
Finally, the following error pops up repeatedly:
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"XaraLX\"
-DVERSION=\"0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOIDP=4
-DSIZEOF_LONG_LONG=8 -DSIZEOF_LONG=4 -DSIZEOF_INT=4 -DSIZEOF_SHORT=2
-DSIZEOF___INT64=0 -DHAVE_CFPREFERENCESCOPYAPPVALUE=1
-DHAVE_CFLOCALECOPYCURRENT=1 -DHAVE_ICONV=1 -DENABLE_NLS=1
-DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I. -I. -Wall
-Wno-unknown-pragmas -g -fexceptions -O3 -fno-strict-aliasing
-Wstrict-aliasing=2 -O2
-I/opt/local/lib/wx/include/mac-unicode-release-2.6
-I/opt/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -DNO_GCC_PRAGMA -I/opt/local/include/libxml2
-I/opt/local/include -I../PreComp -I../wxOil -I.././Kernel -I.././wxOil
-I.././wxOil/Res -I.././tools -I.././GDraw -I.././PreComp -I.././wxXtra
-DUSE_NATIVE_XLONG -DBUILDSHADOWS -DOLD_MATRIX_TRANSFORMATIONS
-DVECTOR_STROKING -DEXCLUDE_FROM_XARALX -DNEW_SHADOW_RENDER -DNO_XARACMS
-DNEW_FEATURES -DSHOWPORTNOTE -DDO_EXPORT -MT libKernel_a-hotkeys.o -MD
-MP -MF ".deps/libKernel_a-hotkeys.Tpo" -c -o libKernel_a-hotkeys.o
`test -f 'hotkeys.cpp' || echo './'`hotkeys.cpp; \
then mv -f ".deps/libKernel_a-hotkeys.Tpo"
".deps/libKernel_a-hotkeys.Po"; else rm -f
".deps/libKernel_a-hotkeys.Tpo"; exit 1; fi
In file included from hotkeys.cpp:117:
../wxOil/wxkeymap.h:5:22: error: calling fdopen: Bad file descriptor
while wxOil/wxkeymap.h is perfectly readable:
$ ll wxOil/wxkeymap.h
-rw-r--r-- 1 root admin 702B Aug 31 11:24 wxOil/wxkeymap.h
Any hints?
Thanks in advance,
Thomas.
--
only dead fish swim with the stream: http://thomaskeller.biz/blog
Am Anfang war das Wort: http://www.schäuble-muss-weg.de
Alex