oscarwestberg / Face-Tracking-Maya

A plugin for maya tracking a face using markers and animating a 3D face-mesh based on marker positions. A C++ program using OpenCV will fetch data from the webcam, the program will then use image analysis to find tracking points. These points will be streamed as raw data to Maya using its command port which then modifies the geometry of a 3D model of a face.
65 stars 17 forks source link

Which version of Visual Studio is used to build Face-Tracking-Maya? #1

Open shaochun opened 7 years ago

shaochun commented 7 years ago

Is it built in Win32 or Win64? Which version is it (2013 or 2015)?

The following is the error when tried to build in Win64. Both versions has the similar error:

error LNK2019: unresolved external symbol bind referenced in function "public: void __cdecl Socket::bind(int)" (?bind@Socket@@QEAAXH@Z) Face-Tracking-Maya\build\Socket.obj Face-Tracking-Maya

The socket.h and socket.cpp looks good though.

oscarwestberg commented 7 years ago

I remember that there were some problems getting it to work on windows. I compiled for mac so I don't know the answer to this, maybe @AronTornberg remembers?

shaochun commented 7 years ago

[Solved] ws2_32.lib has to be added to the Additional Deps since Socket depends on winsock2.