Compilation Problems with VS Express 2010

Forum for software developers to discuss BCI2000 software development
Locked
vladi
Posts: 18
Joined: 04 Jan 2012, 08:29

Compilation Problems with VS Express 2010

Post by vladi » 04 Jan 2012, 08:49

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.

jawilson
Posts: 109
Joined: 28 Feb 2005, 16:31

Re: Compilation Problems with VS Express 2010

Post by jawilson » 05 Jan 2012, 11:10

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

mellinger
Posts: 1064
Joined: 12 Feb 2003, 11:06

Re: Compilation Problems with VS Express 2010

Post by mellinger » 10 Jan 2012, 11:00

The compilation problem has been fixed on SVN. Do an "SVN update", and compile again.

Locked

Who is online

Users browsing this forum: No registered users and 2 guests