Hello,
I have written a programm using allegro. I have SuSE 9.1 and compiled it there. But now I need this programm for windows, it is for a competition. Can anybody compile it for me please?
Please give a mailadress so I can mail you the source code.
Thank you!
Which Allegro version? I currently have installed 4.2.0.
You can try attaching it if it is not too big.
And moved to the programming forum.
I don't know my version, but it's the one on the SuSE 9.1-CD.
I attached the source...
Thank you!
I could compile them if you repair these two things within 10min, after that I will be away from computer for couple of hours.
37 C:\DOCUME~1\KALMER\LOCALS~1\TEMP\kugeln-1.cpp `asprintf' undeclared (first use this function)
105 C:\DOCUME~1\KALMER\LOCALS~1\TEMP\kugeln-1.cpp `sleep' undeclared (first use this function)
Under Linux it works....
I changed it...
Here it is. It needs alleg42.dll.
It sets a graphics mode, but then it pops up a message (I don't know what it means) and it crashes, though.
Compiles fine with MinGW 2.95.3-6 with 4.1.14 and 3.2.3 with 4.2.0.
<quote>
C:\WINDOWS\Desktop>kugeln.exe
Fehler in .EXE-Datei
[/qoute]
It doesn't work...
I tried it now with WIN98 where I need it...
The popup says "kugeln.exe ist keine zulässige WIN32-Anwendung". Oh, translating...ähm...It is not a good application??? Something like this;)
EDIT: I didn't see your post. Can you give me the file when it "compiles fine"?
Oscar's attached file runs fine here, no need to attach mine. You might have downloaded it wrong, try clearing your browser cache and downloading it again. MD5sum for Oscar file is A4EE923C61C9B707D6561FCD4A44BED8, in case you can calculate it.
You will need alleg42.dll too, but it is too heavy to be attached in the forums.
Ok, I don't have this file here. Where can I download it?
Attached the DLL you need, zipped.
KUGELN verursachte einen Fehler durch eine ungültige Seite
in Modul KUGELN.EXE bei 0167:004018ac.
Register:
EAX=00000000 CS=0167 EIP=004018ac EFLGS=00010206
EBX=67a53134 SS=016f ESP=0076fd00 EBP=008906f0
ECX=816ddf18 DS=016f ESI=00000030 FS=7b7f
EDX=00000000 ES=016f EDI=008906b0 GS=0000
Bytes bei CS:EIP:
8b 00 89 c2 c1 ea 1f 01 d0 d1 f8 50 db 04 24 8b
Stapelwerte:
004017f6 00000000 00000000 00000000 00000080 0076ff68 7800e9bc 78031248 ffffffff 0076fe08 780012d7 00000100 00000022 00000030 008906b0 67a4b029
It starts and sets the grapgic and then that...I don't know what to do...
Why can it work under Linux and not under Windows...:'(
Attachment.
You load a bitmap called "kugel.tga". It's in the same folder as the executable?
Your program when cannot find the bitmap throws a message box and then crashes. The crash might be the same as the one you are having here. Try running it from the command line instead of double clicking it if that fails.
I had it in the folder...
I started it some twenty times and it didn't work anytime...
And now it starts. Don't know why. But this doesn't matter...Funny
Do you want to have the grafik too? Its a circle. There should circles roll around an stay, when they meet another. Not really usefull but this was the task of the competition:)
Looks funny...
THANK YOU ALL FOR YOUR HELP!!!