Hi, I'm currently trying to get the base for a Cineware plugin set up, but it won"t compile. I"m on Windows 10 and am using Visual Studio 2022 with the C++14 language standard. I added the Cineware library as a dependency and am using the correct include paths.
The code:
#include <default_alien_overloads.h>
void
GetWriterInfo(Int32& id, String& appname)
{
id = 1234567; // this is replaced with my plugin ID
appname = "appname"; // this is replaced with my app name
}
The errors:
1>C:\Cineware\includes\private_ge_mtools.h(633,4): error C2065: 'objectToDelete': undeclared identifier
1>C:\Cineware\includes\private_ge_mtools.h(687,2): message : see reference to class template instantiation 'cineware::GeTempDynArray<TYPE>' being compiled
1>C:\Cineware\includes\private_ge_mtools.h(633,4): error C3861: 'objectToDelete': identifier not found
1>C:\Cineware\includes\private_ge_mtools.h(674,4): error C2065: 'objectToDelete': undeclared identifier
1>C:\Cineware\includes\private_ge_mtools.h(674,4): error C3861: 'objectToDelete': identifier not found
1>C:\Cineware\includes\private_ge_mtools.h(750,4): error C2065: 'objectToDelete': undeclared identifier
1>C:\Cineware\includes\private_ge_mtools.h(754,2): message : see reference to class template instantiation 'cineware::GeTempDynStack<TYPE>' being compiled
1>C:\Cineware\includes\private_ge_mtools.h(750,4): error C3861: 'objectToDelete': identifier not found
1>C:\Cineware\includes\private_ge_mtools.h(936,4): error C2065: 'objectToDelete': undeclared identifier
1>C:\Cineware\includes\private_ge_mtools.h(990,2): message : see reference to class template instantiation 'cineware::GeTempDynSortSearchArray<TYPE,SEARCH,FLUSH>' being compiled
1>C:\Cineware\includes\private_ge_mtools.h(936,4): error C3861: 'objectToDelete': identifier not found
1>C:\Cineware\includes\private_ge_mtools.h(3122,14): error C2065: 'm_Allocated': undeclared identifier
1>C:\Cineware\includes\private_ge_mtools.h(3337,2): message : see reference to class template instantiation 'cineware::SortedArray<TYPE,BLOCK>' being compiled
1>C:\Cineware\includes\private_ge_mtools.h(3122,14): error C3861: 'm_Allocated': identifier not found
1>C:\Cineware\includes\private_ge_mtools.h(3122,46): error C3861: 'm_pData': identifier not found
1>C:\Cineware\includes\private_ge_mtools.h(3124,19): error C3861: 'm_pData': identifier not found
1>C:\Cineware\includes\private_ge_mtools.h(3124,34): error C2065: 'm_Allocated': undeclared identifier
1>C:\Cineware\includes\private_ge_mtools.h(3124,34): error C3861: 'm_Allocated': identifier not found
1>C:\Cineware\includes\private_ge_mtools.h(3125,18): error C3861: 'm_Allocated': identifier not found
1>C:\Cineware\includes\private_ge_mtools.h(3130,14): error C2065: 'm_Allocated': undeclared identifier
1>C:\Cineware\includes\private_ge_mtools.h(3130,14): error C3861: 'm_Allocated': identifier not found
1>C:\Cineware\includes\private_ge_mtools.h(3135,20): error C3861: 'm_pData': identifier not found
1>C:\Cineware\includes\private_ge_mtools.h(3141,28): error C3861: 'm_pData': identifier not found
1>C:\Cineware\includes\private_ge_mtools.h(3143,23): error C3861: 'm_pData': identifier not found
1>C:\Cineware\includes\private_ge_mtools.h(3122,46): error C2065: 'm_pData': undeclared identifier
1>C:\Cineware\includes\private_ge_mtools.h(3124,19): error C2065: 'm_pData': undeclared identifier
1>C:\Cineware\includes\private_ge_mtools.h(3125,18): error C2065: 'm_Allocated': undeclared identifier
1>C:\Cineware\includes\private_ge_mtools.h(3337,1): fatal error C1003: error count exceeds 100; stopping compilation