Skip to content
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

Error in cmake --build build --config RelWithDebInfo -j #1

Open
PannagaS opened this issue Jan 13, 2025 · 1 comment
Open

Error in cmake --build build --config RelWithDebInfo -j #1

PannagaS opened this issue Jan 13, 2025 · 1 comment

Comments

@PannagaS
Copy link

Can someone please please please help me resolve this issue ?

I am getting the following error when I try to execute -
cmake --build build --config RelWithDebInfo -j;

output:

[ 85%] Building CUDA object CMakeFiles/ngp.dir/src/triangle_bvh.cu.o
[ 87%] Building CUDA object CMakeFiles/ngp.dir/src/testbed_sdf.cu.o
[ 89%] Building CXX object CMakeFiles/ngp.dir/src/tinyobj_loader_wrapper.cpp.o
Warning #20014-D: calling a __host__ function from a __host__ __device__ function is not allowed
          detected during:
            instantiation of "void Eigen::internal::triangular_solver_selector<Lhs, Rhs, Side, Mode, 0, -1>::run(const Lhs &, Rhs &) [with Lhs=Eigen::Ref<Eigen::Matrix<float, -1, -1, 0, -1, -1>, 0, Eigen::OuterStride<-1>>, Rhs=Eigen::Ref<Eigen::Matrix<float, -1, -1, 0, -1, -1>, 0, Eigen::OuterStride<-1>>, Side=1, Mode=5]" at line 183 of /home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/eigen/Eigen/src/Core/SolveTriangular.h
            instantiation of "void Eigen::TriangularViewImpl<MatrixType_, Mode_, Eigen::Dense>::solveInPlace<Side,OtherDerived>(const Eigen::MatrixBase<OtherDerived> &) const [with MatrixType_=Eigen::Ref<Eigen::Matrix<float, -1, -1, 0, -1, -1>, 0, Eigen::OuterStride<-1>>, Mode_=5U, Side=1, OtherDerived=Eigen::Ref<Eigen::Matrix<float, -1, -1, 0, -1, -1>, 0, Eigen::OuterStride<-1>>]" at line 525 of /home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/eigen/Eigen/src/Core/TriangularMatrix.h
            instantiation of "void Eigen::TriangularViewImpl<MatrixType_, Mode_, Eigen::Dense>::solveInPlace(const Eigen::MatrixBase<OtherDerived> &) const [with MatrixType_=Eigen::Ref<Eigen::Matrix<float, -1, -1, 0, -1, -1>, 0, Eigen::OuterStride<-1>>, Mode_=5U, OtherDerived=Eigen::Ref<Eigen::Matrix<float, -1, -1, 0, -1, -1>, 0, Eigen::OuterStride<-1>>]" at line 492 of /home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/eigen/Eigen/src/LU/PartialPivLU.h
            instantiation of "Eigen::Index Eigen::internal::partial_lu_impl<Scalar, StorageOrder, PivIndex, SizeAtCompileTime>::blocked_lu(Eigen::Index, Eigen::Index, Scalar *, Eigen::Index, PivIndex *, PivIndex &, Eigen::Index) [with Scalar=float, StorageOrder=0, PivIndex=int, SizeAtCompileTime=4]" at line 514 of /home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/eigen/Eigen/src/LU/PartialPivLU.h
            instantiation of "void Eigen::internal::partial_lu_inplace(MatrixType &, TranspositionType &, TranspositionType::StorageIndex &) [with MatrixType=Eigen::Matrix<float, 4, 4, 0, 4, 4>, TranspositionType=Eigen::Transpositions<4, 4, int>]" at line 540 of /home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/eigen/Eigen/src/LU/PartialPivLU.h
            [ 22 instantiation contexts not shown ]
            instantiation of "void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType &, const SrcXprType &, const Functor &) [with DstXprType=Eigen::Matrix<float, 3, 4, 0, 3, 4>, SrcXprType=Eigen::Block<const Eigen::Product<Eigen::ReturnByValue<Eigen::MatrixExponentialReturnValue<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<float, float>, const Eigen::Matrix<float, 4, 4, 0, 4, 4>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<float>, const Eigen::Matrix<float, 4, 4, 0, 4, 4>>>>>, Eigen::Matrix<float, 4, 4, 0, 4, 4>, 0>, 3, 4, false>, Functor=Eigen::internal::assign_op<float, float>, Weak=void]" at line 891 of /home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/eigen/Eigen/src/Core/AssignEvaluator.h
            instantiation of "void Eigen::internal::call_assignment_no_alias(Dst &, const Src &, const Func &) [with Dst=Eigen::Matrix<float, 3, 4, 0, 3, 4>, Src=Eigen::Block<const Eigen::Product<Eigen::ReturnByValue<Eigen::MatrixExponentialReturnValue<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<float, float>, const Eigen::Matrix<float, 4, 4, 0, 4, 4>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<float>, const Eigen::Matrix<float, 4, 4, 0, 4, 4>>>>>, Eigen::Matrix<float, 4, 4, 0, 4, 4>, 0>, 3, 4, false>, Func=Eigen::internal::assign_op<float, float>]" at line 800 of /home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/eigen/Eigen/src/Core/PlainObjectBase.h
            instantiation of "Derived &Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived> &) [with Derived=Eigen::Matrix<float, 3, 4, 0, 3, 4>, OtherDerived=Eigen::Block<const Eigen::Product<Eigen::ReturnByValue<Eigen::MatrixExponentialReturnValue<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<float, float>, const Eigen::Matrix<float, 4, 4, 0, 4, 4>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<float>, const Eigen::Matrix<float, 4, 4, 0, 4, 4>>>>>, Eigen::Matrix<float, 4, 4, 0, 4, 4>, 0>, 3, 4, false>]" at line 599 of /home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/eigen/Eigen/src/Core/PlainObjectBase.h
            instantiation of "Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived> &) [with Derived=Eigen::Matrix<float, 3, 4, 0, 3, 4>, OtherDerived=Eigen::Block<const Eigen::Product<Eigen::ReturnByValue<Eigen::MatrixExponentialReturnValue<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<float, float>, const Eigen::Matrix<float, 4, 4, 0, 4, 4>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<float>, const Eigen::Matrix<float, 4, 4, 0, 4, 4>>>>>, Eigen::Matrix<float, 4, 4, 0, 4, 4>, 0>, 3, 4, false>]" at line 418 of /home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/eigen/Eigen/src/Core/Matrix.h
            instantiation of "Eigen::Matrix<Scalar_, Rows_, Cols_, Options_, MaxRows_, MaxCols_>::Matrix(const Eigen::EigenBase<OtherDerived> &) [with Scalar_=float, Rows_=3, Cols_=4, Options_=0, MaxRows_=3, MaxCols_=4, OtherDerived=Eigen::Block<const Eigen::Product<Eigen::ReturnByValue<Eigen::MatrixExponentialReturnValue<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<float, float>, const Eigen::Matrix<float, 4, 4, 0, 4, 4>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<float>, const Eigen::Matrix<float, 4, 4, 0, 4, 4>>>>>, Eigen::Matrix<float, 4, 4, 0, 4, 4>, 0>, 3, 4, false>]" at line 36 of /home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/src/common_device.cu

Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"

