-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
I tried building the Receiver-Example with DIS version 7. In order to do this I changed the target_link_libraries from OpenDIS6 to OpenDIS7. Furthermore I changed the Includes for the EntityStatePdu from #include <dis6/EntityStatePdu.h> to #include <dis7/EntityStatePdu.h> in EntityStatePduProcessor.h and main_receive.cpp.
When I try to build, I get an error about "type redefinition" of DIS::Pdu. In my opinion this makes sense, since there is still the Include #include <dis6/utils/IncomingMessage.h>. That include references dis6/Pdu.h.
What exactly am I doing wrong? How can I change the example to use DIS version 7?
Metadata
Metadata
Assignees
Labels
No labels