opencap-processing icon indicating copy to clipboard operation
opencap-processing copied to clipboard

compiler issue

Open antoinefalisse opened this issue 11 months ago • 0 comments

Seems like it is not picking the good compiler by default when installing Visual Studio 2022. Check if there is a way to identify the compiler on the computer and specify it in the cmake calls.

Manual fix:

  • Change this line to cmd1 = 'cmake "' + pathBuildExpressionGraph + '" -G "Visual Studio 17 2022" -A x64 -DTARGET_NAME:STRING="' + filename + '" -DSDK_DIR:PATH="' + SDK_DIR + '" -DCPP_DIR:PATH="' + CPP_DIR + '"'
  • Change this line to cmd3 = 'cmake "' + pathBuildExternalFunction + '" -G "Visual Studio 17 2022" -A x64 -DTARGET_NAME:STRING="' + filename + '" -DINSTALL_DIR:PATH="' + path_external_functions_filename_install + '"'

antoinefalisse avatar Mar 11 '24 21:03 antoinefalisse