生成dll的错误
赵保军 2014-12-05 11:01:33 Linking...
Creating library Debug/vcdll.lib and object Debug/vcdll.exp
vcdll.obj : error LNK2001: unresolved external symbol "class WorldModel WM" (?WM@@3VWorldModel@@A)
vcdll.obj : error LNK2001: unresolved external symbol "public: void __thiscall WorldModel::update(struct MatchState,struct RobotState * const,struct OpsState * const,struct BallState)" (?update@WorldModel@@QAEXUMatchState@@QAURobotState@@QAUOpsState
@@UBallState@@@Z)
vcdll.obj : error LNK2001: unresolved external symbol "public: void __thiscall WorldModel::decision4(struct TCommand *)" (?decision4@WorldModel@@QAEXPAUTCommand@@@Z)
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/vcdll.exe : fatal error LNK1120: 4 unresolved externals
执行 link.exe 时出错.