Skip to content

Can't compile on Windows #3

@swc-jesse

Description

@swc-jesse

Following the directions but getting this result. CUDA samples compile and run fine:

[ 82%] Building NVCC (Device) object src/CMakeFiles/skinning.dir/skinning_generated_PD_solver_cuda.cu.obj
PD_solver_cuda.cu
cl : Command line warning D9025 : overriding '/W3' with '/w'
cl : Command line warning D9002 : ignoring unknown option '-fopenmp'
PD_solver_cuda.cu
cl : Command line warning D9025 : overriding '/W3' with '/w'
cl : Command line warning D9002 : ignoring unknown option '-fopenmp'
PD_solver_cuda.cu
cl : Command line warning D9025 : overriding '/W3' with '/w'
cl : Command line warning D9002 : ignoring unknown option '-fopenmp'
PD_solver_cuda.cu
host_defines.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead.
C:\source\repos\FastProjectiveSkinning\external\pmp-library\external\eigen\Eigen\src/Core/arch/CUDA/Half.h(213): error: more than one instance of overloaded function "__hadd" matches the argument list:
            function "__hadd(int, int)"
            function "__hadd(__half, __half)"
            argument types are: (const Eigen::half, const Eigen::half)

1 error detected in the compilation of "C:/source/repos/FastProjectiveSkinning/src/PD_solver_cuda.cu".
PD_solver_cuda.cu
CMake Error at skinning_generated_PD_solver_cuda.cu.obj.RELEASE.cmake:282 (message):
  Error generating file
  C:/source/repos/FastProjectiveSkinning/build/src/CMakeFiles/skinning.dir//./skinning_generated_PD_solver_cuda.cu.obj


NMAKE : fatal error U1077: 'echo' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29910\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29910\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions