Raised This Month: $ Target: $400
 0% 

[CSGO] UserMessageBegin


Post New Thread Reply   
 
Thread Tools Display Modes
Martek
Junior Member
Join Date: Aug 2012
Old 02-05-2013 , 13:49   Re: [CSGO] UserMessageBegin
Reply With Quote #11

I am almost sure that I did everything exactly as it is intended, but I get the following error when trying to load my plugin on a linux machine:

failed to dlopen plugin.so error=plugin.so: undefined symbol: g_Cstrike15UsermessageHelpers

Do you have any idea what I need to link or do to get rid of this error?
Martek is offline
psychonic

BAFFLED
Join Date: May 2008
Old 02-05-2013 , 13:51   Re: [CSGO] UserMessageBegin
Reply With Quote #12

Quote:
Originally Posted by Martek View Post
I am almost sure that I did everything exactly as it is intended, but I get the following error when trying to load my plugin on a linux machine:

failed to dlopen plugin.so error=plugin.so: undefined symbol: g_Cstrike15UsermessageHelpers

Do you have any idea what I need to link or do to get rid of this error?
You need to compile and link public/game/shared/csgo/protobuf/cstrike15_usermessage_helpers.cpp with your project.

Quote:
Originally Posted by psychonic View Post
Ah, indeed. I had forgotten the cast.

Also forgot to mention that the following files need to be compiled into the project:
public/game/shared/csgo/protobuf/cstrike15_usermessage_helpers.cpp
public/game/shared/csgo/protobuf/cstrike15_usermessages.pb.cc
public/engine/protobuf/netmessages.pb.cc
psychonic is offline
Reply



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 15:46.


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