Page 1 of 1

Compilation Problems with VS Express 2010

Posted: 04 Jan 2012, 08:49
by vladi
I tryed to follow the instruction on the on quick start guide in order to create a new source module. But if I try to build it with VS 10 I get the following errors and I also get the same errors when I try to rebuild on of the existing modules.

2>C:\BCI2000\src\shared\utils\Expression\ArithmeticExpression.cpp(364): error C2662: 'ArithmeticExpression::StoredPointer::Delete': this-Zeiger kann nicht von 'const ArithmeticExpression::StoredPointer' in 'ArithmeticExpression::StoredPointer &' konvertiert werden

3>LINK : fatal error LNK1104: Datei "..\..\..\frameworks\CoreLib\Debug\BCI2000FrameworkCore.lib" kann nicht geƶffnet werden.

I would really appreciate if anybody would have a idea what i could do.

Re: Compilation Problems with VS Express 2010

Posted: 05 Jan 2012, 11:10
by jawilson
If you previously used VS 2008, you need to create a new solution file using the

Code: Select all

BCI2000/build/Make VS10 Project Files.bat
file. I actually often completely delete the build directory completely, and do an SVN checkout just to make sure nothing undesirable is left in that folder.

For the linker error, make sure that the BCI2000Framework* libraries are compiled before anything else. This should happen by default, but you never know with Microsoft products.

Adam

Re: Compilation Problems with VS Express 2010

Posted: 10 Jan 2012, 11:00
by mellinger
The compilation problem has been fixed on SVN. Do an "SVN update", and compile again.