Can't compile Demos under Linux

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by RuLeZ.

Hi,

I absolutly new and have just purchased PB. The problem is that the demos
(Menu.pb) won't compile.

This is the console output:

******************************************
PureBasic Linux x86 v2.90
******************************************

Loading external modules...
Starting compilation (91 lines processed).
Creating the executable.
PureBasic.asm:246: mismatch in operand sizes
PureBasic.asm:259: mismatch in operand sizes
PureBasic.asm:272: mismatch in operand sizes
PureBasic.asm:281: mismatch in operand sizes
PureBasic.asm:299: mismatch in operand sizes
gcc: PureBasic.o: No such file or directory

- Feel the ..PuRe.. Power -
sh: ./PureBasic.exe: No such file or directory


what went wrong????

BTW: I have installed the NAsm 0.98 (rpm) !!

Thanks
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

I'v tested it with Pure 2.9 and Suse 7.3.All went fine.
For Compiling, you have to change the directoy to the compilers.
(Its written in the Readme)
Some questions,
Did any source compile or no one ?
did you load the rpm's from the PureBasicHomepage or just another one ?
Have you installed the Gnome libs ?
What linux version do you use ?


Its a long way to the top if you wanna .....CodeGuru

Edited by - Rings on 13 March 2002 18:47:03
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by RuLeZ.

well, I tested it again on my SuSE 7.3 (Kernel 2.4.16) at home
and what can I say! It works!
On my nearly identical SuSE 7.3 (Kernel 2.4.16) at work it won't !!!

The only thing is the message_requester() won't work... :-((

Cause I wanna develop a frontend application for a webdatabase....

any clues?

Thanx
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

Nice to hear rulez , that it works now.I have also some massive problems while evaluating the version.But if i have installed everything(developer) from the Suse it works fine now(We have to find out which libs all needed).For the Messagerequester, its not a bug, fred hasn't implemented it yet(it only outputs to the console), but he has it done for the next version.So for the first time we have to do our own Messagerequester(not so difficult) .
I have done some tests (converting source from Windows to Linux Pure) to find out that some commands works a bit others than those in Linux.Some libs are still missing.If think i should post this list onto the linux-section to avoid making other errors.
And at last, Welcome to the Linux-PureBasic-user's .

Its a long way to the top if you wanna .....CodeGuru
Post Reply