Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Multiple "could not be resolved" problems
Multiple "could not be resolved" problems [message #1800438] Fri, 28 December 2018 04:02 Go to next message
Eclipse UserFriend
I have recently installed (the latest builds of) 'Eclipse IDE for C/C++ Developers' and minGW to help me to get back into C++ after a long time away.

I have added "-std=c++11" to "Other flags" at C/C++ Build/Settings/Tool Settings/GCC C++ Compiler/Miscellaneous

I have a small program utilising a number of C++11 features (e.g. using the chrono library, .emplace_ba


After Run I get multiple unresolved issues in the Problems window, as Pasted below).

Interestingly, the program does compile and run ok.

1) With this, is there something I'm not setting up in Eclipse to resolve these issues?

2) While it might not apply movies download movies at forum to this forum, is there still an issue with the 'to_string()' function e.g. the following extract does not compile:

window.setTitle("Bullets on screen: " + to_string(bullets.size()) + " currentSlice: " + to_string(currentSlice) + " FT: " + to_string(ft) + " FPS: " + to_string(fps));

[Updated on: Sun, 30 December 2018 00:00] by Moderator

Re: Multiple "could not be resolved" problems [message #1800467 is a reply to message #1800438] Fri, 28 December 2018 23:22 Go to previous message
Eclipse UserFriend
"not be resolved" are Indexer problems.
Tool Settings only affect the Makefile produced by Eclipse/CDT.
You need to fix the Builtins Provider in
Project --> Properties --> C/C++ General --> Preprocessor Include Paths, Macros etc. --> Providers tab
Set the command line to
${COMMAND}  -std=c++11 ${FLAGS} -E -P -v -dD "${INPUTS}"

As for 'to_string()' , what compile error are you getting?

Previous Topic:Formatted IO functions prefixes
Next Topic:Refreshing the file list
Goto Forum:
  


Current Time: Sat Jul 12 20:33:16 EDT 2025

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

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

Back to the top