Compiling for TF2 with orangeboxvalve
I'm trying to compile VoiceHook2 for TF2.
It compiled with hl2sdk-tf2 successfully. But when I loaded it, it gave me "undefined symbol OnDependenciesDroppedEv". I see that TF2Items used to use orangeboxvalve before switching to AMBuild. However, there isn't an ob-valve or ep2v in the HL2 SDK mirror branches. I've found hl2sdk-ob-valve here, but the last commit was in 2013 and the GitHub link 404's. The compilation with that hl2sdk-ob-valve fails with this error: PHP Code:
Is it the extension's fault for not working with hl2sdk-tf2 and is using orangeboxvalve outdated? Would building it with AMBuild fix anything? |
Re: Compiling for TF2 with orangeboxvalve
The error about OnDependenciesDropped is because the code is years old and that function has since been added to one of the SM interfaces. You will either have to compile against an ancient version of SM or update the code.
The orangeboxvalve branch of the hl2sdk is obsolete. It was for first-party Valve games that shared engine code (or close enough), but those games diverged and the SDKs were split out. |
Re: Compiling for TF2 with orangeboxvalve
Yes, that's true, it's outdated. It turned out it was using very old smsdk_ext.ccp and .h instead of referencing the up to date ones. It compiled when I replaced them and is working more or less with some stability issues, but that's on me then.
Thanks for clearing it up for me, I'm gonna use the hl2sdk-tf2 then. |
All times are GMT -4. The time now is 12:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.