Page 1 of 1

ConsoleColor, possible ?

Posted: Thu Aug 26, 2004 7:36 pm
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 ?