You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys, I am having some issues compiling a simple cpp program to read an RDL2 file.
I am following the example of: #include <scene_rdl2/scene/rdl2/rdl2.h> SceneContext context; context.readSceneFromFile("myScene.rdla",context);
I am getting this error when it is building:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey guys, I am having some issues compiling a simple cpp program to read an RDL2 file.
I am following the example of:
#include <scene_rdl2/scene/rdl2/rdl2.h> SceneContext context; context.readSceneFromFile("myScene.rdla",context);
I am getting this error when it is building:
include/scene_rdl2/scene/rdl2/Types.h:499:22: error: expected ‘)’ before ‘*’ token 499 | typedef void (__cdecl * ShadeFunc)( const rdl2::Material* self, | ~ ^~
Any ideas what I am doing wrong here?
Thanks!
(I am on Rocky9.3, gcc11.4, and cmake3.23)
Beta Was this translation helpful? Give feedback.
All reactions