Hello,
I installed the SDK to modify a MediaLiveService C++ program I did years ago but now I can’t get the sample to work.
If I run it from the Debug folder I get:
... Trying to Login
... Login Completed
0000000000000000
Done...
If I only replace the .exe file in the old Debug folder I get stuck in:
... Trying to Login
... Login Completed
... Trying to Connect to the camera
... Starting video stream
If I try to run it in debug configuration with MilestoneSystems.VideoOS.Platform.SDK-CPP.Debug v22.1.0 package when I build I get the errors below, same with MilestoneSystems.VideoOS.Platform.SDK-CPP 22.1.0, I can only build it with MilestoneSystems.VideoOS.Platform.SDK-CPP 21.2.0 package.
What could be the problem?
Severity Code Description Project File Line Suppression State
Error (active) E1696 cannot open source file "Toolkits/ToolkitInterface.h" MediaLiveServiceJPEG C:\Program Files\Milestone\MIPSDK\ComponentSamples\0test\MediaLiveServiceJPEG.cpp 9
Error (active) E1696 cannot open source file "Toolkits/ToolkitFactoryProvider.h" MediaLiveServiceJPEG C:\Program Files\Milestone\MIPSDK\ComponentSamples\0test\MediaLiveServiceJPEG.cpp 10
Error (active) E1696 cannot open source file "Tools/ServerCommandServiceClient.h" MediaLiveServiceJPEG C:\Program Files\Milestone\MIPSDK\ComponentSamples\0test\MediaLiveServiceJPEG.cpp 12
Error (active) E0725 name must be a namespace name MediaLiveServiceJPEG C:\Program Files\Milestone\MIPSDK\ComponentSamples\0test\MediaLiveServiceJPEG.cpp 17
Error (active) E0725 name must be a namespace name MediaLiveServiceJPEG C:\Program Files\Milestone\MIPSDK\ComponentSamples\0test\MediaLiveServiceJPEG.cpp 19
Error (active) E0020 identifier "ImServerCommandServiceClient" is undefined MediaLiveServiceJPEG C:\Program Files\Milestone\MIPSDK\ComponentSamples\0test\MediaLiveServiceJPEG.cpp 21
Error (active) E0020 identifier "utf8_char_t" is undefined MediaLiveServiceJPEG C:\Program Files\Milestone\MIPSDK\ComponentSamples\0test\MediaLiveServiceJPEG.cpp 21
Error (active) E0254 type name is not allowed MediaLiveServiceJPEG C:\Program Files\Milestone\MIPSDK\ComponentSamples\0test\MediaLiveServiceJPEG.cpp 21
Error (active) E0276 name followed by '::' must be a class or namespace name MediaLiveServiceJPEG C:\Program Files\Milestone\MIPSDK\ComponentSamples\0test\MediaLiveServiceJPEG.cpp 21
...