MFC Demo compile error

Forum for software developers to discuss BCI2000 software development
Locked
MujunKim
Posts: 1
Joined: 18 Jul 2011, 21:31

MFC Demo compile error

Post by MujunKim » 19 Jul 2011, 00:19

Dear,

I tried to compile the MFCDemo application module but I couldn't.

The error was : 'ApplicationWindow.h': No such file or directory.

So, I included 'ApplicationWindow.h' but compiler noticed me one more similar error

such that : '*.h' No such file or directory.

I downloaded current source code from website of the bci2000 wiki.

I think it is not completly upgraded.

How can I solve this problem?

Best Regards,

MujunKim

griffin.milsap
Posts: 58
Joined: 08 Jun 2009, 12:42

Re: MFC Demo compile error

Post by griffin.milsap » 19 Jul 2011, 09:29

MujunKim,

A recent change to BCI2000 enabled the environment to keep track of "ApplicationWindows" which allows several filters in an application module to draw to the same ApplicationWindow. This functionality will not work in the MFCDemo and as you pointed out, actually breaks the build for the MFCDemo.

I've fixed this problem by adding a define which disallows Environment from keeping track of ApplicationWindows. MFCDemo builds again.

Update your working copy to the latest version from SVN and rebuild the MFCDemo.

Thanks for pointing this out!

-Griff

Locked

Who is online

Users browsing this forum: No registered users and 1 guest