/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/src/marching_cubes.cu: In function ‘void ngp::draw_mesh_gl(const tcnn::GPUMemory<Eigen::Matrix<float, 3, 1> >&, const tcnn::GPUMemory<Eigen::Matrix<float, 3, 1> >&, const tcnn::GPUMemory<Eigen::Matrix<float, 3, 1> >&, const tcnn::GPUMemory<unsigned int>&, const Vector2i&, const Vector2f&, const Eigen::Matrix<float, 3, 4>&, const Vector2f&, int)’:
/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/src/marching_cubes.cu:142:29: warning: ‘cudaError_t cudaGLUnregisterBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
  142 |         cudaGLUnregisterBufferObject(VBO[i]);
      |         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/usr/local/cuda-12.6/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:410:46: note: declared here
  410 | extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaGLUnregisterBufferObject(GLuint bufObj);
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/src/marching_cubes.cu:150:27: warning: ‘cudaError_t cudaGLRegisterBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
  150 |       cudaGLRegisterBufferObject(VBO[i]);
      |       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/usr/local/cuda-12.6/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:333:46: note: declared here
  333 | extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaGLRegisterBufferObject(GLuint bufObj);
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/src/marching_cubes.cu:155:29: warning: ‘cudaError_t cudaGLUnregisterBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
  155 |       cudaGLUnregisterBufferObject(els);
      |       ~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/local/cuda-12.6/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:410:46: note: declared here
  410 | extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaGLUnregisterBufferObject(GLuint bufObj);
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/src/marching_cubes.cu:163:27: warning: ‘cudaError_t cudaGLRegisterBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
  163 |     cudaGLRegisterBufferObject(els);
      |     ~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/local/cuda-12.6/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:333:46: note: declared here
  333 | extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaGLRegisterBufferObject(GLuint bufObj);
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/src/marching_cubes.cu:166:22: warning: ‘cudaError_t cudaGLMapBufferObject(void**, GLuint)’ is deprecated [-Wdeprecated-declarations]
  166 |   cudaGLMapBufferObject(&ptr, VBO[0]);
      |   ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/cuda-12.6/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:362:46: note: declared here
  362 | extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaGLMapBufferObject(void **devPtr, GLuint bufObj);
      |                                              ^~~~~~~~~~~~~~~~~~~~~
