Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Importing Cmake Projekt into Eclipse/ Crosscompiler
Importing Cmake Projekt into Eclipse/ Crosscompiler [message #1794499] Fri, 31 August 2018 13:28
Martin Marmsoler is currently offline Martin MarmsolerFriend
Messages: 1
Registered: August 2018
Junior Member

I'm trying to import the attached program into eclipse by generating the project file from the cmake skript.
cmake -DCMAKE_TOOLCHAIN_FILE=toolchain-rpi.cmake -G "Eclipse CDT4 - Ninja" -DCMAKE_BUILD_TYPE=Debug

As compiler I use the arm-raspian compiler to compile it for the Raspberry Pi (

Importing works fine and also the compiling and the linking works fine, but when I look at the main.cpp file I get the error annotations "Unresolved inclusion: <iostream>".

When I create a new project from eclipse with specifying the same cross compiler, this problem does not exist.

Is there something special I have to specify to not get this error annotations?
Is there a possibility to create the .project and the .cproject next to the CMakelists.txt file and the generated file in a build folder?

Best regards,


  • Attachment:
    (Size: 6.08KB, Downloaded 36 times)
Previous Topic:Dynamically unload a UI plugin
Next Topic:Configuring slave devices to interface with Operator Console
Goto Forum:

Current Time: Mon Jul 13 19:14:12 GMT 2020

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

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

Back to the top