ConsoleColor, possible ?

Linux specific forum
newbie
Enthusiast
Enthusiast
Posts: 296
Joined: Tue Jul 29, 2003 5:47 pm
Location: FRANCE
Contact:

ConsoleColor, possible ?

Post by newbie »

Hi,

after to have read in the help file that we couldn't use the Console commands on Linux, I have read here that we can (the help file needs to be updated).
But now, when I am trying to use the ConsoleColor() function, the compiler returns :
purebasic.o(.text+0x43): In function 'main' :
: undefined reference to 'PB_ConsoleColor'
collect2 : Id returned 1 exit status
the code was simply :

Code: Select all

If OpenConsole()
    ConsoleColor(2, 0)
    PrintN("Hello world")
    CloseConsole() 
EndIf

End
no colors on Linux ?
- Registered PB user -

Using PB 4.00