[cmake-developers] [CMake 0015277]: Nvidia Nsight (eclipse cdt for CUDA) error parsing broken
Mantis Bug Tracker
mantis at public.kitware.com
Wed Dec 3 05:20:44 EST 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15277
======================================================================
Reported By: Georg Altmann
Assigned To:
======================================================================
Project: CMake
Issue ID: 15277
Category: CMake
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-12-03 05:20 EST
Last Modified: 2014-12-03 05:20 EST
======================================================================
Summary: Nvidia Nsight (eclipse cdt for CUDA) error parsing
broken
Description:
When using cmake -G"Eclipse CDT4 - Unix Makefiles" with the FindCUDA.cmake
module for generating Eclipse projects for NVidia Nsight, error parsing does not
work in Eclipse. NVidia Nsight is a beefed up version of Elcipse CDT.
Enabling the "nvcc error parser" in "project->properties->C/C++ Make
Project->Error Parsers" and moving it to the top of the list in the project
properties has no effect.
Tested cmake versions:
cmake version 2.8.12.2 (Ubuntu 14.04.1 LTS)
cmake version 3.1.0-rc2 (built from source)
CUDA 6.5
Nsight Eclipse Edition 6.5
Eclipse C/C++ Development Tools Version: 8.1.2.nvidia-qualifier
Steps to Reproduce:
System Requirements: Have GCC/g++, CUDA and Nsight installed.
1. Download cudaproj.tar.gz from this bug.
2. Extract cudaproj.tar.gz
3. mkdir cudaproj-build && cd cudaproj-build
4. cmake -G"Eclipse CDT4 - Unix Makefiles" ../cudaproj
5. Import the project from cudaproj-build into Nsight,
6. Build the project.
7. In the console the compiler error ".../cudaproj/regular.cpp:3:2: error:
‘C’ was not declared in this scope" is highlighted, double-clicking on it
opens regular.cpp and the cursor is on line 3.
8. In the console the compiler error "cudaproj.cu(4): error: identifier
"syntax" is undefined" is _not_ highlighted while it should be.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-12-03 05:20 Georg Altmann New Issue
2014-12-03 05:20 Georg Altmann File Added: cudaproj.tar.gz
======================================================================
More information about the cmake-developers
mailing list