Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » Need it compiled for Windows

This thread is locked; no one can reply to it. rss feed Print
Need it compiled for Windows
Stefan Toman
Member #5,739
April 2005

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!

ReyBrujo
Moderator
January 2001
avatar

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.

--
RB
光子「あたしただ…奪う側に回ろうと思っただけよ」
Mitsuko's last words, Battle Royale

Stefan Toman
Member #5,739
April 2005

I don't know my version, but it's the one on the SuSE 9.1-CD.

I attached the source...

Thank you!

HoHo
Member #4,534
April 2004
avatar

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)

__________
In theory, there is no difference between theory and practice. But, in practice, there is - Jan L.A. van de Snepscheut
MMORPG's...Many Men Online Role Playing Girls - Radagar
"Is Java REALLY slower? Does STL really bloat your exes? Find out with your friendly host, HoHo, and his benchmarking machine!" - Jakub Wasilewski

Stefan Toman
Member #5,739
April 2005

Under Linux it works....

I changed it...

Oscar Giner
Member #2,207
April 2002
avatar

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.

ReyBrujo
Moderator
January 2001
avatar

Compiles fine with MinGW 2.95.3-6 with 4.1.14 and 3.2.3 with 4.2.0.

--
RB
光子「あたしただ…奪う側に回ろうと思っただけよ」
Mitsuko's last words, Battle Royale

Stefan Toman
Member #5,739
April 2005

<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"?

ReyBrujo
Moderator
January 2001
avatar

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.

--
RB
光子「あたしただ…奪う側に回ろうと思っただけよ」
Mitsuko's last words, Battle Royale

Stefan Toman
Member #5,739
April 2005

Ok, I don't have this file here. Where can I download it?

ReyBrujo
Moderator
January 2001
avatar

Attached the DLL you need, zipped.

--
RB
光子「あたしただ…奪う側に回ろうと思っただけよ」
Mitsuko's last words, Battle Royale

Stefan Toman
Member #5,739
April 2005

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...:'(

Hrvoje Ban
Member #4,537
April 2004
avatar

Attachment.

Oscar Giner
Member #2,207
April 2002
avatar

You load a bitmap called "kugel.tga". It's in the same folder as the executable?

ReyBrujo
Moderator
January 2001
avatar

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.

--
RB
光子「あたしただ…奪う側に回ろうと思っただけよ」
Mitsuko's last words, Battle Royale

Stefan Toman
Member #5,739
April 2005

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 :D

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!!!

Go to: