Hello,
I am trying to compile Kratos in debug mode using VS2015.
For this purpose, I installed the Python version 3.5.3 together with the debug binaries. After that I compiled the boost 1.59 in debug mode. I created a new folder cmake_build_debug and I modified my configure file as follows:
-DBOOST_ROOT="E:\Kratos_Libs\boost_1_59_0_debug\boost_1_59_0" ^
-DPYTHON_LIBRARY="C:\Python35\libs\python35.lib" ^
-DPYTHON_INCLUDE_PATH="C:\Python35\include" ^
-DLAPACK_LIBRARIES="E:\Kratos_Libs\BLASandLAPACK\liblapack.lib" ^
-DBLAS_LIBRARIES="E:\Kratos_Libs\BLASandLAPACK\libblas.lib" ^
here I changed the boost_root to the new boost libraries compiled in debug mode, and adjust the python libraries as well as its path to version 3.5.
After compiling, I got 3 errors shown below:
1.
Error D8016 '/O2' and '/RTC1' command-line options are incompatible
project:tetgen
File: E:\kratos\cmake_build_debug\applications\MeshingApplication\custom_external_libraries\tetgen\tetgen1.4.3\cl
Line: 1
2.
Error LNK1104 cannot open file 'custom_external_libraries\tetgen\tetgen1.4.3\Debug\tetgen.lib'
project: KratosMeshingApplication
file: E:\kratos\cmake_build_debug\applications\MeshingApplication\LINK
line: 1
3.
Error LNK1104 cannot open file 'python35_d.lib' runkratos
file: E:\kratos\cmake_build_debug\embedded_python\LINK
line: 1
For the error 3: I checked in my "PYTHON_INCLUDE_PATH" (C:\Python35\libs) and the file "python35_d.lib" does exist. I also added this directory to the system PATH for all users.
Can you please tell me how I can fix this issue?
Thanks in advance.
Best,
Long