-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No "common/fw/target.h" file? #6377
Comments
Could you try building librealsense in Release mode by including the flag -DCMAKE_BUILD_TYPE=Release in your CMake build statement, please? |
Hi The problem is that even if I add -DWith_build_TM2=fale to the cmake command, it will still include this file. |
May I confirm please that you expressed the BUILD_WITH_TM2 instruction like this: -DBUILD_WITH_TM2=false Edit: I was reminded of another case from a week ago where the same error with "common/fw/target.h" was occurring. The solution in that particular case was also to use -DBUILD_WITH_TM2=false |
Case closed due to no further comments received. |
@dongxuanlb Hi, how do you solve this problem? |
Env:
Mac,10.15.4
Version:
HEAD detached at v2.34.1
Build command:
dongxuan@dongxuan-2 build % cmake .. -DBUILD_EXAMPLES=true -DBUILD_WITH_OPENMP=false -DHWM_OVER_XU=false
Output:
-- Internet connection identified
-- Info: REALSENSE_VERSION_STRING=2.34.1
-- Setting Unix configurations
-- using RS2_USE_LIBUVC_BACKEND
-- GLFW 3.3 not found; using internal version
-- Using Cocoa for window creation
-- Could NOT find apriltag (missing: APRILTAG_INC APRILTAG_LIB)
-- Unable to find apriltag library, skipping pose-apriltag example
-- Building with TM2
-- Configuring done
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
realsense2-gl
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /Users/dongxuan/workspace/librealsense/build
Problem:
/Users/dongxuan/workspace/librealsense/src/tm2/tm-info.cpp:13:10: fatal error: 'common/fw/target.h' file not found
#include "common/fw/target.h"
The text was updated successfully, but these errors were encountered: