LibVT
LibVT
Hi !
Anyone got any luck with libvt on xtc68 ? I get Undefined Symbol: '___ANSICONF__' when trying to compile using -lvt. I know that libvt was written for C68, but....
I´m going nuts trying to find some kind of equivalent to a conio-like library.
Anyone solved this ?
Anyone got any luck with libvt on xtc68 ? I get Undefined Symbol: '___ANSICONF__' when trying to compile using -lvt. I know that libvt was written for C68, but....
I´m going nuts trying to find some kind of equivalent to a conio-like library.
Anyone solved this ?
Re: LibVT
Put the "-lvt" to the end of the command line and you should be fine.SM7I wrote:qcc -lvt test.c -o test
Linker command lines are sensitive to the order of options. "-lvt" at the beginning tells the linker "first look for any unknown symbols in libvt_a and resolve all, then compile and link test.c with the standard libraries". At the point "-lvt" is done, there are no unknown symbols (yet, because test.c is compiled later), thus nothing from libvt is actually pulled into your program.
Tobias
ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
-
- Font of All Knowledge
- Posts: 3932
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: LibVT
Hi,
I was going to port ncurses to C68, do you think this would be of any use?
I was going to port ncurses to C68, do you think this would be of any use?
Regards,
Derek
Derek