Items with no label
3338 토론

Identifier Undefined on rs-align example!

EFoo
초보자
4,590 조회수

Hello,

I have built the Realsense Library SDK using CMake, without changing anything. However, there are a couple of errors saying these variables are undefined. Still, I managed to compile the program somehow. Do I just ignore these errors? Thank you!!

1 솔루션
idata
직원
3,389 조회수

Hello HippoEug,

Thank you for your interest in the Intel RealSense Technology.

 

Could you please confirm if you have downloaded the source code for the SDK or if you have installed the binaries?

Just as a short definition, binary releases contain computer readable version of the application, meaning it is compiled. Source releases contain human readable version of the application, meaning it has to be compiled before it can be used. The source release is the raw, un-compiled code.

You can follow the below instructions in order to build from source RealSense SDK 2.0 (Librealsense ) on a Windows 10 machine and run the given examples on Visual Studio 2017.

  • Download and install http://cmake.org/download CMAKE
  • Clone or download http://github.com/IntelRealSense/librealsense RealSense SDK 2.0 sources into a local directory (C:/git/librealsense)
  • Run cmake-gui and fill source code and binaries locations and press Configure
    • Where is the source code: C:/git/librealsense
    • Where to build the binaries: C:/git/librealsense/build
  • Click Generate and Open Project
  • Locate the examples required under Example solution folder
  • Right-click on one of the examples to Set as StartUp Project
  • Press F5 to compile and run the example
After you have download the source code for the SDK you can run the CMake GUI as shown in the OpenCV wrapper readme.md. here: https://github.com/IntelRealSense/librealsense/tree/master/wrappers/opencv

This could be a solution to the "Identifier Undefined" you are receiving.

Let me know if this works.

Best regards,

 

Casandra

원본 게시물의 솔루션 보기

0 포인트
5 응답
idata
직원
3,390 조회수

Hello HippoEug,

Thank you for your interest in the Intel RealSense Technology.

 

Could you please confirm if you have downloaded the source code for the SDK or if you have installed the binaries?

Just as a short definition, binary releases contain computer readable version of the application, meaning it is compiled. Source releases contain human readable version of the application, meaning it has to be compiled before it can be used. The source release is the raw, un-compiled code.

You can follow the below instructions in order to build from source RealSense SDK 2.0 (Librealsense ) on a Windows 10 machine and run the given examples on Visual Studio 2017.

  • Download and install http://cmake.org/download CMAKE
  • Clone or download http://github.com/IntelRealSense/librealsense RealSense SDK 2.0 sources into a local directory (C:/git/librealsense)
  • Run cmake-gui and fill source code and binaries locations and press Configure
    • Where is the source code: C:/git/librealsense
    • Where to build the binaries: C:/git/librealsense/build
  • Click Generate and Open Project
  • Locate the examples required under Example solution folder
  • Right-click on one of the examples to Set as StartUp Project
  • Press F5 to compile and run the example
After you have download the source code for the SDK you can run the CMake GUI as shown in the OpenCV wrapper readme.md. here: https://github.com/IntelRealSense/librealsense/tree/master/wrappers/opencv

This could be a solution to the "Identifier Undefined" you are receiving.

Let me know if this works.

Best regards,

 

Casandra
0 포인트
EFoo
초보자
3,389 조회수

Hi there,

I am pretty sure I did exactly as you wrote.

Here are the steps I took: https://github.com/HippoEug/Intel-Realsense-D435-CMake GitHub - HippoEug/Intel-Realsense-D435-CMake with still those errors. Even though there are errors, it still managed to compile fine..

0 포인트
idata
직원
3,389 조회수

Hello HippoEug,

 

 

If the code compiles and runs fine and you are comfortable with the results this should be OK.

 

 

Let me know if you require any further assistance.

 

 

Regards,

 

Casandra
0 포인트
idata
직원
3,389 조회수

Hello HippoEug,

 

 

Do you require any further assistance with this query?

 

 

Regards,

 

Casandra
0 포인트
EFoo
초보자
3,389 조회수

Hello Casandra,

I have no more issues. If I do I will post onto this forum again, thank you very much. You can close this issue now

0 포인트
응답