Dear DEAL.II developers and users,

Currently I would like to build DEAL.II with an external library on my
macOS Mojave 10.14.5.

I edited the cmakelist.txt file as follows:
/-------------------------------------------------------/
SET(TARGET "step-6")
SET(TARGET_SRC
  ${TARGET}.cc
  )
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
FIND_PACKAGE(deal.II 9.1.0 QUIET
  HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
  )
DEAL_II_INITIALIZE_CACHED_VARIABLES()
PROJECT(${TARGET})

INCLUDE_DIRECTORIES(/usr/local/hlibpro-2.8.1/include)

ADD_EXECUTABLE(step-6 step-6.cc)
DEAL_II_SETUP_TARGET(step-6)

TARGET_LINK_LIBRARIES(step-6 /usr/local/hlibpro-2.8.1/lib/libhpro.dylib)
/-------------------------------------------------------/

The build succeeded. But an error occurs during runtime:

dyld: Library not loaded: src/libhpro.dylib

  Referenced from:
/Applications/deal.II.app/Contents/Resources/examples/hfem/./hFEM_OOP

  Reason: image not found

I am quite new to CMake. Can you suggest me what to do? Thank you!

Best Regards,

Y

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAEmspPA6GEzQEHpwwaFjRcT2%3DYuWBOvpCdNeF6m_TUsJHLgsYg%40mail.gmail.com.

Reply via email to