0% found this document useful (0 votes)
138 views7 pages

Eclipse Community Forums - C - C++ IDE (CDT) Multiple - Could Not Be Resolved - Problems

Eclipse C++

Uploaded by

Frank Sipangkar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
138 views7 pages

Eclipse Community Forums - C - C++ IDE (CDT) Multiple - Could Not Be Resolved - Problems

Eclipse C++

Uploaded by

Frank Sipangkar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

6/27/2015

EclipseCommunityForums:C/C++IDE(CDT)Multiple"couldnotberesolved"problems

Skiptomaincontent

Download
GettingStarted
Members
Projects
Community
Marketplace
Events
PlanetEclipse
Newsletter
Videos
Participate
ReportaBug
Forums
MailingLists
Wiki
IRC
HowtoContribute
WorkingGroups
Automotive
InternetofThings
LocationTech
LongTermSupport
PolarSys
Science
More
https://www.eclipse.org/forums/index.php/t/636348/

1/7

6/27/2015

EclipseCommunityForums:C/C++IDE(CDT)Multiple"couldnotberesolved"problems

Community
Marketplace
Events
PlanetEclipse
Newsletter
Videos
Participate
ReportaBug
Forums
MailingLists
Wiki
IRC
HowtoContribute
WorkingGroups
Automotive
InternetofThings
LocationTech
LongTermSupport
PolarSys
Science

Togglenavigation

1. Home
2. Projects
3. Forums

EclipseCommunityForums
https://www.eclipse.org/forums/index.php/t/636348/

ForumSearch:
Search
2/7

6/27/2015

EclipseCommunityForums:C/C++IDE(CDT)Multiple"couldnotberesolved"problems

Search Help Register Login Home


HomeLanguageIDEsC/C++IDE(CDT)Multiple"couldnotberesolved"problems
Show:Today'sMessages::ShowPolls::MessageNavigator

Sat,11January201416:50
Multiple"couldnotberesolved"problems[message#1230316]
WilliamChristie
JuniorMember
Messages:2
Registered:January2014
Hi,
Ihaverecentlyinstalled(thelatestbuildsof)'EclipseIDEforC/C++Developers'andminGWtohelpmetogetbackintoC++aftera
longtimeaway.
Ihaveadded"std=c++11"to"Otherflags"atC/C++Build/Settings/ToolSettings/GCCC++Compiler/Miscellaneous
IhaveasmallprogramutilisinganumberofC++11features(e.g.usingthechronolibrary,.emplace_back).
AfterRunIgetmultipleunresolvedissuesintheProblemswindow,asPastedbelow).
Interestingly,theprogramdoescompileandrunok.
1)Withthis,istheresomethingI'mnotsettingupinEclipsetoresolvetheseissues?
2)Whileitmightnotapplytothisforum,istherestillanissuewiththe'to_string()'functione.g.thefollowingextractdoesnotcompile:
window.setTitle("Bulletsonscreen:"+to_string(bullets.size())+"currentSlice:"+to_string(currentSlice)+"FT:"+to_string(ft)+"
FPS:"+to_string(fps))
Thanks.

DescriptionResourcePathLocationType
Symbol'duration'couldnotberesolvedchronotest.cpp/chronotest/srcline19SemanticError
Function'now'couldnotberesolvedTest2.cpp/Test2/srcline143SemanticError
Function'duration_cast'couldnotberesolvedTest2.cpp/Test2/srcline160SemanticError
https://www.eclipse.org/forums/index.php/t/636348/

3/7

6/27/2015

EclipseCommunityForums:C/C++IDE(CDT)Multiple"couldnotberesolved"problems

Function'now'couldnotberesolvedTest2.cpp/Test2/srcline158SemanticError
Symbol'chrono'couldnotberesolvedTest2.cpp/Test2/srcline8SemanticError
Type'std::centi'couldnotberesolvedchronotest.cpp/chronotest/srcline20SemanticError
Type'std::chrono::seconds'couldnotberesolvedchronotest.cpp/chronotest/srcline24SemanticError
Type'std::time_t'couldnotberesolvedchronotest.cpp/chronotest/srcline48SemanticError
Symbol'duration'couldnotberesolvedchronotest.cpp/chronotest/srcline47SemanticError
Function'now'couldnotberesolvedchronotest.cpp/chronotest/srcline44SemanticError
Function'now'couldnotberesolvedchronotest.cpp/chronotest/srcline39SemanticError
Type'std::chrono::system_clock'couldnotberesolvedchronotest.cpp/chronotest/srcline38SemanticError
Function'end'couldnotberesolvedTest2.cpp/Test2/srcline214SemanticError
Symbol'time_point'couldnotberesolvedchronotest.cpp/chronotest/srcline38SemanticError
Function'end'couldnotberesolvedTest2.cpp/Test2/srcline212SemanticError
Type'milli'couldnotberesolvedTest2.cpp/Test2/srcline161SemanticError
Method'count'couldnotberesolvedTest2.cpp/Test2/srcline161SemanticError
Symbol'duration_cast'couldnotberesolvedTest2.cpp/Test2/srcline160SemanticError
Symbol'duration'couldnotberesolvedTest2.cpp/Test2/srcline161SemanticError
Method'count'couldnotberesolvedchronotest.cpp/chronotest/srcline51SemanticError
Symbol'duration_cast'couldnotberesolvedchronotest.cpp/chronotest/srcline30SemanticError
Method'count'couldnotberesolvedchronotest.cpp/chronotest/srcline30SemanticError
Function'to_time_t'couldnotberesolvedchronotest.cpp/chronotest/srcline48SemanticError
Method'count'couldnotberesolvedchronotest.cpp/chronotest/srcline32SemanticError
Function'ctime'couldnotberesolvedchronotest.cpp/chronotest/srcline50SemanticError
Method'count'couldnotberesolvedchronotest.cpp/chronotest/srcline33SemanticError
Symbol'duration'couldnotberesolvedchronotest.cpp/chronotest/srcline22SemanticError
Invalidarguments'
Candidatesare:
__gnu_cxx::__normal_iterator<Bullet*,std::vector<Bullet,std::allocator<Bullet>>>erase(__gnu_cxx::__normal_iterator<Bullet
*,std::vector<Bullet,std::allocator<Bullet>>>)
__gnu_cxx::__normal_iterator<Bullet*,std::vector<Bullet,std::allocator<Bullet>>>erase(__gnu_cxx::__normal_iterator<Bullet
*,std::vector<Bullet,std::allocator<Bullet>>>,__gnu_cxx::__normal_iterator<Bullet*,std::vector<Bullet,std::allocator<Bullet>>>)
'Test2.cpp/Test2/srcline212SemanticError
Symbol'ratio'couldnotberesolvedchronotest.cpp/chronotest/srcline22SemanticError
Invalidarguments'
Candidatesare:
#0remove_if(#0,#0,#1)
'Test2.cpp/Test2/srcline212SemanticError
Symbol'duration_cast'couldnotberesolvedchronotest.cpp/chronotest/srcline28SemanticError
Method'count'couldnotberesolvedchronotest.cpp/chronotest/srcline28SemanticError
https://www.eclipse.org/forums/index.php/t/636348/

4/7

6/27/2015

EclipseCommunityForums:C/C++IDE(CDT)Multiple"couldnotberesolved"problems

Method'emplace_back'couldnotberesolvedTest2.cpp/Test2/srcline191SemanticError
Symbol'ratio'couldnotberesolvedchronotest.cpp/chronotest/srcline19SemanticError
Symbol'duration'couldnotberesolvedchronotest.cpp/chronotest/srcline20SemanticError
Symbol'duration'couldnotberesolvedchronotest.cpp/chronotest/srcline21SemanticError
Function'begin'couldnotberesolvedTest2.cpp/Test2/srcline212SemanticError
Symbol'ratio'couldnotberesolvedchronotest.cpp/chronotest/srcline21SemanticError
Reportmessagetoamoderator

Re:Multiple"couldnotberesolved"problems[message#1231107isareplytomessage#1230316] Mon,13January201421:18
WilliamChristie
JuniorMember
Messages:2
Registered:January2014
Ifoundworkingsolutionstotheseproblems(thankstoNablaandGoogle):
"GotoProject>Properties>C/C++General>PreprocessorIncludePaths,Macros,etc.>Providers>CDTGCCbuiltincompiler
settings,deactivateUseglobalprovidersharedbetweenprojectsandaddthecommandlineargumentstd=c++11.
Theeclipselivecodeanalysisdoesnotsharethesamesettingswiththebuildcompiler.Youcanalsochangethesettingglobally(notjust
fortheproject)inWindow>Preferences>C/C++>Build>Settings>CDTGCCBuiltinCompilerSettings."
Asforthe"to_string"functionbeingnotrecognisedIfoundoutthatinordertogetthisfunctiontoworkinminGWyou(currently)have
todownloadusingtheminGWw64fork(afterreadinglinkssuchasgcc.gnu.org/bugzilla/show_bug.cgi?id=52015thenusingthelinksin
rioki.org/2013/10/16/mingww64.html).
Hopethishelpsothers.

Reportmessagetoamoderator

GotoForum:

C/C++IDE(CDT)

https://www.eclipse.org/forums/index.php/t/636348/

Go

PreviousTopic: Problemwithcreationofproject
NextTopic:
CDTnotrecognizingINandOUTkeywords
5/7

6/27/2015

EclipseCommunityForums:C/C++IDE(CDT)Multiple"couldnotberesolved"problems

=]BacktoTop[=
[Syndicatethisforum(XML)][

CurrentTime:SatJun2713:39:06GMT2015
PoweredbyFUDForum.Pagegeneratedin0.02250seconds
.::Contact::Home::.
Poweredby:FUDforum3.0.2.
Copyright20012010FUDforumBulletinBoardSoftware
Backtothetop

EclipseFoundation
Aboutus
ContactUs
Donate
Governance
LogoandArtwork
BoardofDirectors

Legal
PrivacyPolicy
TermsofUse
CopyrightAgent
EclipsePublicLicense
LegalResources

UsefulLinks
ReportaBug
Documentation
HowtoContribute
MailingLists
https://www.eclipse.org/forums/index.php/t/636348/

6/7

6/27/2015

EclipseCommunityForums:C/C++IDE(CDT)Multiple"couldnotberesolved"problems

Forums
Marketplace

Other
IDEandTools
CommunityofProjects
WorkingGroups

Copyright2014TheEclipseFoundation.AllRightsReserved.
Backtothetop

https://www.eclipse.org/forums/index.php/t/636348/

7/7

You might also like