root@36a26ddc1481:/workspace# cd softgym/ root@36a26ddc1481:/workspace/softgym# export PATH="/home/seita/miniconda3/bin:$PATH" root@36a26ddc1481:/workspace/softgym# . ./prepare_1.0.sh && . ./compile_1.0.sh -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.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 -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- 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 CUDA: /usr/local/cuda (found suitable version "9.2", minimum required is "9.0") -- Found PythonInterp: /home/seita/miniconda3/envs/toolflownet/bin/python3 (found suitable version "3.7.13", minimum required is "3.6 ") -- Found PythonLibs: /home/seita/miniconda3/envs/toolflownet/lib/libpython3.7m.so -- Performing Test HAS_CPP14_FLAG -- Performing Test HAS_CPP14_FLAG - Success -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- LTO enabled -- Configuring done -- Generating done -- Build files have been written to: /workspace/softgym/PyFlex/bindings/build Scanning dependencies of target pyflex [ 5%] Building CXX object CMakeFiles/pyflex.dir/imgui.cpp.o [ 10%] Building CXX object CMakeFiles/pyflex.dir/pyflex.cpp.o [ 15%] Building CXX object CMakeFiles/pyflex.dir/shadersDemoContext.cpp.o [ 21%] Building CXX object CMakeFiles/pyflex.dir/opengl/shader.cpp.o [ 26%] Building CXX object CMakeFiles/pyflex.dir/opengl/imguiRenderGL.cpp.o [ 31%] Building CXX object CMakeFiles/pyflex.dir/opengl/shadersGL.cpp.o [ 42%] Building CXX object CMakeFiles/pyflex.dir/workspace/softgym/PyFlex/core/aabbtree.cpp.o [ 42%] Building CXX object CMakeFiles/pyflex.dir/workspace/softgym/PyFlex/core/core.cpp.o [ 52%] Building CXX object CMakeFiles/pyflex.dir/workspace/softgym/PyFlex/core/extrude.cpp.o [ 52%] Building CXX object CMakeFiles/pyflex.dir/workspace/softgym/PyFlex/core/maths.cpp.o [ 57%] Building CXX object CMakeFiles/pyflex.dir/workspace/softgym/PyFlex/core/pfm.cpp.o [ 63%] Building CXX object CMakeFiles/pyflex.dir/workspace/softgym/PyFlex/core/mesh.cpp.o [ 73%] Building CXX object CMakeFiles/pyflex.dir/workspace/softgym/PyFlex/core/perlin.cpp.o [ 73%] Building CXX object CMakeFiles/pyflex.dir/workspace/softgym/PyFlex/core/platform.cpp.o [ 78%] Building CXX object CMakeFiles/pyflex.dir/workspace/softgym/PyFlex/core/png.cpp.o [ 84%] Building CXX object CMakeFiles/pyflex.dir/workspace/softgym/PyFlex/core/sdf.cpp.o [ 89%] Building CXX object CMakeFiles/pyflex.dir/workspace/softgym/PyFlex/core/tga.cpp.o [ 94%] Building CXX object CMakeFiles/pyflex.dir/workspace/softgym/PyFlex/core/voxelize.cpp.o In file included from /usr/include/c++/7/cassert:44:0, from /workspace/softgym/PyFlex/core/quat.h:30, from /workspace/softgym/PyFlex/core/maths.h:241, from /workspace/softgym/PyFlex/core/aabbtree.h:31, from /workspace/softgym/PyFlex/core/aabbtree.cpp:28: /workspace/softgym/PyFlex/core/aabbtree.cpp: In member function 'void AABBTree::Build()': /workspace/softgym/PyFlex/core/aabbtree.cpp:136:22: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] assert(m_numFaces*3); ~~~~~~~~~~^~ /workspace/softgym/PyFlex/core/mesh.cpp: In function 'void ExportToObj(const char*, const Mesh&)': /workspace/softgym/PyFlex/core/mesh.cpp:601:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!file) ^~ /workspace/softgym/PyFlex/core/mesh.cpp:604:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' file << "# positions" << endl; ^~~~ /workspace/softgym/PyFlex/bindings/opengl/shadersGL.cpp: In function 'GLuint LoadTexture(const char*)': /workspace/softgym/PyFlex/bindings/opengl/shadersGL.cpp:214:16: warning: converting to non-pointer type 'GLuint {aka unsigned int}' from NULL [-Wconversion-null] return NULL; ^~~~ /workspace/softgym/PyFlex/bindings/opengl/shadersGL.cpp: In function 'void InitRenderHeadless(const RenderInitOptions&, int, int)': /workspace/softgym/PyFlex/bindings/opengl/shadersGL.cpp:3554:25: warning: invalid conversion from 'EGLConfig {aka void*}' to 'void**' [-fpermissive] g_eglConfig = configs[0]; ~~~~~~~~~^ /workspace/softgym/PyFlex/bindings/opengl/shadersGL.cpp:3558:33: warning: invalid conversion from 'EGLContext {aka void*}' to 'void* ' [-fpermissive] g_eglContext = eglCreateContext( ~~~~~~~~~~~~~~~~^ g_eglDisplay, ~~~~~~~~~~~~~ g_eglConfig, ~~~~~~~~~~~~ EGL_NO_CONTEXT, ~~~~~~~~~~~~~~~ NULL); ~~~~~ /workspace/softgym/PyFlex/bindings/opengl/shadersGL.cpp:3566:40: warning: invalid conversion from 'EGLSurface {aka void*}' to 'void* ' [-fpermissive] g_eglSurface = eglCreatePbufferSurface(g_eglDisplay, g_eglConfig, ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ eglPBAttribs); ~~~~~~~~~~~~~ /workspace/softgym/PyFlex/bindings/opengl/shadersGL.cpp: At global scope: /workspace/softgym/PyFlex/bindings/opengl/shadersGL.cpp:255:13: warning: '{anonymous}::g_eglDisplay' defined but not used [-Wunused-variable] EGLDisplay* g_eglDisplay; ^~~~~~~~~~~~ In file included from /workspace/softgym/PyFlex/bindings/pyflex.cpp:1:0: /workspace/softgym/PyFlex/bindings/main.cpp: In function 'int GetKeyFromGameControllerButton(SDL_GameControllerButton)': /workspace/softgym/PyFlex/bindings/main.cpp:84:9: warning: case value '17' not in enumerated type 'SDL_GameControllerButton' [-Wswitch] case SDL_CONTROLLER_BUTTON_RIGHT_TRIGGER: { ^~~~ In file included from /workspace/softgym/PyFlex/bindings/pyflex.cpp:1:0: /workspace/softgym/PyFlex/bindings/main.cpp: In function 'size_t AddSensor(int, int, int, Transform, float, bool, DepthRenderProfile ': /workspace/softgym/PyFlex/bindings/main.cpp:495:12: warning: unused variable 'maxParticles' [-Wunused-variable] uint32_t maxParticles = numParticles + g_numExtraParticles * g_numExtraMultiplier; ^~~~~~~~~~~~ In file included from /workspace/softgym/PyFlex/bindings/scenes.h:30:0, from /workspace/softgym/PyFlex/bindings/main.cpp:669, from /workspace/softgym/PyFlex/bindings/pyflex.cpp:1: /workspace/softgym/PyFlex/bindings/softgym_scenes/softgym_cloth.h: In member function 'virtual void SoftgymCloth::Initialize(pybind11::array_t, int)': /workspace/softgym/PyFlex/bindings/softgym_scenes/softgym_cloth.h:63:14: warning: unused variable 'size' [-Wunused-variable] int size = g_buffers->triangles.size(); ^~~~ In file included from /workspace/softgym/PyFlex/bindings/scenes.h:31:0, from /workspace/softgym/PyFlex/bindings/main.cpp:669, from /workspace/softgym/PyFlex/bindings/pyflex.cpp:1: /workspace/softgym/PyFlex/bindings/softgym_scenes/softgym_fluid.h: In member function 'virtual void SoftgymFluid::Initialize(pybind11::array_t, int)': /workspace/softgym/PyFlex/bindings/softgym_scenes/softgym_fluid.h:43:9: warning: unused variable 'surfaceTension' [-Wunused-variable] float surfaceTension = ptr[4]; ^~~~~~~~~~~~~~ /workspace/softgym/PyFlex/bindings/softgym_scenes/softgym_fluid.h:44:9: warning: unused variable 'adhesion' [-Wunused-variable] float adhesion = ptr[5]; ^~~~~~~~ In file included from /workspace/softgym/PyFlex/bindings/scenes.h:32:0, from /workspace/softgym/PyFlex/bindings/main.cpp:669, from /workspace/softgym/PyFlex/bindings/pyflex.cpp:1: /workspace/softgym/PyFlex/bindings/softgym_scenes/softgym_softbody.h: In member function 'void SoftgymSoftBody::CreateSoftBody(SoftgymSoftBody::Instance, int)': /workspace/softgym/PyFlex/bindings/softgym_scenes/softgym_softbody.h:202:10: warning: unused variable 'createStart' [-Wunused-variable] double createStart = GetSeconds(); ^~~~~~~~~~~ /workspace/softgym/PyFlex/bindings/softgym_scenes/softgym_softbody.h:222:10: warning: unused variable 'createEnd' [-Wunused-variable] double createEnd = GetSeconds(); ^~~~~~~~~ /workspace/softgym/PyFlex/bindings/softgym_scenes/softgym_softbody.h:233:10: warning: unused variable 'skinStart' [-Wunused-variable] double skinStart = GetSeconds(); ^~~~~~~~~ /workspace/softgym/PyFlex/bindings/softgym_scenes/softgym_softbody.h:245:10: warning: unused variable 'skinEnd' [-Wunused-variable] double skinEnd = GetSeconds(); ^~~~~~~ In file included from /workspace/softgym/PyFlex/bindings/scenes.h:33:0, from /workspace/softgym/PyFlex/bindings/main.cpp:669, from /workspace/softgym/PyFlex/bindings/pyflex.cpp:1: /workspace/softgym/PyFlex/bindings/softgym_scenes/softgym_rigid_cloth.h: In member function 'virtual void SoftgymRigidCloth::Initialize(pybind11::array_t, int)': /workspace/softgym/PyFlex/bindings/softgym_scenes/softgym_rigid_cloth.h:72:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=int(g_mesh->GetNumVertices()*0.6); iGetNumVertices(); ++i) ~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /workspace/softgym/PyFlex/bindings/scenes.h:80:0, from /workspace/softgym/PyFlex/bindings/main.cpp:669, from /workspace/softgym/PyFlex/bindings/pyflex.cpp:1: /workspace/softgym/PyFlex/bindings/scenes/shapechannels.h: In member function 'void ShapeChannels::Initialize()': /workspace/softgym/PyFlex/bindings/scenes/shapechannels.h:26:108: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] AddBox(Vec3(0.5f, 0.1f, 0.5f), Vec3(0.0f, 0.5f + i*0.5f, 0.0f), Quat(), false, eNvFlexPhaseShapeChannel0<