aMule Forum
English => Multiplatform => Mac OSX => Topic started by: NiKo87 on May 07, 2006, 10:48:47 AM
-
Hi! I'm using a snapshot of the 7th of March for the wxWidgets. In fact with more recent version I had some problems compiling aMule. Am I using the latest working snapshot? Can I download a more recent one?
-
Have you tried any more recent versions of wx?
I just tried to build aMule against current wx cvs on 10.3 but I can't even get wx to compile:
./bk-deps g++ -c -o baselib_dynload.o -I.pch/wxprec_baselib -D__WXMAC__ -I../wxWidgets/src/tiff -I../wxWidgets/src/jpeg -I../wxWidgets/src/png -I../wxWidgets/src/regex -I../wxWidgets/src/expat/lib -DwxUSE_GUI=0 -DwxUSE_BASE=1 -DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -Ilib/wx/include/mac-unicode-release-static-2.7 -I../wxWidgets/include -fpascal-strings -I../wxWidgets/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -fno-common ../wxWidgets/src/common/dynload.cpp
make: *** No rule to make target `../wxWidgets/include/wx/mac/gdiobj.h', needed by `baselib_encconv.o'. Stop.
:(
-
Ok, so the problem does not occur on 10.4 -- I just managed to build current aMule cvs as universal binary using current wx cvs.
But the app crashes immediately on startup. Report is attached.
-
wx CVS still does not even compile on my 10.3 machine. :(
./bk-deps g++ -c -o baselib_dynload.o -I.pch/wxprec_baselib -D__WXMAC__ -I../wxWidgets/src/tiff -I../wxWidgets/src/jpeg -I../wxWidgets/src/png -I../wxWidgets/src/regex -I../wxWidgets/src/expat/lib -DwxUSE_GUI=0 -DwxUSE_BASE=1 -DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -Ilib/wx/include/mac-unicode-debug-static-2.7 -I../wxWidgets/include -fpascal-strings -I../wxWidgets/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon -Wall -Wundef -Wno-ctor-dtor-privacy -ggdb -O0 -fno-common ../wxWidgets/src/common/dynload.cpp
make: *** No rule to make target `../wxWidgets/include/wx/mac/gdiobj.h', needed by `baselib_encconv.o'. Stop.
It would be really great if someone could take a loot at this, because I have a feeling that if the wx guys have not fixed it in 4 month now, they probably won't fix it anytime soon. And I really would not want to release an aMule 2.1.4 binary, where there is no way to close the search tabs (see here (http://forum.amule.org/thread.php?threadid=9915)). :)
-
You should submit a bug report to the wx project. Include the configure line you used and the make error you post above. That's the only way it will be fixed, ultimately. If --disable-dependency-tracking fixed it, tell them that, too.
-
Just for the records, ken fixed aMule compilation with current wx CVS. :)
Concerning the compilation problems of wx under 10.3, it turns out it's possible that they were because my wx build folder might have contained an invisible .deps folder from previous builds that was interfering with make. That's probably why adding --disable-dependency-tracking fixed it for me.
Thanks again for all the help today, ken. :)