AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Metamod:Source Questions (https://forums.alliedmods.net/forumdisplay.php?f=74)
-   -   Unable to compile plugin into .so file (https://forums.alliedmods.net/showthread.php?t=341171)

urth1g 01-05-2023 19:12

Unable to compile plugin into .so file
 
Hey guys,

I have given up and moved to Source Mod, with which I am hoping to have more luck but I am utterly confused on how to achieve what I want with metamod.

Namely, here are the steps that I took:

1. Made a local copy of hl2sdk-csgo
2. Inside of there, I had changed a serverplugin_sample.cpp
3. Built it - I got dll

As I understood it, the linux requires .so files instead of .dll and they should be placed inside serverfiles.

I was absolutely unable to build .so file and decided to give up.


Are there any tutorials on how to setup things and build for linux? I have a feeling that I also made a mistake in working directly under hl2sdk package and instead I should've worked outside of it, but was also unsucessful in that one as well.

Thanks in advance

CryWolf 01-13-2023 02:40

Re: Unable to compile plugin into .so file
 
Compiling under Windows = .DLL
Compiling under Linux = .SO

Quote:

Originally Posted by unknown
A .so library cannot be deployed on Windows and VS can't create one. But if what you want is to cross-compile for some platform (*NIX) which does support it, you can try using Cygwin



All times are GMT -4. The time now is 02:36.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.