Problem with BST and Windows 7

Hello all,

I’ve had some troubles using BST with windows 7, I was using it with XP and had no problem.
Every time BST starts asks me something about a compiler (with XP this never happened). Then, when I want to compute a realistic head model using OpenMEEG, it starts downloading it but it pops up the following error: error#-1073741515:

Is BST compatible with Windows 7? Do I need any driver for this?

Thank you for your help in advance!

Federico

Hi Federico,

I don’t know about the general BST problem. But regarding OpenMEEG
is seems the binaries I ship are not compatible with windows 7.
Is it win7 32 or 64 bits? I may be able to find a windows 7 system
to check it.

thanks for sending us feed back.

Alex

It’s win7 64 bits what I’m having troubles with.

Thanks for your help!

Federico

Hi Frederico,

sorry for the delay.

Can you try with this version:

http://openmeeg.gforge.inria.fr/download/OpenMEEG-2.1.dev-win64-x86_64-cl-shared.tar.gz

?

you should update the automatic downloaded openmeeg commands with these ones.

Alex

Hi,Federico
Did you fix the error?
Maybe, you should download msvcr100.dll and copy it to the folder including msvcr80.dll.

Screen

if adding this dll fixes the problem, let me know so I can add it to the installer.

Alex

Hi Alex,
Sorry for the delay, I tried usin OpenMEEG in other computer using 64 bits Win7 and it worked with no problem. Anyway I will try doing what you suggest in the other machine and I’ll let you know how it worked.
Thank for your answer!!
Federico

hi Federico,

that’s good news. Is the other machine with a problem also running windows 7 64bits?
I so, could the problem be due to an uninstalled windows program like visual studio?

Alex

Hi Alex,

Yes, that machine is also running win7 64 bits. It is my thesis’ director computer, so I don´t know what programs are installed or uninstalled, but that could be the problem. When I have access to the computer again I will check that and try the other solutions you told me before, I’m sure it’s a very simple problem. Before trying with other computer, I was concerned that openMEEG wouldn’t work under win7, but that’s clearly not a problem.

Thank you!

Federico

Hi Federico,

Sorry for the delay, I was away for a long time. I just had a new laptop with windows 7, and Brainstorm/OpenMEEG seems to work just fine with both the 32bits and the 64bits versions of Matlab. But I have many development programs installed on my computer, so I may have some shared libraries (.dll files) installed that you don’t have. Try what Alexandre suggested (downloading msvcr100.dll in C:\windows\system32), and let us know if it fixes the problem.

There might be other issues of access rights on Windows 7, when the user is not the administrator of the machine. I need to investigate this problem deeper.

There is another problem regarding Matlab on any version of Windows 64bits: the C++ compiler (those messages you see when brainstorm starts). Matlab 32bits is distributed with a free C++ compiler, lcc-win32, that you would see listed if you type “mbuild -setup” in the console of Matlab 32bits. Matlab 64bits requires the user to install separately another compiler: Microsoft Visual C++ Express.
This compiler is used only if you are using some very specific functions of Brainstorm. I will soon remove the compiler detection from the startup and prompt for it only when needed, because a growing number of people are using 64bits systems and it’s annoying everybody. You should not worry about this.

Cheers,
Francois

for windows 7 with no visual studio installed, it was recently reported that the following package is required to have the missing DLLs:

http://www.microsoft.com/download/en/details.aspx?id=14632

hope this helps.

Best,
Alex

Hi, Francois,

I still got the problem when try to use openMeeg to built the BEM head model, the [I]OpenMEEG error #-1073741515[/I], and my system is window 7, 32 bit. I’m looking forward for all the solutions and saw your suggestion and typed “mbuild -setup” , it showed a new error

Error: No file names given.
??? Error using ==> mbuild at 189
Unable to complete successfully.

Is that why i can’t successfully run the openMeeg? and what should I do to fix it ? Thank you so much if you can replay.

Cheers,
Ronghua

Hi Ronghua,

The command “mbuild” is related with the compilation of mex-files in Matlab.
OpenMEEG does not require Matlab to be able to compile anything, mbuild is not used. So no, it is not directly related.

However, if “mbuild -setup” crashes when you run it on your computer, it definitely means that something is not installed properly…
Have you installed the “Microsoft Visual C++ 2010 Redistributable Package (x86)” ?

Alex: another idea on how to fix the problem?

Francois