BCI2000 compile/Build Error

This forum deals with BCI2000 configuration issues.
Locked
saimrasheed
Posts: 18
Joined: 08 Jul 2009, 12:38

BCI2000 compile/Build Error

Post by saimrasheed » 30 Nov 2014, 23:14

Hi Community,
I have used BCI2000 for several times for conducting experiments but its for the first time I am building BCI2000 and indeed its first time I am compiling open source project, so facing technical issues.
I am using windows 7/64, Microsoft Visual Studio 2010 ultimate. So my compiler and IDE is there and it seems from documentation, http://www.bci2000.org/wiki/index.php/P ... ng_BCI2000 that I don't need Qt.

Now, If you look at cmd window, it is looking and downloading for qt different versions. Is that really needed? or I am overlooking something?

Please help.
thanks
Attachments
Error File.png

boulay
Posts: 382
Joined: 25 Dec 2011, 21:14

Re: BCI2000 compile/Build Error

Post by boulay » 01 Dec 2014, 09:49

Yes, you do need Qt. You don't necessarily have to install it yourself though, because the BCI2000 make script can download it for you, as it seems to have done in your case. Check your BCI2000\build\download_cache\qt directory.

I have had trouble in the past where it wouldn't finish the make process on the first attempt unless I already had qt downloaded. I guess there's a problem in the script execution order. Did you try running the script after it downloaded qt?

The other thing I noticed is that your script is looking for qt-4.8.4.win32-amd64-msvc2010. The file I have is qt-4.8.4.win32-msvc2010 (without the amd64). Even though I'm using a 64-bit processor, it's much easier to build BCI2000 for 32-bit.

Are you trying 32-bit or 64-bit? Are you linking against 64-bit libraries?

saimrasheed
Posts: 18
Joined: 08 Jul 2009, 12:38

Re: BCI2000 compile/Build Error

Post by saimrasheed » 01 Dec 2014, 14:49

Yes I saw in build directory, there are qt-4.7.0.include and qt-4.8.4.include files downloaded.

Yes I ran the script (Make VS10 Project Files.cmd) after Qt downloaded but same message, I attached earlier, It is looking for qt-4.8.4.win32-amd64-msvc2010 which I don't have, I tried to search but could not get it yet. Please note that, I don't have any .bat files in build directory which I saw in some other threads people are running .bat files, which I don't have in my build folder.
Yet I haven't come across any linkings, I am using 64 bit.

I am confused now what to do next out of the followings?
1) Should I change my OS from 64 bit to 32 bit as you said its much easier to buil BCI2000 for 32 bit?

2) Should I uninstall Microsoft Visual Studio 2010 and install 2008 or 2013?

3) Should I download latest version of Qt first? Any way, I have download qt-win-opensource-4.8.4-vs2010.exe and Qt 5.3.2 for Windows 32-bit (VS 2010, 539.3 MB). it seems that VS 2010 works on 32 bit windows OS.

There are other downloads also, Qt 5.3.2 for Windows 64-bit (VS 2013, 575.2 MB), which probably means (I may be wrong), if I have 64 bit windows then I need to install VS 2013, instead VS2010.
However, there is another download, for windows 64, Qt 5.3.2 for Windows 64-bit (VS 2013, OpenGL, 573 MB)

I am total confused :?

boulay
Posts: 382
Joined: 25 Dec 2011, 21:14

Re: BCI2000 compile/Build Error

Post by boulay » 01 Dec 2014, 16:45

Batch files are older.

You can still use 64-bit OS but build for 32-bit. Actually this is supposed to be the default behaviour.

First, try renaming your qt files to add the -amd64 bit. It MIGHT work.

Second, try doing the make from cmake-gui, without using the build script. When you run CMAKE, I'd suggest using a separate folder (e.g. BCI2000\build_manual) as the build folder and using BCI2000\build as the source folder. You can use the cmake-gui to identify specific Qt files, to set your build parameters, and to set your target platform.

Locked

Who is online

Users browsing this forum: No registered users and 29 guests