You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a linker error with nmake and it took hours to figure out how to fix this.
It tried to build dynamic libraries by linking against static boost libs.
Please have a look at these two files:
chemkit/CMakelists.txt (line 13):
if(WIN32)
set(Boost_USE_STATIC_LIBS ON)
endif()
chemkit/src/CMakelists.txt (line 8):
add_library(${library_name} DYNAMIC ${ARGN})
When i switch this from SHARED to STATIC, building with static boost libs works
properly for the core library, but not for the plugins.
The only way to compile the library is to manualy change the boost librarys per file
by removing the "lib" from "libboost..." filenames in the cmake-gui, but than the projects
depends on the boost-dll's.
The text was updated successfully, but these errors were encountered:
I had a linker error with nmake and it took hours to figure out how to fix this.
It tried to build dynamic libraries by linking against static boost libs.
Please have a look at these two files:
chemkit/CMakelists.txt (line 13):
if(WIN32)
set(Boost_USE_STATIC_LIBS ON)
endif()
chemkit/src/CMakelists.txt (line 8):
add_library(${library_name} DYNAMIC ${ARGN})
When i switch this from SHARED to STATIC, building with static boost libs works
properly for the core library, but not for the plugins.
The only way to compile the library is to manualy change the boost librarys per file
by removing the "lib" from "libboost..." filenames in the cmake-gui, but than the projects
depends on the boost-dll's.
The text was updated successfully, but these errors were encountered: