Search found 14 matches

by krutanen
22 May 2013, 14:37
Forum: Software Development
Topic: Suggestions for the software development process
Replies: 1
Views: 2033

Suggestions for the software development process

Hi, I'd like to suggest some improvements to your software development process:) [*] Switch to use a distributed version control system. It allows local copies of source code; every local repository is complete, and no repository is priviledged over others. This way not every commit has to be into t...
by krutanen
21 May 2013, 13:00
Forum: Software Development
Topic: MatlabDemo batch crashes
Replies: 6
Views: 4467

Re: MatlabDemo batch crashes

We managed to solve this problem. First of all, the crash occurs because of a bug in the OSError class (OSError.cpp). My guess is that this has to do with you using a global variable for the default error message. After this error-reporting is fixed, it becomes clear that ::LoadLibrary can not find ...
by krutanen
21 May 2013, 12:39
Forum: Software Development
Topic: MatlabDemo batch crashes
Replies: 6
Views: 4467

Re: MatlabDemo batch crashes

We can locate the crash into MatlabFilter.cpp at line 66, to the function call MatlabEngine::Open(), which is located at MatlabWrapper.cpp line 176. Here, ::LoadLibrary (trying to find libeng) returns dllHandle = 0, so the library-loading fails. Subsequently, the control goes to printing out an erro...
by krutanen
21 May 2013, 10:50
Forum: Software Development
Topic: MatlabDemo batch crashes
Replies: 6
Views: 4467

Re: MatlabDemo batch crashes

We have two computers A and B. The (Matlab-demo of the) same build of BCI2000 works in computer A, but does not work in computer B (the crash above). It seems that this has something to do with dynamic linking. We can find only one libeng.dll on the whole harddisk, and that is in the Matlab installa...
by krutanen
21 May 2013, 08:04
Forum: Software Development
Topic: MatlabDemo batch crashes
Replies: 6
Views: 4467

Re: MatlabDemo batch crashes

An update. We uninstalled all Matlab versions, rebooted, and then installed Matlab 2012 32-bit will all the toolboxes. The same error persists.
by krutanen
21 May 2013, 07:26
Forum: Software Development
Topic: MatlabDemo batch crashes
Replies: 6
Views: 4467

MatlabDemo batch crashes

Hi, The MatlabDemo_SignalProcessing.bat "crashes" with us. You get the usual windows, but then the log says that an access violation happened in the MatlabFilter. This happens both with the prebuilt version, and our own build. We have Windows 7, Matlab 2011b (both 32-bit and 64-bit), and M...
by krutanen
16 May 2013, 09:44
Forum: Software Development
Topic: Build BCI2000 in Visual Studio 2010
Replies: 19
Views: 13011

Re: Build BCI2000 in Visual Studio 2010

I went ahead to uninstall Visual Studio 2010, and the SP1, and then reinstall it. Unfortunately, this triggered an installation bug in Visual Studio 2010, which almost ruined everything (it prevents Visual Studio 2010 and 2012 from compiling anything): http_nospam_stackoverflow.com/questions/1246030...
by krutanen
15 May 2013, 12:50
Forum: Software Development
Topic: Build BCI2000 in Visual Studio 2010
Replies: 19
Views: 13011

Re: Build BCI2000 in Visual Studio 2010

I agree; that might be the possible cause. I first built it with Visual Studio 2010 Express without the SP1, so CMake created some information about the compiler at this point. After seeing errors which are related to that update, I updated the compiler to SP1, and tried to build again. And here I h...
by krutanen
15 May 2013, 11:11
Forum: Software Development
Topic: Build BCI2000 in Visual Studio 2010
Replies: 19
Views: 13011

Re: Build BCI2000 in Visual Studio 2010

Hi,

I should also mention that choosing "Clean solution" or "Rebuild solution" in Visual Studio did not fix the problem. This may simplify the diagnosis a bit.

Kalle
by krutanen
15 May 2013, 11:04
Forum: Software Development
Topic: Build BCI2000 in Visual Studio 2010
Replies: 19
Views: 13011

Re: Build BCI2000 in Visual Studio 2010

Hi, I did a checkout to an empty new directory. Everything now builds ok, except for one project. But even this project builds after using an external Qt library. It builds in both debug and release modes. So problem solved:) Thank you. Now to diagnose the cause of the linker errors, if you will. Th...
by krutanen
15 May 2013, 09:42
Forum: Software Development
Topic: Build BCI2000 in Visual Studio 2010
Replies: 19
Views: 13011

Re: Build BCI2000 in Visual Studio 2010

Hi, I tried VS2010 Professional as well, but had the same errors. The Express and Professional are both with Service Pack 1; do you also have Service Pack 1 installed? What I do is to first delete CMakeCache.txt, and then run "Make VS10 project files.bat". In the questions I answer all wit...
by krutanen
15 May 2013, 07:10
Forum: Software Development
Topic: Build BCI2000 in Visual Studio 2010
Replies: 19
Views: 13011

Re: Build BCI2000 in Visual Studio 2010

Hi,

I updated to the newest version of BCI2000 source in the SVN repository. Unfortunately the unresolved external symbols, e.g. SigProcRegistry, still occur. Can this be because we are using the Express version of Visual Studio 2010?

Kalle
by krutanen
08 May 2013, 15:08
Forum: Software Development
Topic: Build BCI2000 in Visual Studio 2010
Replies: 19
Views: 13011

Re: Build BCI2000 in Visual Studio 2010

Hi, Just to add that the problems with Qt can be solved, instead of modifying the UseQt4.cmake file, by installing Qt from http_nospam_qt-project.org/downloads and then in /build/cmake/FindQt.cmake replacing the line SET( USE_STD_QT FALSE ) with SET( USE_STD_QT TRUE ) But we are still unable to get ...
by krutanen
06 May 2013, 11:25
Forum: Software Development
Topic: Build BCI2000 in Visual Studio 2010
Replies: 19
Views: 13011

Build BCI2000 in Visual Studio 2010

Hi, I've been trying to build BCI2000 using Visual Studio 2010 but am facing difficulties. Can someone tell me where I am going wrong? Here's what I am doing now. * Install Visual Studio 2010 (2012 seems not to be supported in BCI2000 at the moment) * Install Visual Studio 2010 Service Pack 1 Withou...