Raised This Month: $12 Target: $400
 3% 

Unable to compile MM sample plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SM9
Veteran Member
Join Date: Sep 2013
Location: United Kingdom
Old 07-31-2016 , 12:54   Unable to compile MM sample plugin
Reply With Quote #1

Hello, I have setup everything with Visual Studio 2015 but for some reason I am unable to compile the example plugin as seen here:


I used the following tutorial: http://www.mrwaggel.be/post/writing-...ver-c-plugins/

Any help is much appreciated,

Thanks.
SM9 is offline
waggel
Junior Member
Join Date: Aug 2007
Old 07-31-2016 , 13:24   Re: Unable to compile MM sample plugin
Reply With Quote #2

Right click on your project "sample mm" -> Under "Configuration Properties" -> General -> Platform Toolset select v120 or v120_xp it comes with VS2013 (Which you'll need to download).

Last edited by waggel; 07-31-2016 at 13:26.
waggel is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 07-31-2016 , 13:40   Re: Unable to compile MM sample plugin
Reply With Quote #3

Your not linking hl2sdk-csgo's tier1.lib to the project.
Edit link settings so VS links your project against %HL2SDKCSGO%/lib/public/tier1.lib
__________________

Last edited by WildCard65; 07-31-2016 at 13:41.
WildCard65 is offline
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 08-02-2016 , 05:05   Re: Unable to compile MM sample plugin
Reply With Quote #4

AfaIk vs2015 compiler it's not binary compatible with the versions Valve uses, you will have to build everything statically, or move to vs2013
kadet.89 is offline
Send a message via Skype™ to kadet.89
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 15:43.


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