Closed mttbx closed 5 years ago
And when I run generate_projects_linux.sh in pxshared. Got the following errors
Running packman in preparation for cmake ...
Processing project file '/home/gugu/project/nvidia/NvCloth/PxShared/dependencies.xml'
Package 'cmake-linux-x86_64' at version '3.7.2' is missing from local storage.
Traceback (most recent call last):
File "/home/gugu/packman-repo/packman-common/4.2-rc2/packman.py", line 651, in
socket.error: [Errno 110] Connection timed out Error 0
Package 'CMakeModules' at version '1.27.trunk.23612594' is missing from local storage. packman(ERROR): Unable to access file on S3! packman(ERROR): Failed to download file CMakeModules@1.27.trunk.23612594.zip Error 0
@mttbx Could you try changing this line (NvCloth/NvCloth/compiler/cmake/linux/CMakeLists.txt:50
) to
ADD_SUBDIRECTORY(${PXSHARED_ROOT_DIR}/src/compiler/cmake/Linux "${CMAKE_CURRENT_BINARY_DIR}/pxshared_bin")
(change l
in linux from lower case to upper case)
And run NvCloth/NvCloth/GenerateProjectsLinux.sh
again after that (you shouldn't really be running generate_projects_linux.sh
in PxShared by yourself)
g++ version 7 >= 4.7 Processing project file 'scripts/packman/packages/cmake.packman.xml' -- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done [NvCloth]cmake/linux/CMakeList.txt [NvCloth]cmake/common/CMakeList.txt [NvCloth]cmake/common CMAKE_MODULE_PATH = /home/gugu/project/nvidia/NvCloth/NvCloth/..//Externals/CMakeModules NvCloth Build Platform: linux Using CXX Compiler: /usr/bin/c++ Appending config to output names [NvCloth]cmake/common/CMakeList.txt END -- Found PxShared: /home/gugu/project/nvidia/NvCloth/PxShared
CMake Error at CMakeLists.txt:50 (ADD_SUBDIRECTORY): add_subdirectory given source "/home/gugu/project/nvidia/NvCloth/PxShared/src/compiler/cmake/linux" which is not an existing directory.
[NvCloth]cmake/linux/NvCloth.cmake NV_CLOTH_ENABLE_CUDA = 0 [NvCloth]cmake/common/NvCloth.cmake [NvCloth]cmake/common/NvCloth.cmake END [NvCloth]cmake/linux/NvCloth.cmake END -- Configuring incomplete, errors occurred! See also "/home/gugu/project/nvidia/NvCloth/NvCloth/compiler/linux64-debug-cmake/CMakeFiles/CMakeOutput.log".