OK, you see, I try GCC to see if it compiles. It does. Just linking is the problem now.
All the stuff is compiled by GCC now.
The MSVC++ compiler bug is not yet solved - it is related to some template evaluation I think.
So I can't use it for the moment.
If GCC works, I would use it anyway. It is some kind of experiment.
Now, I have the following linking issue, due to extern "C" variables in a file as defined in the project (worked in msvc++ this way):
.objs\Adobe\sdk\Adobe Illustrator CC_2015.3 SDK\illustratorapi\illustrator\ASMemory.o:ASMemory.cpp:(.rdata$.refptr.sSPBasic[.refptr.sSPBasic]+0x0): undefined reference to `sSPBasic'
The header:
#ifndef __jScriptorSuites_H__
#define __jScriptorSuites_H__
...
// Basic suites acquired by all plug-ins:
extern "C" SPBasicSuite* sSPBasic;
...
#endif
It is a header, I think it is the issue, should I set something in the project for it and where?