Author Topic: Error: cannot find -lGLBasic-console  (Read 2261 times)

shaftusmaximus

  • Guest
Error: cannot find -lGLBasic-console
« 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

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1787
    • View Profile
    • Homepage
Re: Error: cannot find -lGLBasic-console
« Reply #1 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

shaftusmaximus

  • Guest
Re: Error: cannot find -lGLBasic-console
« Reply #2 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?

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10745
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Error: cannot find -lGLBasic-console
« Reply #3 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.

shaftusmaximus

  • Guest
Re: Error: cannot find -lGLBasic-console
« Reply #4 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?

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5064
  • O Rly?
    • View Profile
I <3 DGArray's :D

PC:
AMD Ryzen 7 1700 @3.9GHz, 16GB HyperX Fury 3000MHz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

shaftusmaximus

  • Guest
Re: Error: cannot find -lGLBasic-console
« Reply #6 on: 2009-Aug-11 »
Downloaded v7-rc2.  Problem solved - thanks.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10745
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Error: cannot find -lGLBasic-console
« Reply #7 on: 2009-Aug-11 »
please install the release version from the main site. It's out since yesterday night.