Building from source in VS2010

Forum for software developers to discuss BCI2000 software development
Locked
azurex
Posts: 12
Joined: 16 Mar 2011, 10:31

Building from source in VS2010

Post by azurex » 09 Aug 2011, 17:46

Using the most recent build environment.
27 of the 87 projects fail with the
Error 3 error LNK2019: unresolved external symbol "public: static bool __cdecl OSThread::IsMainThread(void)" (?IsMainThread@OSThread@@SA_NXZ) referenced in function "public: class BCIError::OutStream & __thiscall BCIError::OutStream::operator()(char const *)" (??ROutStream@BCIError@@QAEAAV01@PBD@Z) C:\Users\AZX\Downloads\BCI2000src\BCI2000src\build\contrib\SignalSource\Neuroscan\getparams\BCIError.obj neurogetparams

error similar to the one show above.
\Also LNK1120: 1 unresolved externals for each time that the initial error appears.

using cmake 2.8.5 with no QT selected but MFC is.

azurex
Posts: 12
Joined: 16 Mar 2011, 10:31

Re: Building from source in VS2010

Post by azurex » 09 Aug 2011, 17:53

I fixed it by adding OSThread.cpp and OSthread.h to the project, but this should be updated in the CMAKE

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

Re: Building from source in VS2010

Post by mellinger » 15 Aug 2011, 07:57

Hi,

thanks for reporting the error. It has been fixed along with a number of changes in rev. 3459 (http://www.bci2000.org/tracproj/changeset/3459).

Regards,
Juergen

Locked

Who is online

Users browsing this forum: No registered users and 6 guests