When I try to run CommandcenterDefinitely with VS, I get a null pointer error. This error appears in the 308th sentence in the BaseLocationManager.cpp file:
"Const BaseLocation * homeBase = getPlayerStartingBaseLocation(player);"
My code is not very good, and I can't figure out why the "homeBase" here is a null pointer.
I have installed the required SC2API environment and can successfully run the sample programs in SC2API.
Thanks in advance.
When I try to run CommandcenterDefinitely with VS, I get a null pointer error. This error appears in the 308th sentence in the BaseLocationManager.cpp file: "Const BaseLocation * homeBase = getPlayerStartingBaseLocation(player);" My code is not very good, and I can't figure out why the "homeBase" here is a null pointer. I have installed the required SC2API environment and can successfully run the sample programs in SC2API. Thanks in advance.