/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/src/marching_cubes.cu:170:22: warning: ‘cudaError_t cudaGLMapBufferObject(void**, GLuint)’ is deprecated [-Wdeprecated-declarations]
  170 |   cudaGLMapBufferObject(&ptr, VBO[1]);
      |   ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/cuda-12.6/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:362:46: note: declared here
  362 | extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaGLMapBufferObject(void **devPtr, GLuint bufObj);
      |                                              ^~~~~~~~~~~~~~~~~~~~~
/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/src/marching_cubes.cu:174:22: warning: ‘cudaError_t cudaGLMapBufferObject(void**, GLuint)’ is deprecated [-Wdeprecated-declarations]
  174 |   cudaGLMapBufferObject(&ptr, VBO[2]);
      |   ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/cuda-12.6/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:362:46: note: declared here
  362 | extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaGLMapBufferObject(void **devPtr, GLuint bufObj);
      |                                              ^~~~~~~~~~~~~~~~~~~~~
/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/src/marching_cubes.cu:182:24: warning: ‘cudaError_t cudaGLUnmapBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
  182 |   cudaGLUnmapBufferObject(VBO[2]);
      |   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/usr/local/cuda-12.6/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:388:46: note: declared here
  388 | extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaGLUnmapBufferObject(GLuint bufObj);
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~
/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/src/marching_cubes.cu:183:24: warning: ‘cudaError_t cudaGLUnmapBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
  183 |   cudaGLUnmapBufferObject(VBO[1]);
      |   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/usr/local/cuda-12.6/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:388:46: note: declared here
  388 | extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaGLUnmapBufferObject(GLuint bufObj);
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~
/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/src/marching_cubes.cu:184:24: warning: ‘cudaError_t cudaGLUnmapBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
  184 |   cudaGLUnmapBufferObject(VBO[0]);
      |   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/usr/local/cuda-12.6/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:388:46: note: declared here
  388 | extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaGLUnmapBufferObject(GLuint bufObj);
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~
/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/src/marching_cubes.cu:185:22: warning: ‘cudaError_t cudaGLMapBufferObject(void**, GLuint)’ is deprecated [-Wdeprecated-declarations]
  185 |   cudaGLMapBufferObject(&ptr, els);
      |   ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/local/cuda-12.6/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:362:46: note: declared here
  362 | extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaGLMapBufferObject(void **devPtr, GLuint bufObj);
      |                                              ^~~~~~~~~~~~~~~~~~~~~
/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/src/marching_cubes.cu:189:24: warning: ‘cudaError_t cudaGLUnmapBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
  189 |   cudaGLUnmapBufferObject(els);
      |   ~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/local/cuda-12.6/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:388:46: note: declared here
  388 | extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaGLUnmapBufferObject(GLuint bufObj);
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~
/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/src/testbed_nerf.cu(2096): warning #177-D: variable "depth_supervision" was declared but never referenced
      const float depth_supervision =
                  ^

Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"

