Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Re: CDT build error + properties
Re: CDT build error + properties [message #178594] Thu, 19 October 2006 06:01 Go to next message
Eclipse UserFriend
Derek Morris wrote:
> 1. You need to ensure you have all the build tools. Try typing 'make' from the command line. If it is not found, then you need to get one (if you have mingw, try msys).
>
i've installed MSYS
"make" command worked but i got new error message when i try to "build
make target"

--------------------------------------------
make -k all
g++ -c -g main.cpp
main.cpp:1:20: no include path in which to search for iostream
main.cpp:2:18: no include path in which to search for string
main.cpp: In function `int main()':
main.cpp:7: error: `string' undeclared (first use this function)
main.cpp:7: error: (Each undeclared identifier is reported only once for
each function it appears in.)
main.cpp:7: error: expected `;' before "yourName"
main.cpp:9: error: `cout' undeclared (first use this function)
main.cpp:10: error: `cin' undeclared (first use this function)
main.cpp:10: error: `yourName' undeclared (first use this function)
main.cpp:11: error: `endl' undeclared (first use this function)
make: *** [main.o] Error 1
make: Target `all' not remade because of errors.
--------------------------------------------

>> 3- is CDT consist of GUI editor like VE for JDT ?
> 3. Yes

can you give me a link about it ? I'm using yoxos.com distribution of
eclipse

>> 4- is CDT consist of M$ Windows or/and Linux documentation (like M$
>> VC++) ? if not, how i can them to merge into it ?
> 4. Yes and No. There is some documentation provided with CDT and theres are tutorial. But as standard there is no Windows/Linux API documentation.
can you give me a link about best offline reference for Win/Lin API



--
Best Regards تحياتي
Muhammad Bashir Al-Noimi محمد بشير النعيمي

مدونتي My Blog
http://www.hali-sy.net/bashir
Re: CDT build error + properties [message #178602 is a reply to message #178594] Thu, 19 October 2006 06:18 Go to previous message
Eclipse UserFriend
Originally posted by: dmsubs.NOSPAM.consertum.com

1. It doesn't look like you have your C++ compiler installed correctly as it
cannot find the standard header files <iostream> and <string>. I can't help you
with this. It also looks like you have syntax errors in your source.

3. Try the Visual Editor project: http://www.eclipse.org/vep/WebContent/main.php

4. Windows - look on the Microsoft website.
Linux - a good place to start would be the Linux documentation project:
http://tldp.org/

HTH
--
Derek


M. Bashir Al-Noimi wrote:
> Derek Morris wrote:
>> 1. You need to ensure you have all the build tools. Try typing 'make' from the command line. If it is not found, then you need to get one (if you have mingw, try msys).
>>
> i've installed MSYS
> "make" command worked but i got new error message when i try to "build
> make target"
>
> --------------------------------------------
> make -k all
> g++ -c -g main.cpp
> main.cpp:1:20: no include path in which to search for iostream
> main.cpp:2:18: no include path in which to search for string
> main.cpp: In function `int main()':
> main.cpp:7: error: `string' undeclared (first use this function)
> main.cpp:7: error: (Each undeclared identifier is reported only once for
> each function it appears in.)
> main.cpp:7: error: expected `;' before "yourName"
> main.cpp:9: error: `cout' undeclared (first use this function)
> main.cpp:10: error: `cin' undeclared (first use this function)
> main.cpp:10: error: `yourName' undeclared (first use this function)
> main.cpp:11: error: `endl' undeclared (first use this function)
> make: *** [main.o] Error 1
> make: Target `all' not remade because of errors.
> --------------------------------------------
>
>>> 3- is CDT consist of GUI editor like VE for JDT ?
>> 3. Yes
>
> can you give me a link about it ? I'm using yoxos.com distribution of
> eclipse
>
>>> 4- is CDT consist of M$ Windows or/and Linux documentation (like M$
>>> VC++) ? if not, how i can them to merge into it ?
>> 4. Yes and No. There is some documentation provided with CDT and theres are tutorial. But as standard there is no Windows/Linux API documentation.
> can you give me a link about best offline reference for Win/Lin API
>
>
>
Previous Topic:Customization of header templates
Next Topic:Excluding files from a managed make build
Goto Forum:
  


Current Time: Sun Jul 27 06:19:48 EDT 2025

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

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

Back to the top