![]() |
I only have AmigaOS3 68k toolchains. but grelbfarlk may try I guess :spin
|
Quote:
|
Quote:
|
Quote:
|
It was building swimmingly up until LHA compression, missing lhasa.h. Need to do some aminet looting.
|
Quote:
If you downloaded the source as zip, I suppose the premake script won't initialize the submodules. Here's all the submodules: https://github.com/MBeijer/MilkyTrac...src/submodules |
I did run the premake script, but yes I downloaded it as a zip.
|
Quote:
|
Ok got a little further. LHASA, BZLIP, ZLIB built, did see one thing to worry about later that we don't have vasnprintf...
But it failed on zziplib, I guess I should run configure for that so I get a config.h that defines HAVE_DIRENT and all that? unzip-mem.c In file included from ../src/submodules/zziplib/bins/unzip-mem.c:10: ../src/submodules/zziplib/zzip/memdisk.h:35: parse error before `dir' make[1]: *** [obj/ppc-amigaos/Release/zziplib/unzip-mem.o] Error 1 make: *** [zziplib] Error 2 |
Just have this in your include path:
https://github.com/MBeijer/MilkyTrac...zzip/_config.h |
Ok, got past that error by building libzzip and using the config.h from that instead.
Next problem: DecompressorLHA.cpp ../src/compression/DecompressorLHA.cpp:92: warning: ANSI C++ forbids initialization of member `input_stream' ../src/compression/DecompressorLHA.cpp:92: warning: making `input_stream' static ../src/compression/DecompressorLHA.cpp:92: ANSI C++ forbids in-class initialization of non-const static member `input_stream' ../src/compression/DecompressorLHA.cpp:93: warning: ANSI C++ forbids initialization of member `reader' ../src/compression/DecompressorLHA.cpp:93: warning: making `reader' static ../src/compression/DecompressorLHA.cpp:93: ANSI C++ forbids in-class initialization of non-const static member `reader' make[1]: [obj/ppc-amigaos/Release/compression/DecompressorLHA.o] Error 1 (ignored) |
Let's just -i and see what happens with the rest.
Next: AslRequester.cpp Code:
../src/ppui/osinterface/amiga/AslRequester.cpp:94: unterminated macro call Next: PPOpenPanel_SDL.cpp Code:
../src/ppui/osinterface/sdl-1.2/PPOpenPanel_SDL.cpp: In method `enum PPModalDialog::ReturnCodes PPOpenPanel::runModal()': Code:
../src/ppui/osinterface/sdl-1.2/PPSavePanel_SDL.cpp: In method `enum PPModalDialog::ReturnCodes PPSavePanel::runModal()': |
Quote:
|
Quote:
Also need to wrap #pragma pack(2) around the Amiga OS includes or Hedeon will punch me in the face. At least that's what I think is what's going on with the ASL requester. The other two PPUI objects, I don't know is this supposed to work on SDL 1.2.6? The good news is those are the only four objects that didn't build it tried to link Milkytracker after that. So probably not so insurmountable. |
Quote:
Any changes you do to the source would be appreciated if you send them back to me so I can patch my sources and put it on github. Also your changes for ppc-warpos Makefile and I'll put it in premake. Yes, this works with SDL-1.2.6 from Aminet. |
Oh, and I'd prefer #ifdef __WARPOS__ (or whatever is common for WarpOS) for WarpOS specific fixes so it doesn't break for the other OS'es! :)
|
Hoped to work on this more today but in the AslRequester.cpp now have it complaining about:
Code:
In file included from ../src/ppui/osinterface/amiga/AslRequester.cpp:25: Code:
PPSystemString GetFileName(CONST_STRPTR title, bool saveMode = false, CONST_STRPTR name = ""); Nevermind, stupid mistake on my part. 3 left. |
I was going to suggest changing it to "const char*". But had a look at the include "exec/types.h" and found this code:
Code:
#ifdef __cplusplus |
Quote:
So just what's left above with the errors remaining: DecompressorLHA.cpp PPOpenPanel_SDL.cpp PPSavePanel_SDL.cpp |
Quote:
Code:
LHAInputStream* input_stream = NULL; Code:
const LHAInputStream* input_stream = NULL; |
All times are GMT +2. The time now is 10:09. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.