[ 91%] Linking CUDA device code CMakeFiles/ngp.dir/cmake_device_link.o
[ 92%] Linking CXX static library libngp.a
[ 92%] Built target ngp
[ 94%] Building CUDA object CMakeFiles/pyngp.dir/src/python_api.cu.o
[ 96%] Building CUDA object CMakeFiles/testbed.dir/src/main.cu.o
/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/pybind11/include/pybind11/detail/type_caster_base.h(448): error: pointer or reference to incomplete type "_frame" is not allowed
                  "  " + handle(frame->f_code->co_filename).cast<std::string>() +
                                ^

/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/pybind11/include/pybind11/detail/type_caster_base.h(448): error: type name is not allowed
                  "  " + handle(frame->f_code->co_filename).cast<std::string>() +
                                                                 ^

/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/pybind11/include/pybind11/detail/type_caster_base.h(448): error: expected an expression
                  "  " + handle(frame->f_code->co_filename).cast<std::string>() +
                                                                              ^

/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/pybind11/include/pybind11/detail/type_caster_base.h(450): error: pointer or reference to incomplete type "_frame" is not allowed
                  handle(frame->f_code->co_name).cast<std::string>() + "\n";
                         ^

/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/pybind11/include/pybind11/detail/type_caster_base.h(450): error: type name is not allowed
                  handle(frame->f_code->co_name).cast<std::string>() + "\n";
                                                      ^

/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/pybind11/include/pybind11/detail/type_caster_base.h(450): error: expected an expression
                  handle(frame->f_code->co_name).cast<std::string>() + "\n";
                                                                   ^

/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/pybind11/include/pybind11/detail/type_caster_base.h(451): error: pointer or reference to incomplete type "_frame" is not allowed
              frame = frame->f_back;
                      ^

/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/pybind11/include/pybind11/pybind11.h(2163): error: class "_ts" has no member "frame"
      PyFrameObject *frame = PyThreadState_Get()->frame;
                                                  ^

/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/pybind11/include/pybind11/pybind11.h(2164): error: pointer or reference to incomplete type "_frame" is not allowed
      if (frame != nullptr && (std::string) str(frame->f_code->co_name) == name
                                                ^

/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/pybind11/include/pybind11/pybind11.h(2165): error: pointer or reference to incomplete type "_frame" is not allowed
          && frame->f_code->co_argcount > 0) {
             ^

/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/pybind11/include/pybind11/pybind11.h(2168): error: pointer or reference to incomplete type "_frame" is not allowed
              frame->f_locals, (((static_cast<void> (0)), ((PyTupleObject*)((frame->f_code->co_varnames))))->ob_item[(0)]));
              ^

/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/dependencies/pybind11/include/pybind11/pybind11.h(2168): error: pointer or reference to incomplete type "_frame" is not allowed
              frame->f_locals, (((static_cast<void> (0)), ((PyTupleObject*)((frame->f_code->co_varnames))))->ob_item[(0)]));
                                                                             ^

12 errors detected in the compilation of "/home/pannaga/Documents/ROAHM_lab/neusurfemb/third_party/NeuS2/src/python_api.cu".
gmake[2]: *** [CMakeFiles/pyngp.dir/build.make:76: CMakeFiles/pyngp.dir/src/python_api.cu.o] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:228: CMakeFiles/pyngp.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 98%] Linking CXX executable testbed
/usr/bin/ld: libngp.a(dlss.cu.o): in function `ngp::vulkan_and_ngx_init()':
tmpxft_0004c26e_00000000-6_dlss.cudafe1.cpp:(.text+0x1b86): undefined reference to `cudaGetDeviceProperties_v2'
/usr/bin/ld: dependencies/neus2_tcnn/src/libtiny-cuda-nn.a(common.cu.o): in function `tcnn::cuda_compute_capability(int)':
tmpxft_0004be7f_00000000-6_common.cudafe1.cpp:(.text+0x3ef): undefined reference to `cudaGetDeviceProperties_v2'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/testbed.dir/build.make:117: testbed] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:200: CMakeFiles/testbed.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
@francescomilano172
Copy link
Collaborator

francescomilano172 commented Jan 29, 2025

Hi @PannagaS, it seems that the issue is related to mismatching CUDA versions. For reference, this code was tested with CUDA Toolkit 11.8. Do you have multiple versions installed on the same system? If so, please make sure you only have a single version installed or visible to CMake.
You might also check out these posts to see if the solutions work for you: #1, #2, #3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants