Raised This Month: $ Target: $400
 0% 

Unable to compile plugin into .so file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
urth1g
New Member
Join Date: Jan 2023
Old 01-05-2023 , 19:12   Unable to compile plugin into .so file
Reply With Quote #1

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
urth1g is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 01-13-2023 , 02:40   Re: Unable to compile plugin into .so file
Reply With Quote #2

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
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:59.


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