Page 1 of 1

A VERY weird problem on ubuntu.

Posted: Wed Dec 01, 2010 5:43 pm
by naputtelija
Ok, first i tried simple helloworld program:

Code: Select all

    OpenConsole()
    PrintN("hello world")
    Repeat
      Delay(1)
    Until Inkey() <> ""
And it compiled the program, and a message appeared saying that the program is running. But i couldn't see anything! Nothing appeared on the screen. No console or a program of any kind.

Next i tried including a "2ddrawing" file, and a message appeared saying file not found. The both problems must have something to do with my ubuntu OS. Is there something special I need to do with ubuntu? Configure settings, perhaps? Or is there different kind of code for ubuntu?

Re: A VERY weird problem on ubuntu.

Posted: Wed Dec 01, 2010 6:29 pm
by c4s
Without knowing anything about Linux I think this topic will help you out: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux

Re: A VERY weird problem on ubuntu.

Posted: Wed Dec 01, 2010 8:27 pm
by Trond
Set the executable type to console in the IDE, and the IDE will open a console window so you can see your program.

Re: A VERY weird problem on ubuntu.

Posted: Sun Dec 05, 2010 4:49 am
by GBeebe
also, if you ./purebasic from a terminal, all Print and PrintN outputs will go to that terminal.