Page 1 of 1

BCI2000Launcher Build Error: fatal error LNK1104 BCI2000FrameworkCore

Posted: 03 Dec 2015, 11:32
by horakglobal
I am trying to build the BCI2000Launcher and get the following error:

Code: Select all

1>------ Build started: Project: BCI2000Launcher, Configuration: Debug Win32 ------
1>  Building Custom Rule C:/Users/horak/Documents/BCI20002/BCI2000/src/core/Tools/BCI2000LauncherQt/CMakeLists.txt
1>  CMake does not need to re-run because C:\Users\horak\Documents\BCI20002\BCI2000\build\core\Tools\BCI2000LauncherQt\CMakeFiles\generate.stamp is up-to-date.
1>  Generating ui_MainWindow.h
1>  Generating moc_MainWindow.cxx
1>  BCIError_guiapp.cpp
1>  AboutBox.cpp
1>  ExecutableHelp.cpp
1>  Settings.cpp
1>  ColorListChooser.cpp
1>  main.cpp
1>  MainWindow.cpp
1>  ModuleInventory.cpp
1>  moc_MainWindow.cxx
1>  Generating Code...
1>LINK : fatal error LNK1104: cannot open file '..\..\..\frameworks\CoreLib\Debug\BCI2000FrameworkCore.lib'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Details
  • - I'm running Windows 8.1 and VS10 virtually. Though non-virtual attempts have led to the same error. Same goes for using VS2008 in both cases.

    - Upon making the project using "Make VS10 Project Files.bat" I ran into the same Qt related problem as discussed here: http://www.bci2000.org/phpbb/viewtopic.php?t=2058#p6020 and fixed them by "building against a Qt distribution outside the BCI2000 source tree" and changing the necessary flag within FindQt.cmake.
I've been hammering away at this for quite some time. Any suggestions would be greatly appreciated, thanks!

Re: BCI2000Launcher Build Error: fatal error LNK1104 BCI2000FrameworkCore

Posted: 07 Dec 2015, 14:50
by pbrunner
Horakglobal,

the upcoming release of BCI2000 v3.6 will require at least VS2012. As the BCI2000Launcher builds fine in the current SVN stack, can you please try to check out the BCI2000 SVN trunk [1] and use CMake version 3.2.x with Visual Studio 2012 (SP4) to compile it. Please not that SP4 is required for BCI2000 to compile correctly.

Regards, Peter

[1] http://www.bci2000.org/svn/trunk

Re: BCI2000Launcher Build Error: fatal error LNK1104 BCI2000FrameworkCore

Posted: 15 Dec 2015, 12:37
by horakglobal
Thanks Peter, SP4 for which OS?

Re: BCI2000Launcher Build Error: fatal error LNK1104 BCI2000FrameworkCore

Posted: 15 Dec 2015, 12:39
by pbrunner
Horakglobal,

the SP4 of Visual Studio 2012.

Please follow the instructions from the BCI2000 v3.6 beta test thread:

http://www.bci2000.org/phpbb/viewtopic.php?f=1&t=2955

Regards, Peter

Re: BCI2000Launcher Build Error: fatal error LNK1104 BCI2000FrameworkCore

Posted: 15 Dec 2015, 18:42
by horakglobal
Great, and which actual operating system do you recommend, which version of Windows?

Re: BCI2000Launcher Build Error: fatal error LNK1104 BCI2000FrameworkCore

Posted: 15 Dec 2015, 18:57
by pbrunner
Horakglobal,

every Windows version from XP on, except for Vista should work.

My personal preference is on XP and 7, as they are the most lean versions of Windows. That being said, BCI2000 seems to work really well on 8, 8.1 and 10. You can download the BCI2000 v3.6 binaries from the beta threat and judge whether everything works fine on your OS based on the timing [1].

Regards, Peter

[1] http://www.bci2000.org/wiki/index.php/U ... nce:Timing

Re: BCI2000Launcher Build Error: fatal error LNK1104 BCI2000FrameworkCore

Posted: 21 Dec 2015, 16:16
by horakglobal
Thanks so much for your prompt and helpful responses Peter! I've got everything up and running as far as I can tell :)