Finding C++ Library with CDT 9.4 on Eclipse Oxygen S2 [message #1780131] |
Wed, 17 January 2018 18:34 |
Michael Murdock Messages: 26 Registered: May 2014 Location: Pittsburgh, PA |
Junior Member |
|
|
I have a project built as a shared library (no main).
For project settings>>
C/C++ Build>>Setting>>Tool Settings>>Cross G++ Compiler>>Includes
is blank (no includes)
C/C++ General>>Preprocessor Include Paths, Macros has the following checked
* CDT Cross GCC Built-in Compiler Settings
* CDT GCC Built-in Compiler Settings
* CDT Libtool GCC Build Output Parser
* CDT Managed Build Setting Entries [Shared]
Since I'm not using Cygwin nor MinGW these are not set.
I'm not sure what else needs to be set.
The console says it built no complaint. Yet looking at the cpp files, all of the std library #include statements have a red annotation showing instance not resolved.
Not sure what to do next.
As for a regular C++ project either as a new project or one based one source (w/ main) works fine.
I have looked around in the filesystem and have not found where the C++ library files are kept. Please clue me in on what I am missing.
A solution can not be found to a problem
with the same mind that created it.
- Albert Einstein
|
|
|
|
|
|
Re: Finding C++ Library with CDT 9.4 on Eclipse Oxygen S2 [message #1780279 is a reply to message #1780278] |
Fri, 19 January 2018 15:22 |
Michael Murdock Messages: 26 Registered: May 2014 Location: Pittsburgh, PA |
Junior Member |
|
|
I just went through all links regarding "Help", "Getting Started" which in the end just point to this forum.
However, I have learned some things:
1. In another link here, "Why do I have to jump through so many hoops?"; 2nd response, I learned of getting a tool MinSys2.
Apparently a minimal Cygwin w/ MinGW toolchain available. Setting this up it worked. Which begs the question of #2.
2. For a Windows installation of Eclipse, is it the responsibility of the installer to get his own Toolchain??
3. I learned that both Linux and Mac OS (OS X) already have GNU tools installed as part of OS. Only Windows left out in Cold.
4. As previous response to mine said "did I read the "instruction from Eclipse Help, CDT section"?
Answer: No, I didn't find any such instructions. Would you or anyone, like to provide a link?
As it stands, I find I still don't have the toolchain for Clang or LLVM. I suppose the same procedure applies???
A solution can not be found to a problem
with the same mind that created it.
- Albert Einstein
|
|
|
Re: Finding C++ Library with CDT 9.4 on Eclipse Oxygen S2 [message #1780287 is a reply to message #1780279] |
Fri, 19 January 2018 15:40 |
Michael Murdock Messages: 26 Registered: May 2014 Location: Pittsburgh, PA |
Junior Member |
|
|
I did find a link at CDT that pointed to a CodeProject website that pointed to the MinGW website already mentioned above. So I guess for Windows, I got my answer. I
think I understand now why Windows is such a despised OS. I don't like it much myself. I guess you can close this thread now.
A solution can not be found to a problem
with the same mind that created it.
- Albert Einstein
|
|
|
Powered by
FUDForum. Page generated in 0.02709 seconds