Github SDK issues

Hi,

The SDK github page (https://github.com/NVIDIA/MDL-SDK) doesn’t appear to have an ‘issues’ list. Is it planned to open this up for issue reporting or will there be another mechanism for reporting problems?

I ask because the Windows build instructions do not work out of the box and I wanted to report what I had to do to generate a VS project.

1 Like

Right now the forum is the right place to report and discuss issues

cu
Jan

Hi Jan,

OK. So I am following the build instruction for Windows. I have the following Visual Studios installed:

2010 Pro
2012 Pro
2013 Community
2015 Pro
2017 Pro

And am using Windows 10 Pro 1803 and have downloaded boost, freeimage, python and clang.

I open cmake-gui, select MDK-SDK and build directory and hit configure. I choose ‘Visual Studio 14 2015 Win64’, leave ‘Use default native compilers’ selected then hit finish.

This is when I run into the first issue as cmake-gui cannot find any compilers:

Selecting Windows SDK version 10.0.16299.0 to target Windows 10.0.17134.
The C compiler identification is unknown
The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:37 (project):
  No CMAKE_C_COMPILER could be found.



CMake Error at CMakeLists.txt:37 (project):
  No CMAKE_CXX_COMPILER could be found.



Configuring incomplete, errors occurred!
See also "E:/git/mdl/build/again/CMakeFiles/CMakeOutput.log".
See also "E:/git/mdl/build/again/CMakeFiles/CMakeError.log".

OK, so the compiler can’t be found I guess because it’s not in the path. So I deleted the build folder and started a ‘VS2015 x654 Native Tools Command Prompt’ and ran cmake-gui from there. It still failed with the following log output:

Selecting Windows SDK version 10.0.16299.0 to target Windows 10.0.17134.
The C compiler identification is unknown
The CXX compiler identification is unknown
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- broken
CMake Error at C:/Program Files/CMake/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message):
  The C compiler

    "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: E:/git/mdl/build/again/CMakeFiles/CMakeTmp
    
    Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_49693.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0"
    Microsoft (R) Build Engine version 14.0.25420.1

    Copyright (C) Microsoft Corporation. All rights reserved.

    

    Build started 17/08/2018 08:46:32.

    Project "E:\git\mdl\build\again\CMakeFiles\CMakeTmp\cmTC_49693.vcxproj" on node 1 (default targets).

    PrepareForBuild:

      Creating directory "cmTC_49693.dir\Debug\".

      Creating directory "E:\git\mdl\build\again\CMakeFiles\CMakeTmp\Debug\".

      Creating directory "cmTC_49693.dir\Debug\cmTC_49693.tlog\".

    InitializeBuildStatus:

      Creating "cmTC_49693.dir\Debug\cmTC_49693.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

    ClCompile:

      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /W1 /WX- /O2 /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_49693.dir\Debug\\" /Fd"cmTC_49693.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue E:\git\mdl\build\again\CMakeFiles\CMakeTmp\testCCompiler.c

      Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24215.1 for x64

      Copyright (C) Microsoft Corporation.  All rights reserved.

      

      cl /c /W1 /WX- /O2 /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_49693.dir\Debug\\" /Fd"cmTC_49693.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue E:\git\mdl\build\again\CMakeFiles\CMakeTmp\testCCompiler.c

      

      testCCompiler.c

    Link:

      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"E:\git\mdl\build\again\CMakeFiles\CMakeTmp\Debug\cmTC_49693.exe" /INCREMENTAL /NOLOGO /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:"E:/git/mdl/build/again/CMakeFiles/CMakeTmp/Debug/cmTC_49693.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"E:/git/mdl/build/again/CMakeFiles/CMakeTmp/Debug/cmTC_49693.lib" /MACHINE:X64 cmTC_49693.dir\Debug\testCCompiler.obj

    LINK : fatal error LNK1158: cannot run 'rc.exe' [E:\git\mdl\build\again\CMakeFiles\CMakeTmp\cmTC_49693.vcxproj]

    Done Building Project "E:\git\mdl\build\again\CMakeFiles\CMakeTmp\cmTC_49693.vcxproj" (default targets) -- FAILED.

    

    Build FAILED.

    

    "E:\git\mdl\build\again\CMakeFiles\CMakeTmp\cmTC_49693.vcxproj" (default target) (1) ->

    (Link target) -> 

      LINK : fatal error LNK1158: cannot run 'rc.exe' [E:\git\mdl\build\again\CMakeFiles\CMakeTmp\cmTC_49693.vcxproj]

    

        0 Warning(s)

        1 Error(s)

    

    Time Elapsed 00:00:00.56

    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:37 (project)


