terryky / tflite_gles_app

GPU accelerated deep learning inference applications for RaspberryPi / JetsonNano / Linux PC using TensorflowLite GPUDelegate / TensorRT
MIT License
488 stars 130 forks source link

failed to compile vertex shader ! #11

Closed satyajitghana closed 3 years ago

satyajitghana commented 3 years ago

Hey, i've been trying to get the examples to work on a Jetson Nano, but i'm getting the below error

image

and i have no clue what this might be related to, the above is trying to run gl2facemesh

compile command: make -j4 TARGET_ENV=jetson_nano TFLITE_DELEGATE=GPU_DELEGATEV2 ENABLE_IMGUI=true ENABLE_VDEC=true

i've try to enable/disable IMGUI and VDEC option, but same error pops up

satyajitghana commented 3 years ago

nevermind, my bad, i was using vnc connection, and opengl wasn't working

quhb2455 commented 3 years ago

hi @satyajitghana thank you for your self answer i got same error with you how can i solve it? and what is meaning of "the opengl wan't working"? thank you

satyajitghana commented 3 years ago

@quhb2455 when using a VNC connected OpenGL wasn't supported, i.e. the render engine doesn't use OpenGL, so i was getting that error.

see if you can get glxgears to run, if it does, then opengl is working.