Skip to content

Compiling Octomap under Windows 7 VC++2008, CMake warning (Qt4) #44

Closed
@tmdiv

Description

@tmdiv

Whilie generating Visual Studio *.sln CMake 2.8.10.1 shows warning. The produced *.sln has improper lib dependencies. The same situation appears with octomap 1.6.1, 1.6.0. Is this a bug or CMake (gui) problem?

CMAKE WARNING
Make Warning (dev) at octovis/CMakeLists_src.txt:96 (add_executable):
  Policy CMP0008 is not set: Libraries linked by full-path must have a valid
  library file name.  Run "cmake --help-policy CMP0008" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  Target "octovis" links to item

    C:/octomap-1.6.1/lib/liboctomap.so

  which is a full-path but not a valid library file name.
Call Stack (most recent call first):
  octovis/CMakeLists.txt:72 (INCLUDE)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at octovis/CMakeLists_src.txt:96 (add_executable):
  Policy CMP0008 is not set: Libraries linked by full-path must have a valid
  library file name.  Run "cmake --help-policy CMP0008" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  Target "octovis" links to item

    C:/octomap-1.6.1/lib/liboctomath.so

  which is a full-path but not a valid library file name.
Call Stack (most recent call first):
  octovis/CMakeLists.txt:72 (INCLUDE)
This warning is for project developers.  Use -Wno-dev to suppress it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions