tunabrain / tungsten

High performance physically based renderer in C++11

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build error core.lib

877623423 opened this issue · comments

MSVC 18.0.40629.0

error 184 error C2280: “std::unique_ptr<Tungsten::uint8 [],void (__cdecl *)(void )>::unique_ptr<Tungsten::uint8,Tungsten::ImageIO::loadJpg::<lambda_41d26953b87997855605709ea805a7f3>>(_Ptr2,_Dx2)”: Attempt to refer to deleted functions C:\Users\X\Desktop\tungsten-master\src\core\io\ImageIO.cpp 459 1 core

300 IntelliSense: unable to reference function "std::: unique_ptr<_Ty [],_Dx >::: unique_ptr (_Ptr2,_Dx 2) [where_Ty = Tungsten:: uint8,_Dx = void (*) (void *),_Ptr2 = Tungsten:: uint8 *,_Ptr2 = Tungsten::: uint8 *,_Ptr2 = lambda [] void [] void ID [] void * id * p * * p) - > void]]" (number of declared lines: 1616, the file::::\\ Program C::\Files (x86) Microsoft Visual Studio 12.0\ VC Include\ memory) - It is a deleted letter Number c: Users X Desktop tungsten-master src core io ImageIO. CPP 457 28 core

Solved, Intel compiler compiles