smistad / FAST

A framework for high-performance medical image processing, neural network inference and visualization
https://fast.eriksmistad.no
BSD 2-Clause "Simplified" License
441 stars 102 forks source link

build error in window #123

Closed huangsusan closed 4 years ago

huangsusan commented 5 years ago

Hello: when I build in win,there is an error error C2664 “void std::_Ptr_base<_Ty>::_Reset0(_Ty (),std::_Ref_count_base )”: can not change “uchar ”to“unsigned char ()[]” error occured in FAST memory.cpp line 695

smistad commented 5 years ago

There is no memory.cpp in FAST. Can you give me the backtrace of the error, were it actually occurs in FAST?

huangsusan commented 5 years ago

it occoured in \Microsoft Visual Studio 14.0\VC\include\memory

smistad commented 4 years ago

I believe I found the cause of your error, I have pushed a fix for it to master: https://github.com/smistad/FAST/commit/5a8e8af622c805c70c56c7c11d7a248ba8496e13 You could checkout this commit and try it

huangsusan commented 4 years ago

Thank you,I will tyr it soon.