fabio86d / cuda_digitallyreconstructedradiographs Goto Github PK
View Code? Open in Web Editor NEWGPU accelerated python library for generation of Digitally Reconstructed Radiographs (March 2018)
GPU accelerated python library for generation of Digitally Reconstructed Radiographs (March 2018)
when I rebuild the SiddonGpuPy.cp36-win_amd64.pyd, error occurred as follow:
SiddonGpu.lib(SiddonGpu_generated_siddon_class.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MT_StaticRelease”(SiddonGpuPy.obj 中)
正在创建库 build\temp.win-amd64-3.6\Release\SiddonGpuPy.cp36-win_amd64.lib 和对象 build\temp.win-amd64-3.6\Release\SiddonGpuPy.cp36-win_amd64.exp
LINK : warning LNK4098: 默认库“MSVCRT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
G:\17 Files\CUDA_DigitallyReconstructedRadiographs-master\SiddonPythonModule\SiddonGpuPy.cp36-win_amd64.pyd : fatal error LNK1319: 检测到 1 个不匹配项
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\link.exe' failed with exit status 1319
Hi,
I got an issue when I try to rebuild the python package with this command :
python setup.py build_ext --inplace
Here is the logs I got
running build_ext
skipping 'SiddonGpuPy.cpp' Cython extension (up-to-date)
building 'SiddonGpuPy' extension
D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -IC:\RoboDK\Python37\lib\site-packages\numpy\core\include -IC:\Users\Thomas\Documents\CUDA_DigitallyReconstructedRadiographs\SiddonPythonModule\includeD:\CUDA\include -IC:\RoboDK\Python37\include -IC:\RoboDK\Python37\include "-ID:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\ATLMFC\include" "-ID:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" /EHsc /TpSiddonGpuPy.cpp /Fobuild\temp.win-amd64-3.7\Release\SiddonGpuPy.obj
SiddonGpuPy.cpp
C:\RoboDK\Python37\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /nodefaultlib:libucrt.lib ucrt.lib /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\Thomas\Documents\CUDA_DigitallyReconstructedRadiographs\SiddonClassLib\build\Release /LIBPATH:D:\CUDA\lib\x64 /LIBPATH:C:\RoboDK\Python37\libs /LIBPATH:C:\RoboDK\Python37\PCbuild\amd64 "/LIBPATH:D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\ATLMFC\lib\x64" "/LIBPATH:D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\\lib\10.0.19041.0\\um\x64" SiddonGpu.lib cudart_static.lib /EXPORT:PyInit_SiddonGpuPy build\temp.win-amd64-3.7\Release\SiddonGpuPy.obj /OUT:C:\Users\Thomas\Documents\CUDA_DigitallyReconstructedRadiographs\SiddonPythonModule\SiddonGpuPy.cp37-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.7\Release\SiddonGpuPy.cp37-win_amd64.lib
SiddonGpu.lib(SiddonGpu_generated_siddon_class.cu.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in SiddonGpuPy.obj
Creating library build\temp.win-amd64-3.7\Release\SiddonGpuPy.cp37-win_amd64.lib and object build\temp.win-amd64-3.7\Release\SiddonGpuPy.cp37-win_amd64.exp
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
C:\Users\Thomas\Documents\CUDA_DigitallyReconstructedRadiographs\SiddonPythonModule\SiddonGpuPy.cp37-win_amd64.pyd : fatal error LNK1319: 1 mismatches detected
error: command 'D:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\bin\\HostX86\\x64\\link.exe' failed with exit status 1319
Do I need to change the compilation options of the VS project ? Is it really a LIB required for the python package ?
Sorry I'm kind of beginner in Cython.
Regards,
Thomas.
Cuda Async error: an illegal memory access was encountered
Hi... I am a beginner. I gave the inputs as specified. But I am getting the DRR output as zero. Can you please tell me about the various arguments in class object and generatedRR function and how the input looks like?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.