GLBasic forum

Main forum => Bug Reports => Topic started by: shaftusmaximus on 2009-Aug-09

Title: Error: cannot find -lGLBasic-console
Post by: shaftusmaximus on 2009-Aug-09
This simple code (I have tried with SHOWSCREEN and without):

STDOUT "hello"
//SHOWSCREEN
KEYWAIT

This error:

linking:
D:\GLBasic\Compiler\platform\Win32\Bin\ld.exe: cannot find -lGLBasic-console
*** FATAL ERROR - Please post this output in the forum
Title: Re: Error: cannot find -lGLBasic-console
Post by: Moru on 2009-Aug-10
Works fine for me in version 7.061 and I used both those commands in earlier versions too without any troubles. Just remember that SHOWSCREEN isn't useful in console programs since there is no grafics to update.

Could it be so that you haven't activated console programs in project options? STDOUT is only meant for output of text to the console. If you want to type something on a grafical screen you need to use PRINT "Hello", 50, 50
Title: Re: Error: cannot find -lGLBasic-console
Post by: shaftusmaximus on 2009-Aug-10
Console was activated in project options.  As for showscreen, I tried it both ways, because I was trying anything I could think of to fix the problem.  As you can see, it is commented out above.

Perhaps you can tell me whether there is supposed to be a GLBasic-console program installed on my system, and if so, where?  I can tell you that there is no such program installed on my system.  If it is required, is there any way for me to download it?
Title: Re: Error: cannot find -lGLBasic-console
Post by: Kitty Hello on 2009-Aug-10
Did you install V7-RC2?

Find the file: Program Files\GLBasic\Compiler\platform\Win32\Lib and see if there's a libGLBasic-console.a inside.
Title: Re: Error: cannot find -lGLBasic-console
Post by: shaftusmaximus on 2009-Aug-10
What is v7-rc2?  I just installed the trial from the internet.

I checked the directory you posted.  There is no libBLBasic-console.a inside.  I uninstalled and reinstalled, but still have the same problem.

Is it possible the installer is missing the file?
Title: Re: Error: cannot find -lGLBasic-console
Post by: Schranz0r on 2009-Aug-10
http://www.glbasic.com/beta/glbasic_sdk_7rc2.exe

Have fun ;)
Title: Re: Error: cannot find -lGLBasic-console
Post by: shaftusmaximus on 2009-Aug-11
Downloaded v7-rc2.  Problem solved - thanks.
Title: Re: Error: cannot find -lGLBasic-console
Post by: Kitty Hello on 2009-Aug-11
please install the release version from the main site. It's out since yesterday night.