|
Post by icefire on Feb 21, 2008 2:06:46 GMT 1
I am trying to compile LJP, but it keeps giving weird errors like memory functions not defined.
|
|
|
Post by icefire on Feb 21, 2008 2:52:45 GMT 1
are the filters supposed to take four hours to compile
|
|
|
Post by Tinnus on Feb 21, 2008 2:58:41 GMT 1
Yes. Kinda odd, but that's due to the way the CW compiler optimizes the heck out of big switch statements (and HQ2X + LQ2X are some of the biggest ever). It used to take 20-40 minutes for me, but once compiled once, it will generate a lib which will be then used for all other modules, avoiding having to recompile always And check the paths in all targets to be sure they point to your dirs.
|
|
|
Post by icefire on Feb 21, 2008 3:01:27 GMT 1
my comp is at 400mhz, so it should take four hours?
Edit: Wow, those switch statements are BIG! i cant imaging writing something like that..
|
|
|
Post by Tinnus on Feb 21, 2008 3:17:34 GMT 1
It compiled like that for me in a 2200+ @1.7GHz, so yeah it will probably take forever for you. Be warned that it might actually stop compiling due to being out of memory if you don't have enough of it, because it uses hundreds of MB of memory just to compile that (check your task manager for details). It used to compile for me with 256MB of physical RAM, I think, but be warned that when it starts to go into swap you can just say goodbye and come back tomorrow The reason why no one could compile VBA or gpSP with CW, AND why CrimsonFire changed Firestorm to use gcc, was exactly that--CPU emulators usually use switch(opcode) and the ARM in the GBA simply has TONS and TONS of opcodes, and nested switches in the emulators, which cause CW to crash after hours of compiling and some 1GB of memory used.
|
|
|
Post by icefire on Feb 21, 2008 3:40:17 GMT 1
Actually it compiled :-) with 128mb of ram...
|
|
|
Post by icefire on Feb 21, 2008 3:44:46 GMT 1
Why can't it find MSL_C_PNO.a? it is in the right folder...
|
|
|
Post by icefire on Feb 21, 2008 3:46:01 GMT 1
memory and string functions errors keep coming up, especially with ZLib. Do you know why?
|
|
|
Post by vilmos on Feb 21, 2008 5:08:30 GMT 1
go find the MSL_C_PNO.a in an explorer window, then delete the one in CW and drag the new one in.
For some reason CW freaks out if it isn't in the exact same directory and LJP is configured with some odd paths. I imagine they are from the old palmos sdk.
|
|
|
Post by metaview on Feb 21, 2008 8:50:27 GMT 1
There are some (well, a lot) double defined memory and string functions. That just warnings and you can ignore them.
|
|
|
Post by Tinnus on Feb 21, 2008 13:03:30 GMT 1
and why ljp doesn't have GBA? Because the only fast enough GBA emulator around is gpSP and I won't incorporate other people's still maintained code into another project. Moreover, Exophase explicitly told me he'd like it more if I just ported his project(s) individually, not merging them into something else.
|
|
|
Post by samphex on Feb 22, 2008 0:20:51 GMT 1
and why ljp doesn't have GBA? Because the only fast enough GBA emulator around is gpSP and I won't incorporate other people's still maintained code into another project. Moreover, Exophase explicitly told me he'd like it more if I just ported his project(s) individually, not merging them into something else. So if you are ever going to try to port gpsp, you can only give it out as an individual prc?
|
|
|
Post by Tinnus on Feb 22, 2008 2:23:27 GMT 1
Pretty much. Nothing wrong about that though, IMO.
|
|
|
Post by icefire on Feb 22, 2008 20:21:39 GMT 1
Still gives string and memory function errors
|
|
|
Post by Tinnus on Feb 22, 2008 20:35:11 GMT 1
You have to have some SDK updates, the one that comes with CW 9.3 is still not the most updated one. Maybe that's the reason for the latter.
|
|
|
Post by icefire on Feb 22, 2008 22:39:07 GMT 1
It now finds MSL_C_PNO.a!
Now to try to fix the other errors :-)
|
|
|
Post by icefire on Feb 23, 2008 20:25:54 GMT 1
The SDK update worked, so now only msl_c_pno.a and identifer overwritten errrors left...
|
|
|
Post by metaview on Feb 23, 2008 20:39:07 GMT 1
msl_c_pno.a : you need to add the file to the file list. There should be already one, but CW doesn't know where it is. Remove it from the list and readd it.
CW MSL cstring and cstdlib, both shouldn't be included. No standard include files. Everything is selfmade.
|
|
|
Post by icefire on Feb 24, 2008 19:50:03 GMT 1
Zlib seems to be including cstring and cstdlib. what should it be using? the tapwave version?
|
|
|
Post by Tinnus on Feb 24, 2008 22:50:34 GMT 1
Just remove the includes and see if it works. Are you sure you're using the zlib code included with LJP and CW is not #including the wrong zlib.h?
|
|
|
Post by samphex on Feb 24, 2008 23:12:40 GMT 1
Icefire, what exactly do you intend to do once you get it to work?
|
|
|
Post by icefire on Feb 25, 2008 4:03:55 GMT 1
I intend to re-enable categories. And maybe make a Accesorizer optimized version. And maybe change the launcher's layout. A bit.
|
|
|
Post by samphex on Feb 25, 2008 14:27:07 GMT 1
I intend to re-enable categories. And maybe make a Accesorizer optimized version. And maybe change the launcher's layout. A bit. take your time in categories, rc2 didnt do it well. And please do make the layout get a feeling of awesomeness.
|
|
|
Post by icefire on Feb 25, 2008 22:21:48 GMT 1
I probably will just do layout. But anybody could do it in bird . I am thinking about doing categories, but maybe just ripping the code and making an LJX launcher. If it even makes any sense (LJP is a MESS).
Maybe i should start palm os programming somewhere easier?
|
|
|
Post by Tinnus on Feb 25, 2008 22:40:53 GMT 1
DON'T rip out the code from LJP to use in a LJX launcher. Seriously. The launcher is one of the MAIN reasons I started LJX to begin with, just because it's so bloated and redundant and buggy You could start programming a simple game or something Kudos if you fix categories BTW, since neither me or Metaview managed to
|
|
|
Post by samphex on Feb 25, 2008 23:32:01 GMT 1
I probably will just do layout. But anybody could do it in bird (do you want my hacked version?). I am thinking about doing categories, but maybe just ripping the code and making an LJX launcher. If it even makes any sense (LJP is a MESS). Maybe i should start palm os programming somewhere less of a mess? PS: What would you like for "awesomeness"? Depends on what you can do.
|
|
|
Post by icefire on Feb 25, 2008 23:38:37 GMT 1
I have a possible idea. Sort of like what we have. But i need to figure out how to make a list show the contents of a directory, passed by a string. And how to modify a VFS file.
|
|
|
Post by Tinnus on Feb 25, 2008 23:56:21 GMT 1
LJP does that, so you can look there.
|
|
|
Post by icefire on Feb 25, 2008 23:56:54 GMT 1
Yeah, but complicatedly (if that is a word...)
|
|
|
Post by countbuggula on Feb 26, 2008 1:02:44 GMT 1
Haha, this has been an amusing thread:
icefire: I'm thinking of ripping the launcher out of LJP to use in LJX!
tinnus: Ack! No, the code's horrible, start from scratch!
icefire: Hmmm...gotta figure out how to do this and that and this....
tinnus: Just rip the code out of LJP!
Hehe...I know that's not exactly what you guys meant or said, but it made me chuckle from my point of view.
|
|