alliedmodders / sourcemod

SourceMod - Source Engine Scripting and Administration
http://www.sourcemod.net/
986 stars 423 forks source link

undefined symbol: ud_set_mode #853

Closed Satanic-Spirit closed 6 years ago

Satanic-Spirit commented 6 years ago

Environment

Description

Every time I try to compile an extension I get this undefined symbol issue. I had the environment setup for myself and all extensions used to work fine. The only thing that I changed was that I pulled the latest sourcemod from AM github.

Meta Load Output

undefined symbol: ud_set_mode

asherkin commented 6 years ago

If your extension is using the SM copy of CDetour, you need to update your build files with the libudis86 source files: https://mxr.alliedmods.net/sourcemod/source/extensions/tf2/AMBuilder#24.

Satanic-Spirit commented 6 years ago

I added the lubudis86 source files, but it gave me another error. Oh and my extension does not use the CDetour in any way.

Failed to load plugin addons/l4dtoolz/l4dtoolz_mm (Failed to get API).

BTW this is a Metamod extension. Following is the link to my github, if you want to take a look at source. https://github.com/Satanic-Spirit/L4DToolz

i haven't updated the AMBuilder file on the repo yet.

Fyren commented 6 years ago

Remove --exclude-libs from your linker flags (or fix it so you don't exclude CreateInterface from tier1).