Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation for Mac: MACOSX_RPATH is not specified for the following targets #7

Open
bangonkali opened this issue Aug 15, 2017 · 2 comments

Comments

@bangonkali
Copy link

MACOSX_RPATH is not specified for the following targets:

   asiodnp3
   asiopal
   opendnp3
   openpal

Full results for cmake.

➜  dnp3-build cmake ../dnp3 -DASIO_HOME=/Users/gilmichael/Desktop/Projects/dnp3/deps/asio/asio/include   
-- The C compiler identification is AppleClang 8.1.0.8020042
-- The CXX compiler identification is AppleClang 8.1.0.8020042
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake build is: Release
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
ASIO has been checked out as a git submodule: /Users/gilmichael/Desktop/Projects/dnp3/deps/asio/asio/include
-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   asiodnp3
   asiopal
   opendnp3
   openpal

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    ASIO_HOME


-- Build files have been written to: /Users/gilmichael/Desktop/Projects/dnp3-build

Is it ok to proceed? Or should i define this option?

@jadamcrain
Copy link
Member

Not sure. Unfamiliar with MACOSX_RPATH:

https://stackoverflow.com/questions/31561309/cmake-warnings-under-os-x-macosx-rpath-is-not-specified-for-the-following-targe

Open to suggestions on how the cmake config can accommodate OSX.

@jadamcrain
Copy link
Member

Since this and the build issue are for the project, not the guide, can you transfer tickets here:

https://github.com/automatak/dnp3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants