View Single Post
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 02-23-2018 , 22:01   Re: Unable to compile on any platform :( (CSGO)
Reply With Quote #5

In the edit for your first post, you need to set LD_LIBRARY_PATH so ldd will find vstdlib and tier0. Off the top of my head, I don't know if all the missing symbols will be found in them.

The Makefiles appear to work as-is if you use gcc 4 (I tried 4.9.3). If you add -Wno-blah for the virtual destructor warning and if you get the error about "swap" from the SDK, include mathlib/mathlib.h in utlmemory.h, then they also worked in 7.2 for me. I didn't try clang and I didn't try actually loading the plugins.

If you're compiling a plugin someone else wrote, use whatever they provide to build it. If you're writing a plugin yourself, then it's easiest to adapt an existing Makefile or ambuild script, but it doesn't matter which as long as you do it right, heh.
Fyren is offline