Add your CPP files into VPC. Recreate project files. In Visual Studio
make sure the files that have the implementation of your function
GetMyBlockHandlerSaveRestoreBlockHandler() are included into project.
The linking error will be fixed when you compile your file with
implementation of that function.
On 11/14/14, 15:05, David Buckley wrote:
Hi,
I'm following the tutorial given on the developer site here:
https://developer.valvesoftware.com/wiki/Save_Game_Files.
I've followed it to the letter. Unfortunately, I'm getting LNK2019
errors. I believe it can't find my implementation of the
GetMyBlockHandlerSaveRestoreBlockHandler() function, but I don't know
how to fix this.
I tried putting the files in the src/game/shared directory (the same
place as the acheivement_saverestore files), and adding them to the
server_hl2.vpc VPC script. There seems to be something I'm missing.
Can anyone help?
Many thanks
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders