-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
build error in apollo/modules/drivers/camera (master) #13422
Comments
Try the following commands
and then rebuild the drivers module by running |
the problem persists after the comands you adivsed. I got the same errors again. |
Sorry that I made a typo error in the commands above.
Please paste the output of
|
No worries. the output of ./apollo.sh config -n:+ [ OK ] Successfully configured .apollo.bazelrc in non-interactive mode. The Output of Apollo.bazelrc: build --action_env PYTHON_BIN_PATH="/usr/bin/python3" build --action_env CUDA_TOOLKIT_PATH="/usr/local/cuda-11.1" This config refers to building with CUDA available.build:using_cuda --define=using_cuda=true This config refers to building CUDA with nvcc.build:cuda --config=using_cuda build:tensorrt --action_env TF_NEED_TENSORRT=1 processor : 1 processor : 2 processor : 3 processor : 4 processor : 5 processor : 6 processor : 7 processor : 8 processor : 9 processor : 10 processor : 11 processor : 12 processor : 13 processor : 14 processor : 15 |
I didn't see any thing abnormal from the information you provided. Have you tried removing the whole |
Yes I tried this but the build failed again with the same error. |
Hi @storypku ,i found a problem that the camera device can not open in apollo master,but there was no error in logs.In the meantime,i debug the process stopped at "start_capturing".I guess the problem may be related to the version update, please help me confirm this problem. ---------------------------------------------------------------------------------------------------------main board------------------------------------ |
I met the same issue when using the master branch. After I change to r6.0.0 branch, I built the project successfully. |
Thatnks for your help! The issue can be closed from my side i changed my Hardware to a newer PC. With the new PC I don't have this issue. |
Hello @BBlumi97 can you share what hardware was updated? You have it working on the current master branch too? |
I changed to a system with: I have to system working on the current master branch but it doesn't work reliable. I have one ongoing issue reported in a different topic |
I met the exactly same error output. Any idea what should I do to resolve this? Hardware:
Here's the terminal output.
|
We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.
System information
-Hardware:
CPU: Intel Xeon E5-2687W
GPU: Nvidida RTX 2080Ti
Ram: 16GB
apollo.sh config
if onmaster
branch:[INFO] Apollo Environment Settings:
[INFO] APOLLO_ROOT_DIR: /apollo
[INFO] APOLLO_CACHE_DIR: /apollo/.cache
[INFO] APOLLO_IN_DOCKER: true
[INFO] APOLLO_VERSION: master-2021-02-05-0e31c84a76
[INFO] DOCKER_IMG: dev-x86_64-18.04-20210204_2153
[INFO] APOLLO_ENV: STAGE=dev USE_ESD_CAN=false
[INFO] USE_GPU: USE_GPU_HOST=1 USE_GPU_TARGET=1
[INFO] Usage: /apollo/scripts/apollo_config.sh [Options]
[INFO] Options:
[INFO] -i|--interactive Run in interactive mode
[INFO] -n|--noninteractive Run in non-interactive mode
[INFO] -h|--help Show this message and exit
Steps to reproduce the issue:
Supporting materials (screenshots, command lines, code/script snippets):
(21:51:55) ERROR: /apollo/modules/drivers/camera/BUILD:80:11: C++ compilation of rule '//modules/drivers/camera:camera' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF bazel-out/k8-fastbuild/bin/modules/drivers/camera/_objs/camera/util.pic.d ... (remaining 97 argument(s) skipped) In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:43:0, from ./modules/drivers/camera/util.h:34, from modules/drivers/camera/util.cc:17: /usr/lib/gcc/x86_64-linux-gnu/7/include/avx2intrin.h: In function '__m256i apollo::drivers::camera::SaturateI16ToU8(__m256i)': /usr/lib/gcc/x86_64-linux-gnu/7/include/avx2intrin.h:398:1: error: inlining failed in call to always_inline '__m256i _mm256_min_epi16(__m256i, __m256i)': target specific option mismatch _mm256_min_epi16 (__m256i __A, __m256i __B) ^~~~~~~~~~~~~~~~ In file included from modules/drivers/camera/util.cc:17:0: ./modules/drivers/camera/util.h:362:68: note: called from here return _mm256_min_epi16(K16_00FF, _mm256_max_epi16(value, K_ZERO)); ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:43:0, from ./modules/drivers/camera/util.h:34, from modules/drivers/camera/util.cc:17: /usr/lib/gcc/x86_64-linux-gnu/7/include/avx2intrin.h:356:1: error: inlining failed in call to always_inline '__m256i _mm256_max_epi16(__m256i, __m256i)': target specific option mismatch _mm256_max_epi16 (__m256i __A, __m256i __B) ^~~~~~~~~~~~~~~~ In file included from modules/drivers/camera/util.cc:17:0: ./modules/drivers/camera/util.h:362:26: note: called from here return _mm256_min_epi16(K16_00FF, _mm256_max_epi16(value, K_ZERO)); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (21:51:56) INFO: Elapsed time: 451.586s, Critical Path: 112.13s (21:51:56) INFO: 6317 processes: 3246 internal, 3071 local. (21:51:56) FAILED: Build did NOT complete successfully
The text was updated successfully, but these errors were encountered: