Issue running generate_projects.sh (ubuntu) #136
-
Version: PhysX v5.1.0 on Ubuntu 22.04, using gcc Hi there, when running generate_projects.sh I get this error:
I do have gl packages(Such as libgl-mesa-dev, mesa-common-dev) installed on my system, as I have successfully used them in other projects. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
So I managed to get it working using the clang preset instead of gcc. If I set CMAKE_PREFIX_PATH to the folder containing opengl-config.cmake then "generate_proejcts.sh" worked correctly with gcc, but when trying to run the make file it said the file format of libGL.so was incorrect. I'm good for now since I got it to work with clang, but you may want to still investigate the process with the gcc preset. |
Beta Was this translation helpful? Give feedback.
-
@ayoub-belarbi can you please have a look at the gcc issue? |
Beta Was this translation helpful? Give feedback.
-
Hello @Kai-Indiemade, |
Beta Was this translation helpful? Give feedback.
-
Hello @ayoub-belarbi , the target architecture that used gcc was aarch64.(linux-aarch64.xml) The preset that used clang was linux.xml. |
Beta Was this translation helpful? Give feedback.
-
Thanks. So you need to use linux-aarch64.xml only if you are running that from an aarch64 machine (arm) and the linux.xml only when you are using x86_64 machine. No cross compiling. |
Beta Was this translation helpful? Give feedback.
Thanks. So you need to use linux-aarch64.xml only if you are running that from an aarch64 machine (arm) and the linux.xml only when you are using x86_64 machine. No cross compiling.
Also make sure to install the packages mentioned here: https://github.com/NVIDIA-Omniverse/PhysX/blob/release/104.2/physx/documentation/platformreadme/linux/README_LINUX.md