kgreenek / rules_pcl

Bazel rules for building PCL libraries (PointCloudLibrary)
Apache License 2.0
15 stars 15 forks source link

crosstool_wrapper_driver_is_not_gcc #6

Closed TrevorDecker closed 2 years ago

TrevorDecker commented 2 years ago

When I attempt to build with the following rule:

twa_cc_binary(
    name = "calibration_icp",
    srcs = [
        "calibration_icp.cpp",
    ],
    deps = [
        "@pcl//:common"
    ],
)

I get the following error:



Use --sandbox_debug to see verbose messages from the sandbox 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-opt/bin/twa/slam/_objs/calibration_icp/calibration_icp.d ... (remaining 374 argument(s) skipped)```
kgreenek commented 2 years ago

Sorry for the delay in responding to this. Thank you for filing this issue.

I will need a bit more information to help, I'm afraid. If you are still seeing this bug, it would be helpful to create a minimal example to reproduce that I would be able to run. It looks like you have a toolchain with cuda / cross-compiling. That's about all I can tell from the error message. The actual error appears to be omitted.

kgreenek commented 2 years ago

I'm going to close this for now since I don't have any way to reproduce and it is getting stale. But please re-open if it is still an issue for you and can help me with some more details.