Err: "conio.h: No such file or directory" ? [message #152635] |
Tue, 30 August 2005 11:47  |
Eclipse User |
|
|
|
Originally posted by: asser.fahrenholz.dk
Hello
I'm using CDT with Eclipse, and it seem to work fine, but when trying to use
getche() in the conio.h, it cannot find the package..
Any ideas ?
Importing iostream.h works just fine...
Regards, Asser
|
|
|
|
Re: "conio.h: No such file or directory" ? [message #152697 is a reply to message #152681] |
Tue, 30 August 2005 17:49  |
Eclipse User |
|
|
|
Originally posted by: terry.thrift.com
adding the directory path ( in my case C:\cygwin\usr\include\mingw ) of the
conio.h file as a compiler include directory in the C++ project properties
told the indexer where to look.
So things might work now. (Added 2 flags and 1 include )
-Terry-
"Terry Thrift" <terry@thrift.com> wrote in message
news:df2im5$1cl$1@news.eclipse.org...
> Asser:
>
> I am/was having the same problem running the current Cygwin release along
> with eclipse 3.1 and CDT 3.0 under WinXPsp2 when using a managed make C++
> project.
>
> Unfortunately I'm not experienced with g++/cygwin/mingw. So the easy
> things like this are hard. After a lot of searching around on other sites
> I decided to add the argument
> -mno-cygwin
> as a misc compiler flag and
> as a misc linker flag in the
> C++ project properties.
>
> This has partially solved the problem.
> The code will now compile and link since g++ knows to look in the right
> spots.
>
> Ouch!
> However, now the C/C++ Indexer has a problem finding the preprocessor
> inclusion <conio.h>.
>
> I've rebuilt the project a few times restarted eclipse and rebuilt again
> and the Indexing issue has not resolved itself.
>
> So maybe this will help a bit.
>
> -Terry-
>
>
>
>
> "Asser" <asser@fahrenholz.dk> wrote in message
> news:df1uus$6ug$1@news.eclipse.org...
>> Hello
>>
>> I'm using CDT with Eclipse, and it seem to work fine, but when trying to
>> use getche() in the conio.h, it cannot find the package..
>>
>> Any ideas ?
>>
>> Importing iostream.h works just fine...
>>
>> Regards, Asser
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04049 seconds