Skip to content

Question : Jetson TX2 #8

@andrewssobral

Description

@andrewssobral

Hello, thanks for providing this awesome app !
I would like very much to run it on my Jetson TX2, I tried to make some changes, for eg:

//#include <bcm_host.h>

//#include <GLES/gl.h>
#include <GL/gl.h>

but I'm still getting some errors (I see that bcm is from RPi):

ahrs-visualizer.cpp:46:15: error: ‘VC_RECT_T’ does not name a type; did you mean ‘GL_RECT_NV’?
 static inline VC_RECT_T rect_width_height(int width, int height)
               ^~~~~~~~~
               GL_RECT_NV
ahrs-visualizer.cpp: In function ‘void nice_bcm_host_init()’:
ahrs-visualizer.cpp:77:5: error: ‘bcm_host_init’ was not declared in this scope
     bcm_host_init();
     ^~~~~~~~~~~~~
ahrs-visualizer.cpp:77:5: note: suggested alternative: ‘nice_bcm_host_init’
     bcm_host_init();
     ^~~~~~~~~~~~~
     nice_bcm_host_init
ahrs-visualizer.cpp: In function ‘void opengl_init()’:
ahrs-visualizer.cpp:86:12: error: ‘EGL_DISPMANX_WINDOW_T’ does not name a type; did you mean ‘GL_DISPLAY_LIST’?
     static EGL_DISPMANX_WINDOW_T nativewindow;

Some tips?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions