Lovely colleagues, 

I was recently setting up gym_chrono on my VMware-based Ubuntu 20.04. 
According to the documentation, I have downloaded realted packages and 
configured required modules (on 
https://github.com/projectchrono/gym-chrono). 
However, errors occured during Chrono building process, and I thought that 
might be something due to SWIG. However, I checked my SWIG version, it is 
installed and updated by conda, and therefore I have no idea what is going 
on now. Hope somebody will have some advice on this situation. Appreciates. 

I have attached my configuration (logs.txt) and errors (.txt).

Again, appreciates for your help.

Chen


-- 
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 projectchrono+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/projectchrono/3d331878-b2a2-4e8e-8eef-089248e814cdn%40googlegroups.com.
-- We are on a Linux system
-- The host processor is x86_64
-- Building for a Linux system
-- The target processor is x86_64
-- Using a single configuration generator (Unix Makefiles)
-- Data directory copied to: /home/chen/code/chrono/build/data/
-- Binaries will be created in /home/chen/code/chrono/build/bin/
-- GCC version:  14.2.0
-- C++14 compiler support:  TRUE
-- C++17 compiler support:  TRUE
-- Searching for Eigen3
--   Eigen3 found. EIGEN3_INCLUDE_DIR: 
/home/chen/miniconda3/envs/gym_chrono/include/eigen3
-- Using automatic native flag for SIMD optimization
-- SIMD optimization:
--   AVX2 found and enabled? 
--   AVX found and enabled? 
--   FMA found and enabled? 
--   NEON found? 
--   SIMD AVX version: 
--   SIMD SSE version: 
--   SIMD flags: -march=native
-- Searching for Threads
--   Thread library:      -pthread
--   Using Win32 threads? 
--   Using pthreads?      1
-- Searching for OpenMP
--   OpenMP version:   4.0
-- Searching for MPI for C++
--   MPI compiler:          /home/chen/miniconda3/envs/gym_chrono/bin/mpicxx
--   MPI compile flags:     -pthread
--   MPI include path:      /home/chen/miniconda3/envs/gym_chrono/include
--   MPI link flags:        
-Wl,-rpath,/home/chen/miniconda3/envs/gym_chrono/lib -pthread
--   MPI libraries:         /home/chen/miniconda3/envs/gym_chrono/lib/libmpi.so
--   MPIEXEC:               /home/chen/miniconda3/envs/gym_chrono/bin/mpiexec
--   MPIEXEC_NUMPROC_FLAG:  -n
--   MPIEXEC_PREFLAGS:      
--   MPIEXEC_POSTFLAGS:     
-- Searching for CUDA
--   CUDA compiler:           /home/chen/miniconda3/envs/gym_chrono/bin/nvcc
--   CUDA toolkit version:    12.8.93
--   CUDA toolkit root dir:   
/home/chen/miniconda3/envs/gym_chrono/targets/x86_64-linux
--   CUDA archs (from cache): all-major
--   CUDA found and enabled.
-- Searching for Thrust
--   Thrust version:     2.7.0
--   Thrust include dir: 
/home/chen/miniconda3/envs/gym_chrono/targets/x86_64-linux/include
-- 
==== Chrono Engine core module ====

-- Add Chrono multicore collision detection library
-- Using SIMD flags: -march=native
-- Warning level set to -Wall
-- 
==== Chrono Parsers module ====

-- Found URDFDOM and dependencies
--   URDFDOM include dirs: 
/home/chen/miniconda3/envs/gym_chrono/lib/urdfdom/cmake/../../../include;/home/chen/miniconda3/envs/gym_chrono/lib/urdfdom_headers/cmake/../../../include
-- Found Python and dependencies
--   Python3_Interpreter_FOUND: TRUE
--   Python3_Development_FOUND: TRUE
-- 
==== Chrono Irrlicht module ====

-- Found Irrlicht using Irrlicht_ROOT
--   include dir:  /home/chen/irrlicht-1.8.5/include/
--   library:      /home/chen/miniconda3/envs/gym_chrono/lib/libIrrlicht.so
--   dependencies: Xxf86vm;glut;X11;GL
--   DLL:          
-- 
==== Chrono Vehicle module ====

-- Add Chrono_vehicle library
-- Add Chrono_vehicle_irrlicht library
-- Add Chrono_vehicle_cosim library
-- 
==== Chrono models ====

-- Add ChronoModels_robot library
-- Add ChronoModels_vehicle library
-- 
==== Chrono Sensor module ====

-- Chrono CUDA architectures: all-major
-- OptiX include directory: 
/home/chen/optix-7.7.0/NVIDIA-OptiX-SDK-7.7.0-linux64-x86_64/include
-- Building Chrono::Sensor with NVRTC ON
-- CUDA::nvrtc found and enabled
-- OpenGL found: FALSE
--    include dir: OPENGL_INCLUDE_DIR-NOTFOUND
--    libraries:   
-- GLEW found:   TRUE
--    include dir: /home/chen/miniconda3/envs/gym_chrono/include
--    libraries:   /home/chen/miniconda3/envs/gym_chrono/lib/libGLEW.so
-- glfw3 found:  1
-- GL libraries not found; OpenGL support disabled
-- 
==== SynChrono module ====

-- Synchrono configured with MPI backend
-- Synchrono configured without FastDDS backend
-- 
==== Chrono Python module ====

-- Find Python
--   Python version:       3.9.19
--   Python NumPy found?   TRUE
--   Python NumPy version: 1.24.0
-- Find SWIG
--   SWIG version:      4.2.1
--   SWIG python found? TRUE
--   SWIG executable:   /home/chen/miniconda3/envs/gym_chrono/bin/swig4.0
-- Add python CORE module
-- Add python FEA module
-- Add python IRRLICHT module
-- Add python VEHICLE module
-- Add python SENSOR module
-- Add python ROBOT module
-- Add python PARSERS module
-- 
-- To have access to the Chrono::Python wrapper modules, after building and 
(optionally) installing,
-- append one of the following to the PYTHONPATH environment variable:
--   For the modules in the BUILD tree:    $<TARGET_FILE_DIR:core>
--   For the modules in the INSTALL tree:  /usr/local/share/chrono/python
-- 
-- 
==== Demo programs ====

-- Add demo programs for CORE module
-- Add demo programs for FEA module
-- Add demo programs for ROBOT models
--   Warning: the multicore RoboSimian projects require Chrono::Multicore and 
Chrono::VSG
-- Add demo programs for MBS module
-- Add demo programs for PARSERS module
-- Add demo programs for VEHICLE module
-- Add demo programs for VEHICLE COSIM module
-- Add demo programs for SENSOR module
-- Add demo programs for SYNCHRONO module
-- 
-- Configuring done (0.8s)
-- Generating done (0.5s)
-- Build files have been written to: /home/chen/code/chrono/build
/home/chen/code/chrono/src/chrono_swig/interface/parsers/ChModuleParsers.i:14: 
Error: Syntax error in input(1).
make[2]: *** 
[src/chrono_swig/chrono_python/CMakeFiles/parsers_swig_compilation.dir/build.make:76:
 
src/chrono_swig/chrono_python/CMakeFiles/parsers.dir/ChModuleParsers_pythonPYTHON.stamp]
 Error 1
make[2]: *** Deleting file 
'src/chrono_swig/chrono_python/CMakeFiles/parsers.dir/ChModuleParsers_pythonPYTHON.stamp'
make[1]: *** [CMakeFiles/Makefile2:2549: 
src/chrono_swig/chrono_python/CMakeFiles/parsers_swig_compilation.dir/all] 
Error 2
make[1]: *** Waiting for unfinished jobs....

Reply via email to