Can not open the batch file

Known Issues and Problems with BCI2000
suekuu
Posts: 10
Joined: 12 Jul 2020, 23:18

Re: Can not open the batch file

Post by suekuu » 15 Jul 2020, 15:39

there are several warnings

5>build\buildutils\AppBundler\BundleStub\FunctionHook.cpp(372): warning C4293: “>>”: shift count negative or too big, undefined behavior in VS

the files below all share the same warning
warning C4819: The file contains a character that cannot be represented in the current code page. Save the file in Unicode format to prevent data loss.
16>src\shared\gui\DisplayStatisticsField.cpp :
15>src\contrib\extensions\wiimotelogger\extlib\winddk\inc\hidpi.h(726)
15>src\contrib\extensions\wiimotelogger\extlib\winddk\inc\hidpi.h(1295)
53>src\core\signalsource\g.unicorn\imports\unicorn.h
92>src\contrib\signalsource\enobio\enobio3g\lib/Enobio3G.h
131>src\contrib\signalsource\openbci_module\OpenBCI_ModuleADC.h
181>src\core\SignalSource\g.HIampSource\gHIampDevice.cpp

the projects below all share the same warning
MSVCRT.lib(initializers.obj) : warning LNK4098: defaultlib “libcmt.lib” conflicts with use of other libs; use /NODEFAULTLIB:library
DummyApplication, AttentionTask, BB8Control, CursorTask, CursorTaskWithGauges, FeedbackDemo, GaugesOnly, NeurofeedbackTask, P3Speller, PyffApplication, PythonApplication, ReactionAuditoryCalibrationTask, ReactionAuditoryTask, ReactionTask, ReactionTimeVisualPerceptionTask,ReactionVisualCalibrationTask, StimulusPresentation, BCI2000MediaPlayer

src\private\Application\ReactionTimeVisualPerceptionTask\ReactionTimeVisualPerceptionTask.cpp(1067): warning C4805: “==”: unsafe mix of type 'uint32_t' and type 'bool' in operation
Last edited by suekuu on 16 Jul 2020, 12:40, edited 1 time in total.

mellinger
Posts: 1210
Joined: 12 Feb 2003, 11:06

Re: Can not open the batch file

Post by mellinger » 15 Jul 2020, 16:50

I don't think that any of those warnings is relevant to your problem.
In the meanwhile, I tried compiling with VS2017 and linking against Qt 5.14.2. I could not observe any defect in the Operator module, and batch files worked as they should.

Are there any non-ASCII characters in the path to the directory you are building BCI2000 from?

suekuu
Posts: 10
Joined: 12 Jul 2020, 23:18

Re: Can not open the batch file

Post by suekuu » 15 Jul 2020, 22:25

No, they're all ASCII characters.

I tried to launch the operator.exe from an older version and three other modules from the newest version separately, and this time it says

2020-07-16T10:17:05 - SignalGenerator: Next module's IP/Port parameters not available.
2020-07-16T10:17:05 - ARSignalProcessing: Next module's IP/Port parameters not available.
2020-07-16T10:17:05 - CursorTask: Next module's IP/Port parameters not available.
2020-07-16T10:17:06 - SignalSource confirmed new parameters ...
2020-07-16T10:17:06 - SignalGenerator: Lost connection to SignalProcessing: Unknown error state.

Is it normal?
Last edited by suekuu on 16 Jul 2020, 12:40, edited 1 time in total.

mellinger
Posts: 1210
Joined: 12 Feb 2003, 11:06

Re: Can not open the batch file

Post by mellinger » 16 Jul 2020, 06:37

Yes, this is normal. The Operator module version needs to match the most recent module's, or must be newer.

suekuu
Posts: 10
Joined: 12 Jul 2020, 23:18

Re: Can not open the batch file

Post by suekuu » 18 Jul 2020, 03:26

Hi,

I uninstalled and re-installed everything. And this time I changed the BCI2000 and Qt into 64bit. Though I don't know why, anyway, everything solved!
Thank you for your guidance!

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests