git clone https://github.com/StanfordVL/GibsonEnv.git cd GibsonEnv ./download.sh ./build.sh build_local
首先会报错:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
GibsonEnv/gibson/core/channels/external/glew.c:2774:1: error: unknown type name ‘PFNGLCLEARDEPTHFOESPROC’; did you mean ‘PFNGLCLEARDEPTHFPROC’? 2774 | PFNGLCLEARDEPTHFOESPROC __glewClearDepthfOES = NULL; | ^~~~~~~~~~~~~~~~~~~~~~~ | PFNGLCLEARDEPTHFPROC /home/adipandas/git_clones/GibsonEnv/gibson/core/channels/external/glew.c:2774:48: warning: initialization of ‘int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion] 2774 | PFNGLCLEARDEPTHFOESPROC __glewClearDepthfOES = NULL; | ^~~~ /home/adipandas/git_clones/GibsonEnv/gibson/core/channels/external/glew.c:2775:1: error: unknown type name ‘PFNGLCLIPPLANEFOESPROC’; did you mean ‘PFNGLCLIPPLANEFPROC’? 2775 | PFNGLCLIPPLANEFOESPROC __glewClipPlanefOES = NULL; | ^~~~~~~~~~~~~~~~~~~~~~ | PFNGLCLIPPLANEFPROC /home/adipandas/git_clones/GibsonEnv/gibson/core/channels/external/glew.c:2775:46: warning: initialization of ‘int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion] 2775 | PFNGLCLIPPLANEFOESPROC __glewClipPlanefOES = NULL; | ^~~~ /home/adipandas/git_clones/GibsonEnv/gibson/core/channels/external/glew.c:2776:1: error: unknown type name ‘PFNGLDEPTHRANGEFOESPROC’; did you mean ‘PFNGLDEPTHRANGEFPROC’? 2776 | PFNGLDEPTHRANGEFOESPROC __glewDepthRangefOES = NULL; | ^~~~~~~~~~~~~~~~~~~~~~~ | PFNGLDEPTHRANGEFPROC ......