Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

mocap

mocap

timkarlo2ZXUG
Explorer Explorer
305 Views
0 Replies
Message 1 of 1

mocap

timkarlo2ZXUG
Explorer
Explorer

I'd like to run this:

#include <mocapserial.h>
#include <mocapserver.h>
#include <stdio.h>
#include <winsock2.h>

//#include <stdlib.h>
static char program[80];
static char *server_name = program;
int client_fd;

int main(void)
{

     client_fd = CapServe(server_name);
     printf("client_fd %d \n", client_fd);
//CapChannel HeadTX;
//HeadTX = CapCreateChannel( (char*)"HeadTX", CAP_USAGE_XPOS, 1);

return 0;
}

 

but this erro appears:

libmocap.lib(capserver.obj):(.text[WspiapiParseV4Address]+0x30): undefined reference to `__imp_inet_addr'

 

Any ideas where is the problem?

(I'm using DEV C++)

0 Likes
306 Views
0 Replies
Replies (0)