I made a project file, added WINDOWS as a define, messed around with some file structuring so all the includes were found properly, but I'm getting link errors...
Any suggestions?
I also added winmm.lib as an additional dependency, since I noticed it was in Makefile.nmake.... still no improvements.
Code:
1>------ Build started: Project: ang311, Configuration: Debug Win32 ------ 1>Linking... 1>birth.obj : error LNK2019: unresolved external symbol _modify_stat_value referenced in function _get_stats 1>calcs.obj : error LNK2001: unresolved external symbol _modify_stat_value 1>cmd-obj.obj : error LNK2001: unresolved external symbol _player_can_read 1>cmd-obj.obj : error LNK2001: unresolved external symbol _player_can_cast 1>cmd5.obj : error LNK2001: unresolved external symbol _player_can_cast 1>cmd-obj.obj : error LNK2001: unresolved external symbol _player_can_study 1>cmd5.obj : error LNK2001: unresolved external symbol _player_can_study 1>main-win.obj : error LNK2019: unresolved external symbol __imp__PlaySoundA@12 referenced in function _Term_xtra_win_sound 1>C:\Users\Kyle\Documents\Visual Studio 2008\Projects\ang311\Debug\ang311.exe : fatal error LNK1120: 5 unresolved externals 1>Build log was saved at "file://c:\Users\Kyle\Documents\Visual Studio 2008\Projects\ang311\ang311\Debug\BuildLog.htm" 1>ang311 - 9 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I also added winmm.lib as an additional dependency, since I noticed it was in Makefile.nmake.... still no improvements.
Comment