Hello,
I have followed documentation and installed JetPack from my host computer to the TX2.
The directory ~/NVIDIA_CUDA-8.0_Samples/bin/aarch64/linux/release contains the binaries, but does not include oceanFFT and many others, especially samples from 5_Simulations.
So I tried to compile it by issuing the command:
SMS=53 EXTRA_LDFLAGS=--unresolved-symbols=ignore-in-shared-libs TARGET_ARCH=aarch64 make
And unfortunately I get the following output with an error:
nvidia@tegra-ubuntu:~/NVIDIA_CUDA-8.0_Samples/5_Simulations/oceanFFT$ SMS=53 EXTRA_LDFLAGS=--unresolved-symbols=ignore-in-shared-libs TARGET_ARCH=aarch64 make
/usr/local/cuda-8.0/bin/nvcc -ccbin g++ -I../../common/inc -m64 -gencode arch=compute_53,code=sm_53 -gencode arch=compute_53,code=compute_53 -o oceanFFT.o -c oceanFFT.cpp
oceanFFT.cpp: In function ‘void display()’:
oceanFFT.cpp:522:5: error: reference to ‘glClientActiveTexture’ is ambiguous
glClientActiveTexture(GL_TEXTURE0);
^
In file included from ../../common/inc/helper_gl.h:23:0,
from oceanFFT.cpp:37:
/usr/include/GL/gl.h:1825:23: note: candidates are: void glClientActiveTexture(GLenum)
GLAPI void GLAPIENTRY glClientActiveTexture( GLenum texture );
^
In file included from oceanFFT.cpp:37:0:
../../common/inc/helper_gl.h:107:17: note: void (* __HelperGL::glClientActiveTexture)(GLenum)
USE_GL_FUNC(glClientActiveTexture, PFNGLACTIVETEXTUREPROC);
^
../../common/inc/helper_gl.h:45:44: note: in definition of macro ‘USE_GL_FUNC’
#define USE_GL_FUNC(name, proto) proto name = (proto) glXGetProcAddress ((c
^
oceanFFT.cpp:527:5: error: reference to ‘glClientActiveTexture’ is ambiguous
glClientActiveTexture(GL_TEXTURE1);
^
In file included from ../../common/inc/helper_gl.h:23:0,
from oceanFFT.cpp:37:
/usr/include/GL/gl.h:1825:23: note: candidates are: void glClientActiveTexture(GLenum)
GLAPI void GLAPIENTRY glClientActiveTexture( GLenum texture );
^
In file included from oceanFFT.cpp:37:0:
../../common/inc/helper_gl.h:107:17: note: void (* __HelperGL::glClientActiveTexture)(GLenum)
USE_GL_FUNC(glClientActiveTexture, PFNGLACTIVETEXTUREPROC);
^
../../common/inc/helper_gl.h:45:44: note: in definition of macro ‘USE_GL_FUNC’
#define USE_GL_FUNC(name, proto) proto name = (proto) glXGetProcAddress ((c
^
oceanFFT.cpp:579:5: error: reference to ‘glClientActiveTexture’ is ambiguous
glClientActiveTexture(GL_TEXTURE0);
^
In file included from ../../common/inc/helper_gl.h:23:0,
from oceanFFT.cpp:37:
/usr/include/GL/gl.h:1825:23: note: candidates are: void glClientActiveTexture(GLenum)
GLAPI void GLAPIENTRY glClientActiveTexture( GLenum texture );
^
In file included from oceanFFT.cpp:37:0:
../../common/inc/helper_gl.h:107:17: note: void (* __HelperGL::glClientActiveTexture)(GLenum)
USE_GL_FUNC(glClientActiveTexture, PFNGLACTIVETEXTUREPROC);
^
../../common/inc/helper_gl.h:45:44: note: in definition of macro ‘USE_GL_FUNC’
#define USE_GL_FUNC(name, proto) proto name = (proto) glXGetProcAddress ((c
^
oceanFFT.cpp:581:5: error: reference to ‘glClientActiveTexture’ is ambiguous
glClientActiveTexture(GL_TEXTURE1);
^
In file included from ../../common/inc/helper_gl.h:23:0,
from oceanFFT.cpp:37:
/usr/include/GL/gl.h:1825:23: note: candidates are: void glClientActiveTexture(GLenum)
GLAPI void GLAPIENTRY glClientActiveTexture( GLenum texture );
^
In file included from oceanFFT.cpp:37:0:
../../common/inc/helper_gl.h:107:17: note: void (* __HelperGL::glClientActiveTexture)(GLenum)
USE_GL_FUNC(glClientActiveTexture, PFNGLACTIVETEXTUREPROC);
^
../../common/inc/helper_gl.h:45:44: note: in definition of macro ‘USE_GL_FUNC’
#define USE_GL_FUNC(name, proto) proto name = (proto) glXGetProcAddress ((c
^
Makefile:270: recipe for target 'oceanFFT.o' failed
make: *** [oceanFFT.o] Error 1
Any ideas, help or reccomendations greatly appreciated.
Best regards,
C.