Memo-migrated‎ > ‎

CMake + MPI/Eclipse

posted Jun 23, 2011, 9:37 PM by Teng-Yok Lee   [ updated Jan 2, 2021, 7:49 PM ]

CMake + MPI:

CMake + Eclipse

Eclipse for remote C/C++ project (Created by CMake)

On Juno, the procedure for CMake + Eclipse should be revised. To build a remote makefile project, the toolchain is not Other Toolchain. (If you choose Other Toolchain, you will get the error 'collect2: cannot find ld.' in the linking stage.)

The procedure is listed as follows:

Chose menu: File -> New -> Project

In the wizard:
  1. Remote -> remote C/C++ project -> Next
  2. Setup Project Name for your own convenience, set Remote Provider as Remote Tools, Connection as the host, Location as the path on the remote machine, and set Project type as Remote Makefile Project -> Empty Project -> Then choose Toolchains as Remote Linux GCC Tool Chain. -> Next
  3. Then you can click the button Finalize or Next to further customize the project.