This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error[e46]: Undefined external "?cstart_call_ctors" referred in

When I declare a class variable as global, linker gives that error. As far as I understand cstartup code calls a function that calls that constructors but that implementation is missing..


What should I include?