Hi Bill,

I have found a solution.

1.   remade the boost libraries with:    b2  link=static  runtime-link=static  
install

2.   made three changes to  CMakeLists.txt

79,80d78
< # JMN Added next line
< set (Boost_USE_STATIC_RUNTIME ON)
1067c1065
< #target_compile_definitions (wsjt_cxx PUBLIC BOOST_LOG_DYN_LINK)
---
> target_compile_definitions (wsjt_cxx PUBLIC BOOST_LOG_DYN_LINK)
1315c1313
< #target_compile_definitions (wsjt_qt PUBLIC UDP_STATIC_DEFINE 
BOOST_LOG_DYN_LINK)
---
> target_compile_definitions (wsjt_qt PUBLIC UDP_STATIC_DEFINE 
> BOOST_LOG_DYN_LINK)

Now linking uses static libraries.  Not sure why BOOST_LOG_DYN_LINK is there - 
contradicts  USE_STATIC_RUNTIIME

Compiled version is running but will make further tests…

— John G4KLA

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to