Programs don't run.

Previous topic - Next topic

Ond

I recently installed GLBasic DEMO and tried to write something for me to display.
Code:
SETSCREEN 600,400,0

PRINT "Hello World", 10, 10
SHOWSCREEN
MOUSEWAIT
END

and when i hit the F5 button for it to run, it doesn't load...and i get:
_______________________________________
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.2008.210 - 2D, WIN32
TEST.gbas (failed to open)
Wordcount:0 commands

compiling:

linking:
success
_______________________________________
*** Finished ***
Elapsed: 3.4 sec. Time: 18:14
Build: 1 succeeded.

Start debug session.


I run Windows Vista on a laptop.

PeeJay

You need to start a new project, not a new file.

This might seem a little confusing at first, but it makes sense - you can have multiple files all in one project. The project file will be a ????.gbap, and the files themselves will be ????.gbas

Hopefully that makes sense.

Also, you may find my tutorials useful on my website.
www.peejays-remakes.co.uk
For games, remakes, and GL Basic Tutorials
Artificial Intelligence is no match for Natural Stupidity

Ond

I start a new project...i also changed the folder of the projects.

and still can't run.

Kuron

Try the hello world example project?  Does it run?

Ond


Moru

Seems the compiler can't open the file. Check so the file "TEST.gbas" realy exists where you saved the project. Also check so you have permissions in that folder and that the harddrive isn't full?
Can't think of anything else right now, weird error...

Moru

Oh, try to load one of the examples in the samples folder and see if they run.

Ond

Done all of them...nothing works.. :sick:
just opens the black window says "Loading..." and closes.

Kuron

Since you are using Vista  :puke: are you sure you have your permissions set properly for your folder you are creating the EXE in?

Ond

Guyz problem solved...i changed Hard Disk and it works perfectly...for some reason the precompiler doesn't work on the hard disk Windows Vista are installed.

Thanks for your help anyway :good:

Moru

I was guessing that, permissions :-) Change to XP :-P

Kuron

Quote from: Moru on 2008-Aug-05
Change to XP :-P
Cures ALL Vista issues  :good:

Kitty Hello

but.... you did open the samples in your "homepath", that is the path you chose when you started the program first time. Not the ones in C:\program Files\GLBasic\Samples, did you?