Configuring incomplete, errors occurred!
See also "E:/git/mdl/build/again/CMakeFiles/CMakeOutput.log".
See also "E:/git/mdl/build/again/CMakeFiles/CMakeError.log".

So now it can’t find rc.exe. It took a bit of digging around to find out what was wrong here but it turns out the normal compiler path isn’t sufficient but I also need to specify the WIndows 8.1 SDK to get access to rc.exe.

So I start a command prompt with

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat amd64 8.1

Then run cmake-gui and I can finally get past the compiler errors and configure the build. I deselect the CUDA, OpenGL and QT examples then configure and it succeeds.

When I generate I then get a whole lot of the following cmake errors (one for each generated project I think):

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
  Error evaluating generator expression:

    $<COMPILE_LANGUAGE:CXX>

  $<COMPILE_LANGUAGE:...> may not be used with Visual Studio generators.
Call Stack (most recent call first):
  cmake/utilities.cmake:507 (target_build_setup)
  src/base/system/main/CMakeLists.txt:11 (create_from_base_preset)

and an error dialog stating ‘Error in generation process, project files may be invalid’.

The project files are fine however and I can open the project and build.

The build fails however. The pertinent error is many instances of:

6>E:\git\mdl\build\again\src\mdl\jit\generator_jit\generated\generator_jit_intrinsic_func.i(14427): error C2065: 'M_PI': undeclared identifier

I’m currently fixing this just by defining M_PI at the top of the .i file however this is obviously a build time hack. Once this is done everything builds and runs.

So I am seeing the following issues:

  1. Windows build instructions appear to be incomplete, information on how to setup build environment before running cmake-gui needs to be provided.
  2. Errors output by cmake on generate need to be fixed or at least the documentation needs to state that these are expected and can be ignored.
  3. The generator for generator_jit_intrinsic_func.i needs to define M_PI.

Other than this congratulations on a great job on releasing the MDK SDK source!

cheers

Brendan

PS: Actually, I do have an MDL that causes the SDK to crash on compile however I’ve already submitted that via our normal NVIDA support channels. At this stage fixing it myself and making a pull request is probably a bit beyond me :)

Just to note it built on Linux no problem. I had to jump through a few hoops installing the correct dependencies and compilers since I was using Ubuntu 16 rather than 18 (on Windows for Linux subsystem no less). But it was nothing more than would be expected in such a situation.

Hi Brendan,

Thanks for your feedback.

I ran into similar issues in other projects where the compiler could not be identified when multiple versions of Visual Studio have been installed on the system. My personal advice to get around this problem is to use the latest version – in your case VS 2017.

When CMake-Gui asks you for the generator, select Visual Studio 15 2017 Win64 and pass the optional toolset argument: v140 in order use the VS2015 compiler. I think the latest CMake 3.12.1 is able to also select minor versions by passing version=14.11 (for VS2017 version 15.3/15.4.).

In case you also have multiple CUDA versions installed, you can select a particular one by appending another option. For example v140,cuda=9.0 to use CUDA 9.0 and the VS2015 toolset in Visual Studio 2017.

In order to test your environment, you can use a very basic CMakeLists.txt which only contains:

project(TEST LANGUAGES C CXX)

To address your other issues, I need a bit more information.
Which target creates the error concerning $<COMPILE_LANGUAGE:CXX>? Except for the CUDA based examples, the expression should not be used with a MSVC compiler.

Concerning the missing M_PI define. There is a -D_USE_MATH_DEFINES in the src/mdl/jit/generator_jit/CMakeLists.txt, which should enable the define. If that does not work for you, please try to add the define right below (or even replace the -D_USE_MATH_DEFINES). It would be interesting if this issue also appears when selecting the toolset as described above.

