NVIDIAGameWorks / NvCloth

297 stars 52 forks source link

can't generate project in ubuntu #28

Closed mttbx closed 5 years ago

mttbx commented 6 years ago

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".

mttbx commented 6 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 main() File "/home/gugu/packman-repo/packman-common/4.2-rc2/packman.py", line 646, in main return args.func(*vars(args)) File "/home/gugu/packman-repo/packman-common/4.2-rc2/packman.py", line 277, in pull variable_file) File "/home/gugu/packman-repo/packman-common/4.2-rc2/packman.py", line 300, in pull_with_variable_file pull_dependencies(merged_deps, override_lookup, platform, postscript, variable_file) File "/home/gugu/packman-repo/packman-common/4.2-rc2/packman.py", line 356, in pull_dependencies tp[ps].download_file(package_filename, target_filename) File "/home/gugu/packman-repo/packman-common/4.2-rc2/transport.py", line 303, in download_file url, size = self.get_file_url_and_size(source_name) File "/home/gugu/packman-repo/packman-common/4.2-rc2/transport.py", line 57, in func_retry return func(args, **kwargs) File "/home/gugu/packman-repo/packman-common/4.2-rc2/transport.py", line 151, in get_file_url_and_size self._get_user_id(self.username) File "/home/gugu/packman-repo/packman-common/4.2-rc2/transport.py", line 313, in _get_user_id self.user_id = server.GetUserIdFromLogin(username) File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in call return self.send(self.name, args) File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in request verbose=self.verbose File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib/python2.7/xmlrpclib.py", line 1311, in single_request self.send_content(h, request_body) File "/usr/lib/python2.7/xmlrpclib.py", line 1459, in send_content connection.endheaders(request_body) File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 882, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 844, in send self.connect() File "/usr/lib/python2.7/httplib.py", line 821, in connect self.timeout, self.source_address) File "/usr/lib/python2.7/socket.py", line 575, in create_connection raise err

socket.error: [Errno 110] Connection timed out Error 0

mttbx commented 6 years ago

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

leavittx commented 5 years ago

@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)