You need a newer version of CMake.
The issue comes from the glslang package (for the newer VSG libraries, glslang 
must be explicitly built as the one in Vulkan may be too old). Although glslang 
requests a minimum CMake version of 3.22.1, they in fact need a newer CMake 
version.

--Radu

From: [email protected] <[email protected]> On Behalf 
Of Dan Fenn
Sent: Friday, September 26, 2025 12:53 AM
To: ProjectChrono <[email protected]>
Subject: [chrono] VSG build errors

Hello,

I'm trying to build VSG using the provided script, and I'm running into errors.

System configuration:
Chrono git hash 3f13de156a6597e9bd42f8a8be0a3370b4324683
RHEL 8
gcc 8.5.0 20210514
cmake version 3.26.5

buildVSG.sh configuration:
```
DOWNLOAD=ON

VSG_INSTALL_DIR="$HOME/codes/vsg"

BUILDSHARED=ON
BUILDDEBUG=OFF
BUILDSYSTEM="Unix Makefiles"
```

I receive the following error:

------------------------ Configure glslang

-- The C compiler identification is GNU 8.5.0
-- The CXX compiler identification is GNU 8.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- No build type selected, default to Debug
-- Found Python3: /usr/bin/python3.12 (found version "3.12.11") found 
components: Interpreter
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Python3: <redacted>/.pyenv/shims/python3.10 (found version "3.10.18") 
found components: Interpreter
-- optimizer enabled
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Google Mock found - building tests
-- Configuring done (3.1s)
CMake Error at CMakeLists.txt:344 (add_test):
  Error evaluating generator expression:

    $<TARGET_RUNTIME_DLL_DIRS:spirv-remap>

  Expression did not evaluate to a known generator expression


CMake Error at gtests/CMakeLists.txt:105 (add_test):
  Error evaluating generator expression:

    $<TARGET_RUNTIME_DLL_DIRS:glslangtests>

  Expression did not evaluate to a known generator expression




I appreciate any help.
--
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion visit 
https://groups.google.com/d/msgid/projectchrono/62325116-9da9-4966-b727-0bd42a9b0573n%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/62325116-9da9-4966-b727-0bd42a9b0573n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!PiZxeTvMNY02T9I7YCOHmQZkSjeRWJSknVOriOaTUrMD7EnvwZeQ1NqmSvcO7v-jFzyelOP9K-cN0nQKNIYs7S4$>.

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/projectchrono/CH3PPF46CDC2185DAAC6FDC1298C87DD9A6A71EA%40CH3PPF46CDC2185.namprd06.prod.outlook.com.

Reply via email to