<s>"-D_USE_MATH_DEFINES" # to get M_PI</s>
"-DM_PI=3.14159265358979323846" # define PI

Please let me know if this helped.

Kai

Hi Kai,

Thanks for your advice. By selecting Visual Studio 15 2017 Win64 and the v140 toolset I was able to generate the project without having to run cmake-gui from a visual studio command prompt.

I do still get the $<COMPILE_LANGUAGE:CXX> messages however and I’ve included the complete error output regarding those below.

I also still get the undeclared M_PI errors. I tried adding the explicit M_PI define in CMakeLists.txt however that didn’t fix the problem. I checked the Command Line properties in the mdl-jit-gnerator_jit project and it doesn’t even contain an M_PI define in there. I undid my changes then configured from scratch again and the _USE_MATH_DEFINES define isn’t being set either. In fact I’m not seeing any of the defines from CMakeLists.txt (__STDC_CONSTANT_MACROS etc.) in there:

/MP /GS /TP /W3 /Zc:wchar_t /I"E:\git\mdl\build\another\src\mdl\jit\generator_jit" /I"E:\git\mdl\MDL-SDK\src\mdl\jit\generator_jit" /I"E:\git\mdl\MDL-SDK\include" /I"E:\git\mdl\MDL-SDK\src" /I"E:\git\mdl\build\another\src\mdl\jit\generator_jit\generated" /I"E:\git\mdl\MDL-SDK\src\base\system\version" /I"E:\git\mdl\thirdparty\boost_1_67_0" /I"E:\git\mdl\MDL-SDK\src\mdl\jit\llvm\dist\include" /I"E:\git\mdl\build\another\src\mdl\jit\llvm\dist\include" /Zi /Gm- /Od /Ob0 /Fd"mdl-jit-generator_jit.dir\Debug\mdl-jit-generator_jit.pdb" /Zc:inline /fp:precise /D "WIN32" /D "_WINDOWS" /D "DEBUG" /D "_DEBUG" /D "MISTD=std" /D "BIT64=1" /D "X86=1" /D "MI_PLATFORM=\"nt-x86-64-vc14\"" /D "MI_PLATFORM_WINDOWS" /D "WIN_NT" /D "_MSC_VER=1900" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /errorReport:prompt /WX- /Zc:forScope /RTC1 /GR /Gd /MTd /Fa"Debug/" /EHsc /nologo /Fo"mdl-jit-generator_jit.dir\Debug\" /Fp"mdl-jit-generator_jit.dir\Debug\mdl-jit-generator_jit.pch"

[code]
CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/system/main/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/system/main/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/system/main/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/system/main/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/system/version/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/system/version/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/system/version/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/system/version/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/libzip/CMakeLists.txt:129 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/libzip/CMakeLists.txt:129 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/libzip/CMakeLists.txt:129 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/libzip/CMakeLists.txt:129 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/zlib/CMakeLists.txt:25 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/zlib/CMakeLists.txt:25 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/zlib/CMakeLists.txt:25 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/zlib/CMakeLists.txt:25 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/compiler/coco/CMakeLists.txt:31 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/compiler/coco/CMakeLists.txt:31 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/compiler/coco/CMakeLists.txt:31 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/compiler/coco/CMakeLists.txt:31 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/util/string_utils/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/util/string_utils/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/util/string_utils/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/util/string_utils/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/util/registry/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/util/registry/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/util/registry/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/util/registry/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/hal/disk/CMakeLists.txt:15 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/hal/disk/CMakeLists.txt:15 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/hal/disk/CMakeLists.txt:15 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/hal/disk/CMakeLists.txt:15 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/hal/hal/CMakeLists.txt:12 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/hal/hal/CMakeLists.txt:12 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/hal/hal/CMakeLists.txt:12 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/hal/hal/CMakeLists.txt:12 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/hal/link/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/hal/link/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/hal/link/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/hal/link/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/hal/time/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/hal/time/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/hal/time/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/hal/time/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/config/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/config/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/config/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/config/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/mem/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/mem/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/mem/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/mem/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/path/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/path/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/path/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/path/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/plug/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/plug/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/plug/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/lib/plug/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/data/attr/CMakeLists.txt:18 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/data/attr/CMakeLists.txt:18 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/data/attr/CMakeLists.txt:18 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/data/attr/CMakeLists.txt:18 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/data/dblight/CMakeLists.txt:14 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/data/dblight/CMakeLists.txt:14 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/data/dblight/CMakeLists.txt:14 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/data/dblight/CMakeLists.txt:14 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/data/serial/CMakeLists.txt:13 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/data/serial/CMakeLists.txt:13 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/data/serial/CMakeLists.txt:13 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/base/data/serial/CMakeLists.txt:13 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/io/image/CMakeLists.txt:15 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/io/image/CMakeLists.txt:15 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/io/image/CMakeLists.txt:15 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/io/image/CMakeLists.txt:15 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/io/scene/CMakeLists.txt:26 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/io/scene/CMakeLists.txt:26 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/io/scene/CMakeLists.txt:26 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/io/scene/CMakeLists.txt:26 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/api/api/mdl/CMakeLists.txt:63 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/api/api/mdl/CMakeLists.txt:63 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/api/api/mdl/CMakeLists.txt:63 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/api/api/mdl/CMakeLists.txt:63 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/codegenerators/generator_code/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/codegenerators/generator_code/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/codegenerators/generator_code/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/codegenerators/generator_code/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/codegenerators/generator_dag/CMakeLists.txt:23 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/codegenerators/generator_dag/CMakeLists.txt:23 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/codegenerators/generator_dag/CMakeLists.txt:23 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/codegenerators/generator_dag/CMakeLists.txt:23 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/compiler/compilercore/CMakeLists.txt:71 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/compiler/compilercore/CMakeLists.txt:71 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/compiler/compilercore/CMakeLists.txt:71 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/compiler/compilercore/CMakeLists.txt:71 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/jit/devlib/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at src/mdl/jit/devlib/CMakeLists.txt:17 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/jit/devlib/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at src/mdl/jit/devlib/CMakeLists.txt:17 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/jit/devlib/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at src/mdl/jit/devlib/CMakeLists.txt:17 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/jit/devlib/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at src/mdl/jit/devlib/CMakeLists.txt:17 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/jit/generator_jit/CMakeLists.txt:37 (create_from_base_preset)

CMake Error at src/mdl/jit/generator_jit/CMakeLists.txt:45 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/jit/generator_jit/CMakeLists.txt:37 (create_from_base_preset)

CMake Error at src/mdl/jit/generator_jit/CMakeLists.txt:45 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/jit/generator_jit/CMakeLists.txt:37 (create_from_base_preset)

CMake Error at src/mdl/jit/generator_jit/CMakeLists.txt:45 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/jit/generator_jit/CMakeLists.txt:37 (create_from_base_preset)

