Items with no label
3335 Discussions

librealsense-master 2.16 >> Build on visual studio 2015 fails

EMuel
Novice
4,004 Views

Hello,

maybe someone has a solution.

 

I've cmake the realsense package and wanted to build the solution on visual studio 2015.

 

In version 2.13 it was fine...somehow.

But now on 2.16 I get these errors.

Thanks for any help on this.

Severity Code Description Project File Line Suppression State

Error MSB3073 The command "setlocal

"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

if %errorlevel% neq 0 goto :cmEnd

:cmEnd

endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

:cmErrorLevel

exit /b %1

:cmDone

if %errorlevel% neq 0 goto :VCEnd

:VCEnd" exited with code 1. INSTALL C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133

Error C2064 term does not evaluate to a function taking 1 arguments rs-imshow C:\local\librealsense-master\wrappers\opencv\imshow\rs-imshow.cpp 24

Error C2064 term does not evaluate to a function taking 1 arguments rs-grabcuts C:\local\librealsense-master\wrappers\opencv\grabcuts\rs-grabcuts.cpp 60

Error MSB3073 The command "setlocal

"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

if %errorlevel% neq 0 goto :cmEnd

:cmEnd

endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

:cmErrorLevel

exit /b %1

:cmDone

if %errorlevel% neq 0 goto :VCEnd

:VCEnd" exited with code 1. INSTALL C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133

Error MSB3073 The command "setlocal

"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

if %errorlevel% neq 0 goto :cmEnd

:cmEnd

endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

:cmErrorLevel

exit /b %1

:cmDone

if %errorlevel% neq 0 goto :VCEnd

:VCEnd" exited with code 1. INSTALL C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133

Error MSB3073 The command "setlocal

"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

if %errorlevel% neq 0 goto :cmEnd

:cmEnd

endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

:cmErrorLevel

exit /b %1

:cmDone

if %errorlevel% neq 0 goto :VCEnd

:VCEnd" exited with code 1. INSTALL C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133

Error MSB3073 The command "setlocal

"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

if %errorlevel% neq 0 goto :cmEnd

:cmEnd

endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

:cmErrorLevel

exit /b %1

:cmDone

if %errorlevel% neq 0 goto :VCEnd

:VCEnd" exited with code 1. INSTALL C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133

Error MSB3073 The command "setlocal

"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

if %errorlevel% neq 0 goto :cmEnd

:cmEnd

endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

:cmErrorLevel

exit /b %1

:cmDone

if %errorlevel% neq 0 goto :VCEnd

:VCEnd" exited with code 1. INSTALL C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133

Error MSB3073 The command "setlocal

"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

if %errorlevel% neq 0 goto :cmEnd

:cmEnd

endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

:cmErrorLevel

exit /b %1

:cmDone

if %errorlevel% neq 0 goto :VCEnd

:VCEnd" exited with code 1. INSTALL C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133

Error MSB3073 The command "setlocal

"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

if %errorlevel% neq 0 goto :cmEnd

:cmEnd

endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

:cmErrorLevel

exit /b %1

:cmDone

if %errorlevel% neq 0 goto :VCEnd

:VCEnd" exited with code 1. INSTALL C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133

Error MSB3073 The command "setlocal

"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

if %errorlevel% neq 0 goto :cmEnd

:cmEnd

endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

:cmErrorLevel

exit /b %1

:cmDone

if %errorlevel% neq 0 goto :VCEnd

:VCEnd" exited with code 1. INSTALL C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133

Error MSB3073 The command "setlocal

"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

if %errorlevel% neq 0 goto :cmEnd

:cmEnd

endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

:cmErrorLevel

exit /b %1

:cmDone

if %errorlevel% neq 0 goto :VCEnd

:VCEnd" exited with code 1. INSTALL C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133

0 Kudos
1 Solution
idata
Employee
1,182 Views

Hello metanamo,

We were able to reproduce your error. Librealsense-master 2.16 is a pre-release version which is still being validated.

Could you downgrade to the last stable version (2.15) and let us know if you have the same issue?

https://github.com/IntelRealSense/librealsense/releases https://github.com/IntelRealSense/librealsense/releases

 

Regards,

 

Alexandra

View solution in original post

0 Kudos
15 Replies
idata
Employee
1,183 Views

Hello metanamo,

We were able to reproduce your error. Librealsense-master 2.16 is a pre-release version which is still being validated.

Could you downgrade to the last stable version (2.15) and let us know if you have the same issue?

https://github.com/IntelRealSense/librealsense/releases https://github.com/IntelRealSense/librealsense/releases

 

Regards,

 

Alexandra
0 Kudos
EMuel
Novice
1,182 Views

Hello Alexandra,

thank you for the information. I allready have installed 2.15 meanwhile.

Installation was easy now.

 

However I'm facing a different issue. Running two devices in RealsenseViewer causes one stream to run out of frames.

 

But three devices (D415) works like a charm.

Cheers

0 Kudos
idata
Employee
1,182 Views

Hello metanamo,

 

 

In order to understand better what the issue is, could you give me more details?

 

Do you mean that two D415 cameras run out of frames but three D415 cameras are running fine?

 

How are you connecting them? Directly to your PC or you are using an USB hub?

 

Are they all connected to USB3 ports?

 

Does every camera work individually with no issues?

 

Could you send us screenshots?

 

 

Thank you,

 

Alexandra
0 Kudos
EMuel
Novice
1,182 Views

Hello Alexandra,

sorry for the quite long delay.

I was fine with the bug since I want to use three devices all the time.

Now I need two devices streaming. In both lates versions of librealsense 2.15 2.16 the problem still exists.

quote*

Do you mean that two D415 cameras run out of frames but three D415 cameras are running fine?

Yes

How are you connecting them? Directly to your PC or you are using an USB hub?  

Are they all connected to USB3 ports?

Each one is connected to it's own 3.2 port directly. 

Does every camera work individually with no issues?

Perfectly, no issues.

My Setup:

windows10 64bit

 

Visual Studio 2015 c++

 

three D415 connected to 3.2 individual ports

librealsense 2.1.5 or 2.1.6 compiled with pcl and opencv (latest versions)

Best, Edgar

0 Kudos
idata
Employee
1,182 Views

Hello metanamo,

 

 

Thank you for your interest in the Intel RealSense Technology.

 

I would like to first clarify the actual problem. For that can you answer some questions and test a few options:

 

Can you tell me in the two camera setup, which stream is running out of frames? You can try running the color stream or any stream of your choice.

 

Could you send some screenshots of RealSense Viewer with the "i - Info" icon expanded, with 2 cameras and also 3 cameras?

 

To help us get to the bottom of this, please try connecting two different cameras in several ways, in different combinations of cameras connected to different ports.

 

Try to isolate a specific port, camera, or stream that might be causing the problem.

 

 

Looking forward to your response.

 

 

Best regards,

 

Casandra
0 Kudos
idata
Employee
1,182 Views

Hello metanamo,

 

 

Following up on my previous post.

 

Did you get the opportunity to test the options mentioned?

 

 

Looking forward to your response.

 

 

Best regards,

 

Casandra
0 Kudos
EMuel
Novice
1,182 Views

Hi Casandra,

please find this video showing the 2/3 devices connected.

 

That shows exactly what's going on.

 

0 Kudos
EMuel
Novice
1,182 Views

Hello Casandra,

now I have tested the setup of three D415 again. I've installed the latest Driver and SDK.

 

RealsenseViewer works fine with all three connected. Just two connected, one is running out of frame.

 

The devices are altering as if they share the same pipeline fighting for the streams to load. A few seconds one is working and stops streaming while the other is streaming again.

 

I hope I could explain. My english is not the best.

 

It doesn't matter which port the cameras are connected to nor which camera pair I choose. I clouldn't detect one camera as source for the failure.

Here is a screenshot with all connected and info expanded.

Thanks for any help

0 Kudos
idata
Employee
1,182 Views

Hello metanamo,

 

 

Thank you very much for the details and print screen.

 

The screenshot you have provided shows the working configuration with three cameras connected. Can You sent us a screenshot of what happens when two cameras are connected? Better yet, a short video showing the failure?

 

We need to know which stream is failing, RGB, IR, or Depth.

 

 

Would it be possible for you to send me this information?

 

 

Thank you very much in advance,

 

Casandra
0 Kudos
EMuel
Novice
1,182 Views

I've uploaded a video already. Please find the video I've posted above. This shows what happens with three or two cameras connected.

 

It doesn't matter if depth/ir or color stream. By just activating ANY stream on a third device the failed second stream gets a wake up call.

Thank you

0 Kudos
idata
Employee
1,182 Views

Hello metanamo,

 

 

Thank you for all the provided details.

 

We have investigated and this is a very strange behavior and we were not able to reproduce it.

 

Do you have the possibility to try on a different computer to see what happens?

 

It seems like this might be a USB signaling issue.

 

 

Looking forward to your response.

 

 

Best regards,

 

Casandra
0 Kudos
EMuel
Novice
1,182 Views

Hi Casandra,

using SDK installer 2.16.3 it works fine now. Thank you.

I did not change any hardware settings.

Best

0 Kudos
idata
Employee
1,182 Views

Hello metanamo,

 

 

I am very happy to hear that.

 

Does this mean that you configuration is working now?

 

Is there anything else I can assist you with?

 

 

Best regards,

 

Casandra
0 Kudos
EMuel
Novice
1,182 Views

Yes! Crossing fingers here that it stays like that. I won't touch anything.

Maybe you can help me on this? It is my first try with Matlab so I have no clue how to integrate realsense wrapper package into Matlab.

0 Kudos
idata
Employee
1,182 Views

Hello metanamo,

 

 

It is perfect that you have opened a new thread for the MatLab topic, this way we can treat each topic one at a time.

 

We will reply on that thread moving forward.

 

 

Thank you very much in advance.

 

 

Best regards,

 

Casandra
0 Kudos
Reply