Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1] 2 3
Author Topic: Compilation help
lucifer893
Newbie
Posts: 14
Post Compilation help
on: May 10, 2011, 10:08

Hello guys.

First of all I want to thank you on your good work. It is indeed very nice.

Second, I wanted to ask you some advice. I understand that you build Aura with ozone gui so I thought you might be able to help me out here. I downloaded the latest source from the CVS and wanted to compile it. I did a make and all the objects were created. Then, using rhide I opened main.c and tried to compile it. After some issues regarding different versions of allegro have been taken into account it gives me this error:

"main.c: Error: undefined refference to '_DebugMessage'"
"main.c: Error: undefined refference to '_DebugMessage'"
"main.c: Error: undefined refference to '_InitDynld'"
................
at just about every function in the code.

I've set all the directories in Options-Directory but it still the same. I am missing something here...

I must say that I am a total newby at djgpp compiling and I am kinda lost here. If anyone can help I would greatly appreciate it.

Thanks.

JFK
Moderator
Posts: 73
Post Re: Compilation help
on: May 11, 2011, 08:12

Hello, that ozone code is soooooo old. i dont even remember what versions of Djgpp you need to compile it or allegro etc..

ill ask chase what the versions are he used.

lucifer893
Newbie
Posts: 14
Post Re: Compilation help
on: May 13, 2011, 03:16

I would appreciate that. I compiled it with allegro 4.2.2a and latest djgpp and it gives me some errors and warnings and the exe would not run. I am dissapoint :(

JFK
Moderator
Posts: 73
Post Re: Compilation help
on: May 13, 2011, 04:30

DJGPP Version 2.03
Allegro Version 4.2.2

also there is a function text_somthing that allegro no longer supports so you will need to change it ill ask chase what it was :)

lucifer893
Newbie
Posts: 14
Post Re: Compilation help
on: May 13, 2011, 04:52

Yes, there are several functions like "textout, textout_centre, textmode etc.". What should I do with these? I left them as that and the compiler gave me lots of warnings but still finished. Maybe these can be my problem? Because when I run the exe, the splash screen appears and just stays like that. Sometimes I get the mouse, sometimes no. There is no obvious error in kernel.txt log.

Anyway, thank you very much for the answers. I really appreciate it.

Chase
Administrator
Posts: 19
Post Re: Compilation help
on: May 13, 2011, 08:36

Hello,
In order to compile and have a working EXE you must edit the files the warnings are on.
Google the depricated functions and replace them with updated ones.

lucifer893
Newbie
Posts: 14
Post Re: Compilation help
on: May 15, 2011, 11:24

Hello Chase. Thanks for the reply but unfortunately I could not get it to work. I have edited all the deprecated functions to their new form, added stdlib.h and string.h which were missing from some .c files and then the "make" went without any error. But still it gives me the error when running the exe:
"Shutting down Allegro. Exiting due to signal SIGSEGV. General protection fault....."

This is getting pretty frustrating :(

JFK
Moderator
Posts: 73
Post Re: Compilation help
on: May 16, 2011, 06:43

yes i bet..

@chase do you want to give lucifer the aura base code so he can compile it without the Aura apps etc?

@lucifer - Lucifer the aura base code (ozone based atleast) is opensource but all the Aura apps (desktop, media box, orchid etc..) are under a free license at this point which we donot intend to release to members of the public.

so in saying this its up to chase whether or not he wants to share a build-able Aura code with you as he has developed much of the new aura source to make the old ozone code work.

@chase maybe you could repack the ozone code with the aura base code that works so lucifer can build ozone..? ozone desktop, 03pad wtc..

lucifer893
Newbie
Posts: 14
Post Re: Compilation help
on: May 16, 2011, 07:42

That would be awesome. I really hate trying to make ozone's old code against newer versions of djgpp, allegro, allegttf etc. I would really appreciate it guys :)

lucifer893
Newbie
Posts: 14
Post Re: Compilation help
on: May 18, 2011, 12:48

The thing is, this has been one of my passions since I was a kid. Creating a GUI. Creating an entire OS. When I was about 15-16 years old, me and a friend made something like that in real mode, old school 16 bit Borland Pascal. It had 1024x768 16bpp which at that time was quite enough, skinnable interface, own apps, semi transparent menus, user managed etc. It was very fun making it although it was rather rudimentary since it was very very slow and there was no multitasking (you would think 640kb would be enough :) ).

Recently I stumbled upon the old dusty sources and I remembered the days. I went through hell installing windows 98 on my current pc so I can see it once more. It has some hangs on my machine but on the old one it ran without a hiccup (I had something like Pentium I MMX @ 200Mhz, 128Mb SDRAM, Voodoo3 @16Mb) and so my old nerdy hobby came back to me. The only thing is that I need a base to start. Time is also not an easy commodity to get these days as I have a full time job and also am married :) .

Anyway, here is hard worked screenshot of my old GUI. It was rather tricky to get because at that time making screenshots was the last thing on my mind so I never implemented a system.

Image

Pages: [1] 2 3
Mingle Forum by cartpauj
Version: 1.0.33.2 ; Page loaded in: 0.031 seconds.