whoenig/vicon-datastream-sdk

How to compile a simple C program with DataStream SDK

caginagirdemir opened this issue · 2 comments

Hello again.

I have research many times but there is just a one source that is Documentation pdf.
But I can't compile a simple program which use printf client_getversion.
in Document file see include DataStreamClient.h and gcc with libViconDataStreamSDK_CPP.a

image

so I wrote this shell command -> gcc main.c libViconDataStream_CPP.a

When I use ViconDataStreamSDK_CPP/DataStreamClient.h
I got errors like "vector: no such file or directory" or "memory: no such file or directory" or "string: no such file or directory"

image

Error:

image

When I use ViconDataStreamSDK_C/CClient.h

image

Error:
image

I really stuck. There is no video about it. There is no sample code.

I guess second error WSL Ubuntu fault. (undefined reference to ' ... '. Because I found same errors on internet.

This repository is just a mirror. I can't provide support for the actual SDK. Note, however, that a C++ example application is included.