View Single Post
Old December 28, 2017, 17:53   #5
rjphares
Rookie
 
Join Date: Dec 2017
Posts: 4
rjphares is on a distinguished road
2 errors:
Error LNK2001 unresolved external symbol _init_sound_win Angband1 C:\Users\Robert\source\repos\Angband1\Angband1\sou nd-core.obj 1

Error LNK1120 1 unresolved externals Angband1 C:\Users\Robert\source\repos\Angband1\Debug\Angban d1.exe 1

I may end up having to start over from the beginning.
This is what I did since the visual studio instructions are out of date:
  • Added libpng.dll and zlib1.dll to project directory.
  • Added zlib1.lib(no such file, I tried renaming) libpng.lib msimg32.lib winmm.lib to Properties->Linker->Input->Additional Dependencies
  • Added all src ".h" and ".c" files, excluding files with "main" and snd-sdl.c to project directory and project.
  • Added all src\win ".h" and ".c" files to project directory and project.
  • Added all src\win angband.rc and angband.ico files to project directory and project.
  • Added all src\win\include ".h" files to project directory and project.
  • Added main-win.c file to project directory and project.
rjphares is offline   Reply With Quote