[cmake-developers] [CMake 0013362]: Problems find/removing links using cmake
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=13362 == Reported By:dakke Assigned To: == Project:CMake Issue ID: 13362 Category: CMake Reproducibility:have not tried Severity: minor Priority: normal Status: new == Date Submitted: 2012-06-30 02:29 EDT Last Modified: 2012-06-30 02:29 EDT == Summary:Problems find/removing links using cmake Description: There is problems removing links using cmake. I get file not found error (though it looks for the correct file at correct place). Additional Information: The command IF(EXISTS $ENV{DESTDIR}${file}) fails on links. == Issue History Date ModifiedUsername FieldChange == 2012-06-30 02:29 dakke New Issue == -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
[cmake-developers] [CMake 0013363]: target_link_libraries does not sets target's include and link paths according to li
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13363 == Reported By:Orçun Gökbulut Assigned To: == Project:CMake Issue ID: 13363 Category: CMake Reproducibility:always Severity: feature Priority: normal Status: new == Date Submitted: 2012-06-30 11:50 WAT Last Modified: 2012-06-30 11:50 WAT == Summary:target_link_libraries does not sets target's include and link paths according to li Description: When target_link_libraries used with a cmake static library target as a link library, CMake does not combine linked static library targets include and linker directory paths to target's include and linker directory paths. Suppose that there is a directory like this; + Project | + Sub Project | | +-Dependencies | | |-Library.h | | |-Library.lib | |-CMakeLists.txt | |-SubProject.cpp |-Main.cpp |-CMakeLists.txt Content of SubProject/CMakeLists.txt; link_directories(Dependencies) include_directories(Dependencies) add_library(SubProject SubProject.cpp) target_link_library(SubProject Library.lib) Content of /CMakeLists.txt add_executable(Main) target_link_libraries(Main SubProject) This setup causes linker and include problems in visual studio becouse linker or compiler can not find Library.lib or Library.h while compiling Main target. In order to work around this problem we have to move link_directories and include_directories SubProject/CMakeLists.txt to /CMakeLists.txt. This work around causes problems in big projects which uses different libraries on different project configurations. In this kind of project, when a new sub project/module added to the project it's library and include directories should be added to /CMakeLists.txt. If a sub project's/module's dependent library has some constrains like platform dependency (like external library is a windows library and does not work on linux but we have a linux alternative which is implamented on an other sub project/module) we have to use many if clauses on include_directories and library_directory. In summary, missing of this feature prevents more moduler and non-centered project structures becouse we have to modify or maintain when a new module with non-shared library dependency added to project instead of just a simple add_subdirectory command. Steps to Reproduce: Create a project structure like this one; + Project | + Sub Project | | +-Dependencies | | |-Library.h | | |-Library.lib | |-CMakeLists.txt | |-SubProject.cpp |-Main.cpp |-CMakeLists.txt Content of SubProject/CMakeLists.txt; link_directories(Dependencies) include_directories(Dependencies) add_library(SubProject SubProject.cpp) target_link_library(SubProject Library.lib) Content of /CMakeLists.txt add_executable(Main) target_link_libraries(Main SubProject) Compiler can not find Library.lib when linking target named 'Main'. == Issue History Date ModifiedUsername FieldChange == 2012-06-30 11:50 Orçun Gökbulut New Issue == -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
Re: [CMake] CMake can't find the JDK?
Eli Gottlieb wrote: When I run CMake on my project (java bindings for llvm) after upgrading to Ubuntu 12.04, it returns the following error: eli@eli-netbook:~/Programs/decac/src/org/jllvm/bindings$ cmake . CMake Error at /usr/share/cmake-2.8/Modules/FindJava.cmake:99 (MESSAGE): Error executing java -version Call Stack (most recent call first): CMakeLists.txt:21 (FIND_PACKAGE) -- Configuring incomplete, errors occurred! When I run `java -version` myself it returns: eli@eli-netbook:~/Programs/decac/src/org/jllvm/bindings$ java -version java version 1.6.0_24 OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-4ubuntu3) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) Any idea what's going on here? I think this is related to http://cmake.org/Bug/view.php?id=12878 Can you please use the patch from there and check if the error persists? Eike -- signature.asc Description: This is a digitally signed message part. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
[CMake] MSVC++ IDE is licensed but CMAKE build appears to fail to pick up licence from command line
I have found an problem that appears in two open source projects I downloaded. Both appear to balk because of a missing or expired VC++ licence. This is despite the fact that the IDE is running with a licence. MSN help simply claims it is a bug in CMAKE so I feel that I will be ping-ponging. Has anyone else come across, or more importantly solved the problem? I am trying a re-install of MS VC++ at this moment as I am assuming it is the culprit because two CMAKE makes, from different authors, are having the same problem. CMakeError as follows: -Determining if the C compiler works failed with the following output:Change Dir: C:/Development/SLAM/tinyslam/trunk/CMakeFiles/CMakeTmp Run Build Command:c:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2590749267 Microsoft (R) Visual Studio Version 10.0.30319.1. Copyright (C) Microsoft Corp. All rights reserved. The evaluation period for Visual Studio Trial has ended. The evaluation period for this product has ended. Determining if the C compiler works failed with the following output:Change Dir: C:/Development/SLAM/tinyslam/trunk/CMakeFiles/CMakeTmp Run Build Command:c:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2387694939 Microsoft (R) Visual Studio Version 10.0.30319.1. Copyright (C) Microsoft Corp. All rights reserved. The evaluation period for Visual Studio Trial has ended. The evaluation period for this product has ended. Determining if the C compiler works failed with the following output:Change Dir: C:/Development/SLAM/tinyslam/trunk/CMakeFiles/CMakeTmp Run Build Command:c:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2133091021 Microsoft (R) Visual Studio Version 10.0.30319.1. Copyright (C) Microsoft Corp. All rights reserved. The evaluation period for Visual Studio Trial has ended. The evaluation period for this product has ended. Determining if the C compiler works failed with the following output:Change Dir: C:/Development/SLAM/tinyslam/trunk/CMakeFiles/CMakeTmp Run Build Command:c:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec778085461 Microsoft (R) Visual Studio Version 10.0.30319.1. Copyright (C) Microsoft Corp. All rights reserved. The evaluation period for Visual Studio Trial has ended. The evaluation period for this product has ended. Determining if the C compiler works failed with the following output:Change Dir: C:/Development/SLAM/tinyslam/trunk/CMakeFiles/CMakeTmp Run Build Command:c:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec3983230543 Microsoft (R) Visual Studio Version 10.0.30319.1. Copyright (C) Microsoft Corp. All rights reserved. The evaluation period for Visual Studio Trial has ended. The evaluation period for this product has ended. Determining if the C compiler works failed with the following output:Change Dir: C:/Development/SLAM/tinyslam/trunk/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2788015710The system cannot find the file specifiedGenerator: execution of make failed. Make command was: C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2788015710 Determining if the C compiler works failed with the following output:Change Dir: C:/Development/SLAM/tinyslam/trunk/CMakeFiles/CMakeTmp Run Build Command:c:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec1460881942 Microsoft (R) Visual Studio Version 10.0.30319.1. Copyright (C) Microsoft Corp. All rights reserved. The evaluation period for Visual Studio Trial has ended. The evaluation period for this product has ended. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] MSVC++ IDE is licensed but CMAKE build appears to fail to pick up licence from command line
On 1/07/12 10:25 AM, Asterion Daedalus wrote: I have found an problem that appears in two open source projects I downloaded. Both appear to balk because of a missing or expired VC++ licence. This is despite the fact that the IDE is running with a licence. MSN help simply claims it is a bug in CMAKE so I feel that I will be ping-ponging. Has anyone else come across, or more importantly solved the problem? I am trying a re-install of MS VC++ at this moment as I am assuming it is the culprit because two CMAKE makes, from different authors, are having the same problem. I came across a similar problem in the past. Do you have another installation of Visual Studio somewhere on your systems e.g. the Express edition or Visual Studio 2008 ? I didn't get to the bottom of how the problem went away but we had Express installed and purchased the Professional version later and evaluated for the 30 days. Around the end of the evaluation period (last couple of days) is where the problem started even when we put in the proper license information. As I recall, it went away **after** the evaluation period as the software started using the purchased license. As with Windows, rebooting may help. HTH. Regards -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows Management - Recruitment, career management http://www.proceduralinsight.com/ http://au.linkedin.com/in/nicholasyue -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
[CMake] CMake + Eclipse on OS X : OpenGL and GLUT headers
Hi, I am using CMake 2.8.8 I have been generating Eclipse project and building my software successfully both on the command line and within Eclipse. However, when I open up my project in Eclipse, the indexer fails to find the necessary headers for OpenGL and GLUT Moreover, I noticed the following via ccmake GLUT_INCLUDE_DIR /System/Library/Frameworks/GLUT.framework/Headers OPENGL_INCLUDE_DIR /System/Library/Frameworks/OpenGL.framework Note the differences in the directory Headers Is there additional steps for the OS X platform so that code completion and C++ indexer works properly when using OpenGL and GLUT on OS X when generating Eclipse project files via CMake. Regards -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows Management - Recruitment, career management http://www.proceduralinsight.com/ http://au.linkedin.com/in/nicholasyue -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
[Cmake-commits] CMake branch, master, updated. v2.8.8-421-gba41a23
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via ba41a238f708da78d0f053bfba1e7d9c70369a16 (commit) from 370c422def60c84dc54da9c92cacf9b6ff7522ac (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ba41a238f708da78d0f053bfba1e7d9c70369a16 commit ba41a238f708da78d0f053bfba1e7d9c70369a16 Author: Kitware Robot kwro...@kitware.com AuthorDate: Sun Jul 1 00:01:02 2012 -0400 Commit: Kitware Robot kwro...@kitware.com CommitDate: Sun Jul 1 00:01:02 2012 -0400 CMake Nightly Date Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 68755b0..24d3bc7 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -2,5 +2,5 @@ SET(CMake_VERSION_MAJOR 2) SET(CMake_VERSION_MINOR 8) SET(CMake_VERSION_PATCH 8) -SET(CMake_VERSION_TWEAK 20120630) +SET(CMake_VERSION_TWEAK 20120701) #SET(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits