Can not open the batch file
Can not open the batch file
Dear all
I download the bci2000-trunk6134 source code and set it up followed by the instructions https://www.bci2000.org/mediawiki/index ... ng_BCI2000. But when I open the batch file (CursorTask_SignalGenerator.bat), the cmd just pop up and disapear, with nothing happened. I also tried BCI2000Laucher.exe, but it says "Could not connect to operator module".
FYI, I also download the BCI2000 Contributed Code(v3.0.5), and it runs perferctly well.
I find some relevant posts in BBS, viewtopic.php?t=1110, viewtopic.php?t=3405 ,viewtopic.php?t=3217, but sadly none of them works for me.
I do appreciate the help.
I download the bci2000-trunk6134 source code and set it up followed by the instructions https://www.bci2000.org/mediawiki/index ... ng_BCI2000. But when I open the batch file (CursorTask_SignalGenerator.bat), the cmd just pop up and disapear, with nothing happened. I also tried BCI2000Laucher.exe, but it says "Could not connect to operator module".
FYI, I also download the BCI2000 Contributed Code(v3.0.5), and it runs perferctly well.
I find some relevant posts in BBS, viewtopic.php?t=1110, viewtopic.php?t=3405 ,viewtopic.php?t=3217, but sadly none of them works for me.
I do appreciate the help.
Last edited by suekuu on 18 Jul 2020, 03:40, edited 1 time in total.
Re: Can not open the batch file
Hi,
I think you did not build all required binaries. For the batch file to work, you need to build BCI2000Shell and the Operator module in addition to the modules listed in the batch file.
HTH,
Jürgen
I think you did not build all required binaries. For the batch file to work, you need to build BCI2000Shell and the Operator module in addition to the modules listed in the batch file.
HTH,
Jürgen
Re: Can not open the batch file
Hi,
I did that, indeed. I build all modules in BCI2000.sln, but it still doesn't work.
I did that, indeed. I build all modules in BCI2000.sln, but it still doesn't work.
Re: Can not open the batch file
To see the error message that causes the batch file to fail, open a CMD shell window, navigate to the directory that contains the batch file, and execute the batch file by typing its name and pressing "enter".
Re: Can not open the batch file
It says: Operator module does not listen on localhost:3999
And I also checked that this port is not occupied by other processes.
And I also checked that this port is not occupied by other processes.
Re: Can not open the batch file
Do you have any 3rd-party firewall software installed?
Re: Can not open the batch file
No, only Windows Defender Firewall (I am using Win10)
When I shut down the Windows Defender Firewall, it still says: Operator module does not listen on localhost:3999.
I lauched the Operator.exe directly, the localhost:3999 remains available, and the Operator.exe didn't show up.
When I shut down the Windows Defender Firewall, it still says: Operator module does not listen on localhost:3999.
I lauched the Operator.exe directly, the localhost:3999 remains available, and the Operator.exe didn't show up.
Re: Can not open the batch file
Could it be that there is a defunct Operator process still running? Use task manager to detect and kill such a process.
Alternatively, try a reboot of your machine.
Alternatively, try a reboot of your machine.
Re: Can not open the batch file
I checked and there is no process named Operator.exe, or could it be other names?
I tried reboot, it still doesn't work
I tried reboot, it still doesn't work
Re: Can not open the batch file
As I have no more suggestions to make, I'll try to reproduce your issue on my machine. Which version of Visual Studio are you using? Which version of Qt are you linking against?
Re: Can not open the batch file
I am using VS2017 and Qt5.14.2 (MSVC2017 32bit).
At first I followed the instructions https://www.bci2000.org/mediawiki/index ... ng_BCI2000 and downloaded /svn/tags/releases/current through SVN and Qt5.14.2 64bit. However, I found that some source code don't support Qt 64bit, so I changed the Qt into 32bit.
Then I still found it hard to build the modules, there were many errors saying that some files are lost or some CMakeList.txt are wrong. Now I think it may be caused by the fact that I updated some subfolders through SVN, in order to get the newest version of source code, which leads to the mixture of different versions.
Then I just downloaded the newest version trunk-6134, separatly but without deleting the older version, and at this time, all modules were built and released successfully in Win32, except the followings:
GameBreakout,
demoneurod,
AmpServerPro,
CortecADC,
due to some fatal errors.
And then, when I tried to launch the batch file, I came across this issue.
Could it because I am using 32bit? or the failure of some modules? or I downloaded the older version source code and tried and failed to build it?
Sorry I didn't bring it up at first. Thank you very much!
the following attachments are the configuration of CMake, I hope these will help.
download/file.php?mode=view&id=388
download/file.php?mode=view&id=389
as for the error message in cmd, I find it different this time : application initialization failed.
At first I followed the instructions https://www.bci2000.org/mediawiki/index ... ng_BCI2000 and downloaded /svn/tags/releases/current through SVN and Qt5.14.2 64bit. However, I found that some source code don't support Qt 64bit, so I changed the Qt into 32bit.
Then I still found it hard to build the modules, there were many errors saying that some files are lost or some CMakeList.txt are wrong. Now I think it may be caused by the fact that I updated some subfolders through SVN, in order to get the newest version of source code, which leads to the mixture of different versions.
Then I just downloaded the newest version trunk-6134, separatly but without deleting the older version, and at this time, all modules were built and released successfully in Win32, except the followings:
GameBreakout,
demoneurod,
AmpServerPro,
CortecADC,
due to some fatal errors.
And then, when I tried to launch the batch file, I came across this issue.
Could it because I am using 32bit? or the failure of some modules? or I downloaded the older version source code and tried and failed to build it?
Sorry I didn't bring it up at first. Thank you very much!
the following attachments are the configuration of CMake, I hope these will help.
download/file.php?mode=view&id=388
download/file.php?mode=view&id=389
as for the error message in cmd, I find it different this time : application initialization failed.
- Attachments
-
- 1.png (36.42 KiB) Viewed 782133 times
-
- 2.png (36.05 KiB) Viewed 782133 times
Last edited by suekuu on 18 Jul 2020, 04:18, edited 1 time in total.
Re: Can not open the batch file
How did you get access to the contents of src/private? Your user account is not listed in the svn access file.
Re: Can not open the batch file
I download the trunk throughhttps://www.bci2000.org/tracproj/browser, because it is quite slow through SVN
Re: Can not open the batch file
Ah, trac was misconfigured. Thank you.
Re: Can not open the batch file
That probably means the program is missing a DLL it requires. Did you get any warning messages while building?as for the error message in cmd, I find it different this time : application initialization failed.
Who is online
Users browsing this forum: No registered users and 11 guests