CMake Error at src/mdl/jit/generator_jit/CMakeLists.txt:45 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/no_glsl/generator_stub/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/no_glsl/generator_stub/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/no_glsl/generator_stub/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/no_glsl/generator_stub/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/no_jit/generator_stub/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/no_jit/generator_stub/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/no_jit/generator_stub/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/no_jit/generator_stub/CMakeLists.txt:10 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/runtime/CMakeLists.txt:14 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/runtime/CMakeLists.txt:14 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/runtime/CMakeLists.txt:14 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/runtime/CMakeLists.txt:14 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/integration/mdlnr/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/integration/mdlnr/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/integration/mdlnr/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/mdl/integration/mdlnr/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/render/mdl/backends/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/render/mdl/backends/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/render/mdl/backends/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/render/mdl/backends/CMakeLists.txt:11 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/render/mdl/runtime/CMakeLists.txt:13 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/render/mdl/runtime/CMakeLists.txt:13 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/render/mdl/runtime/CMakeLists.txt:13 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/render/mdl/runtime/CMakeLists.txt:13 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/prod/bin/mdlc/CMakeLists.txt:13 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/prod/bin/mdlc/CMakeLists.txt:13 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/prod/bin/mdlc/CMakeLists.txt:13 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/prod/bin/mdlc/CMakeLists.txt:13 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/prod/lib/mdl_core/CMakeLists.txt:14 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/prod/lib/mdl_core/CMakeLists.txt:14 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/prod/lib/mdl_core/CMakeLists.txt:14 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/prod/lib/mdl_core/CMakeLists.txt:14 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/prod/lib/mdl_sdk/CMakeLists.txt:17 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/prod/lib/mdl_sdk/CMakeLists.txt:17 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/prod/lib/mdl_sdk/CMakeLists.txt:17 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/prod/lib/mdl_sdk/CMakeLists.txt:17 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/shaders/plugin/dds/CMakeLists.txt:19 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/shaders/plugin/dds/CMakeLists.txt:19 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/shaders/plugin/dds/CMakeLists.txt:19 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/shaders/plugin/dds/CMakeLists.txt:19 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/shaders/plugin/freeimage/CMakeLists.txt:17 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/shaders/plugin/freeimage/CMakeLists.txt:17 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/shaders/plugin/freeimage/CMakeLists.txt:17 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
src/shaders/plugin/freeimage/CMakeLists.txt:17 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
examples/thirdparty/imgui/CMakeLists.txt:21 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
examples/thirdparty/imgui/CMakeLists.txt:21 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
examples/thirdparty/imgui/CMakeLists.txt:21 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
examples/thirdparty/imgui/CMakeLists.txt:21 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
examples/thirdparty/tinyxml2/CMakeLists.txt:12 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
examples/thirdparty/tinyxml2/CMakeLists.txt:12 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
examples/thirdparty/tinyxml2/CMakeLists.txt:12 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
examples/thirdparty/tinyxml2/CMakeLists.txt:12 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent call first):
cmake/utilities.cmake:507 (target_build_setup)
examples/mdl_sdk/shared/CMakeLists.txt:21 (create_from_base_preset)

CMake Error at cmake/utilities.cmake:26 (target_compile_options):
Error evaluating generator expression:

$<COMPILE_LANGUAGE:CXX>

$<COMPILE_LANGUAGE:…> may not be used with Visual Studio generators.
Call Stack (most recent ca

I was able to reproduce the COMPILE_LANGUAGE issue with CMake 3.10. It is was caused by the lines 70 and 547 of the cmake/utilities.cmake:

$<$<AND:$<CXX_COMPILER_ID:GNU>,$<COMPILE_LANGUAGE:CXX>>:-Wno-placement-new>
$<$<COMPILE_LANGUAGE:CUDA>:-rdc=true>

and also in the CMakeLists of src/mdl/jit/devlib and src/mdl/jit/generator_jit.

In the suggested CMake version (3.11 or later), this is not an issue anymore.
However, we will probably raise the required CMake version to 3.11 or account for this with the next update.

Meanwhile, if you can’t update CMake, you could remove line 70 and accept some warnings and remove the generator expression in line 547 as the current CUDA examples don’t require it at the moment:

"<s>$<$<COMPILE_LANGUAGE:CUDA>:</s>-rdc=true<s>></s>"

The other two CMakeLists could be fixed by replacing the generator expressions with something like this:

if(NOT MSVC)
    # LLVM does not use RTTI
    target_compile_options(${PROJECT_NAME} 
        PUBLIC 
            "$<$<COMPILE_LANGUAGE:CXX>:-fno-rtti>"
        )
    target_compile_definitions(${PROJECT_NAME} 
        PUBLIC 
            "$<$<COMPILE_LANGUAGE:CXX>:NO_RTTI>"
        )
endif()

The missing _USE_MATH_DEFINES flag seems also to be related to your CMake version. It looks like CMake 3.11 allows defines using target_compile_options while earlier versions require target_compile_definitions. So, moving all options that start with a -D into a separate target_compile_definitions (and omitting the -D) would fix the issue. However, there are several places that require this change.

Hmmm, not sure why I had Cmake 3.10 rather than 3.11 or higher. I must have had it already installed and took the github suggestion as a suggestion.

Generating withe Cmake 3.12.1 does not emit the CXX errors. I can then also build the generated solution no problem.

Thanks for your help!

Glad to hear it works for you now. And, thanks for reporting the issues!