Windows CMAKE (CTL) failing
Gonzalo Garramuño <[email protected]>
| Newsgroups | gmane.comp.video.openexr.devel |
|---|---|
| Message-ID | <[email protected]> |
I am unsure if this is the right list, but compiling CTL and OpenEXR_CTL fails, with the following error: [ 1%] Building CXX object lib/IlmCtl/CMakeFiles/IlmCtl.dir/CtlExc.cpp.obj CtlExc.cpp F:\code\lib\ctl-git\lib\IlmCtl\CtlExc.h(95) : error C2512: 'Ctl::CtlExc' : no ap propriate default constructor available F:\code\lib\ctl-git\lib\IlmCtl\CtlExc.h(99) : error C2512: 'Ctl::CtlExc' : no ap propriate default constructor available F:\code\lib\ctl-git\lib\IlmCtl\CtlExc.h(101) : error C2512: 'Ctl::CtlExc' : no a ppropriate default constructor available F:\code\lib\ctl-git\lib\IlmCtl\CtlExc.h(103) : error C2512: 'Ctl::CtlExc' : no a ppropriate default constructor available F:\code\lib\ctl-git\lib\IlmCtl\CtlExc.h(105) : error C2512: 'Ctl::CtlExc' : no a ppropriate default constructor available F:\code\lib\ctl-git\lib\IlmCtl\CtlExc.h(107) : error C2512: 'Ctl::CtlExc' : no a ppropriate default constructor available F:\code\lib\ctl-git\lib\IlmCtl\CtlExc.h(109) : error C2512: 'Ctl::CtlExc' : no a ppropriate default constructor available F:\code\lib\ctl-git\lib\IlmCtl\CtlExc.h(111) : error C2512: 'Ctl::CtlExc' : no a ppropriate default constructor available F:\code\lib\ctl-git\lib\IlmCtl\CtlExc.h(113) : error C2512: 'Ctl::CtlExc' : no a ppropriate default constructor available F:\code\lib\ctl-git\lib\IlmCtl\CtlExc.h(115) : error C2512: 'Ctl::CtlExc' : no a ppropriate default constructor available F:\code\lib\ctl-git\lib\IlmCtl\CtlExc.h(118) : error C2512: 'Ctl::CtlExc' : no a ppropriate default constructor available F:\code\lib\ctl-git\lib\IlmCtl\CtlExc.h(121) : error C2512: 'Ctl::CtlExc' : no a ppropriate default constructor available F:\code\lib\ctl-git\lib\IlmCtl\CtlExc.cpp(80) : error C3861: 'va_copy': identifi er not found The first error is the macros failing due to not finding a default constructor (it seems Name(const char* l = 0, .... ) is invalid ). The second error (in the .cpp file) is puzzling as the right includes are included (stdio.h and stdarg.h), but maybe not in the right order. The compiler I am using is VC10 Express. Maybe I need to upgrade?