PDA

View Full Version : Two Questions



Dude101
08-25-2001, 02:48 PM
Something really stupid is happening with my Linux Compiler. First of all, I use RedHat when I program in Linux, and I use RedHat's default compiler. The First problem is that when I compile using any class whatsoever it sends an error message, that is not relevant to the situation. I forgot what the message was. The second is, I can't find the library file "conio.h".

Flarelocke
08-25-2001, 07:51 PM
Problem 1:
What version of gcc are you using?(rpm --query gcc) Versions of gcc prior to 3.0 don't use libstdc++.so by default(although they do use libstd.so), so you have to put -lstdc++ on the command line. I think automake creates a makefile that puts those things on the command line for you.

Problem 2:
I think conio is windows specific. There's other things to do that stuff, of course. Unfortunately, I'm not sure what it is.

gamegod3001
08-25-2001, 08:51 PM
>I think conio is windows specific. There's other things to do that stuff, of course. Unfortunately, I'm not sure what it is.>

I belive it is curses.h (cheak the programming faq)