Lucas Messages: 6 Registered: February 2019 Location: UK
Promising Member
So ok. I started again from the beginning.
I created empty CtrLib application with main window in TheIDE compiled it and it worked perfectly well.
I saved all files and then in VS I created new solution and used this files. In project properties I added Include directory to point it to UPP header files.
Now the error I get is:
Severity Code Description Project File Line Suppression State
Error C2100 illegal indirection HW c:\users\canis\dropbox\cpp\upp\uppsrc\core\topt.h 157
Error C2672 'Upp::AssertMoveablePtr': no matching overloaded function found HW c:\users\canis\dropbox\cpp\upp\uppsrc\core\topt.h 157
Error C2782 'void Upp::AssertMoveablePtr(T,T)': template parameter 'T' is ambiguous HW c:\users\canis\dropbox\cpp\upp\uppsrc\core\topt.h 157
Error C2784 'void Upp::AssertMoveablePtr(T,T)': could not deduce template argument for 'T' from 'T' HW c:\users\canis\dropbox\cpp\upp\uppsrc\core\topt.h 157
Error C2784 'void Upp::AssertMoveablePtr(T,T)': could not deduce template argument for 'T' from 'T' HW c:\users\canis\dropbox\cpp\upp\uppsrc\core\topt.h 157
Error C2784 'void Upp::AssertMoveablePtr(T,T)': could not deduce template argument for 'T' from 'T' HW c:\users\canis\dropbox\cpp\upp\uppsrc\core\topt.h 157
Error C2784 'void Upp::AssertMoveablePtr(T,T)': could not deduce template argument for 'T' from 'T' HW c:\users\canis\dropbox\cpp\upp\uppsrc\core\topt.h 157
And there is comment in source file:
// COMPILATION ERROR HERE MEANS TYPE T WAS NOT MARKED AS Moveable