Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Err: "conio.h: No such file or directory" ?
Err: "conio.h: No such file or directory" ? [message #152635] Tue, 30 August 2005 11:47 Go to next message
Eclipse UserFriend
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 #152681 is a reply to message #152635] Tue, 30 August 2005 17:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: terry.thrift.com

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
>
Re: "conio.h: No such file or directory" ? [message #152697 is a reply to message #152681] Tue, 30 August 2005 17:49 Go to previous message
Eclipse UserFriend
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
>>
>
>
Previous Topic:cdt 3.0.0 under linux : Could not install bundle
Next Topic:tab settings
Goto Forum:
  


Current Time: Tue Jun 10 01:43:31 EDT 2025

Powered by FUDForum. Page generated in 0.04049 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top