Page 1 of 1

MFC Demo compile error

Posted: 19 Jul 2011, 00:19
by MujunKim
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

Re: MFC Demo compile error

Posted: 19 Jul 2011, 09:29
by griffin.milsap
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