cbernardo / libIGES

Implementation of the IGESv5.3 specification
http://cbernardo.github.io/libIGES
GNU Lesser General Public License v2.1
58 stars 18 forks source link

build on windows platform #14

Closed devel0 closed 8 years ago

devel0 commented 8 years ago

I have problem in build on a Windows platform using cmake 3.5.2

$ cmake -G "Visual Studio 14 2015 Win64" ..
-- The C compiler identification is MSVC 19.0.24210.0
-- The CXX compiler identification is MSVC 19.0.24210.0
-- Check for working C compiler using: Visual Studio 14 2015 Win64
-- Check for working C compiler using: Visual Studio 14 2015 Win64 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 14 2015 Win64
-- Check for working CXX compiler using: Visual Studio 14 2015 Win64 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:118 (install):
  install Library TARGETS given no DESTINATION!
cbernardo commented 8 years ago

I added a RUNTIME destination to the DLL install on Windows; can you try again with the latest? ( tag d88f5a3 )

devel0 commented 8 years ago

I used cmake 3.5.2 and I remember I already tried with the RUNTIME option with no success,

but using cmake 3.6 x64 the build works successfully I checked it works even with no RUNTIME option.

Thanks

cbernardo commented 8 years ago

Thanks for the tip; I guess there may be a problem with CMake3.5.2