View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014845CMakeCMakepublic2014-03-27 08:522016-06-10 14:31
ReporterFrancisANDRE 
Assigned ToKitware Robot 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformCYGWIN_NT-6.1 idefix 1.7.28(0.27OSOS Version
Product VersionCMake 2.8.11.2 
Target VersionFixed in Version 
Summary0014845: invalid generated -I path for JNI includes on cygwin
DescriptionHi

Below is a copy of the generated flags which includes the path for the java JNI headers. The "C:/Progra~1/Java/jdk1.7.0_51/include" is concatenated to the previous path while it should be set as a standalone include path as

-I"C:/Progra~1/Java/jdk1.7.0_51/include"

# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8

# compile C with /usr/bin/cc
C_FLAGS = -I/usr/local/include -I"/cygdrive/z/dev/llvm/x64/jllvm/src/org/jllvm/bindings/C:/Progra~1/Java/jdk1.7.0_51/include" -I"/cygdrive/z/dev/llvm/x64/jllvm/src/org/jllvm/bindings/C:/Progra~1/Java/jdk1.7.0_51/include/win32"

C_DEFINES = -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Djllvm_EXPORTS
Steps To ReproduceUnder cygwin, rnu cmake with this CMakeLists.txt

$ cat CMakeLists.txt
cmake_minimum_required(VERSION 2.8)
FIND_PACKAGE(JNI REQUIRED)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042521)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2014-03-27 08:52 FrancisANDRE New Issue
2016-06-10 14:29 Kitware Robot Note Added: 0042521
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team