Quantcast
Viewing all articles
Browse latest Browse all 4929

ofDirectShowPlayer causes an unresolved external symbol error

@felipelnv wrote:

Hi there!

I'm trying to use ofDirectShowPlayer to play video for an Oculus application I'm developing. When I compile in debug mode there is this error:

LNK2019: unresolved external symbol "public: void __cdecl ofDirectShowPlayer::draw(float,float)" (?draw@ofDirectShowPlayer@@QEAAXMM@Z) referenced in function "public: void __cdecl content::update(int,float)" (?update@content@@QEAAXHM@Z)

It is relative to the file content.obj which is relative to content.cpp, one of the classes I created for the project. I'm assuming from what I read in the documentation that ofDirectShowPlayer is working the same way as ofVideoPlayer does. Is this correct? Is it necessary to do some other stuff? And also, what is the difference between using one or the other for a Windows application?

I'm using:
Windows 7
OF 0.9.0 - 64bit - Visual Studio 2015

Thanks a lot!

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4929