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

having a hard time compiling this


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 08-26-2014 , 23:15   having a hard time compiling this
Reply With Quote #1

I am trying to compile Bara's version of sm_hosties: https://github.com/Bara20/hosties2

when I tried to compile I got this error:

//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// sm_hosties.sp
// C:\Users\Kevin\Downloads\addons\sourcemod\scr ipting\sm_hosties.sp(26) : fatal
error 120: cannot read from file: "smlib"
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0.09 sec
// ----------------------------------------

Press enter to exit ...


I was then told to download the smlib here: https://github.com/bcserv/smlib

which I added to my scripting folder



now its telling me:

fatal error 120: cannot read from file: "math.inc"

even though the math.inc is clearly there

I don't know what to even do anymore


can someone compile this for me
__________________
PresidentEvil is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 08-28-2014 , 05:19   Re: having a hard time compiling this
Reply With Quote #2

Download smlib here and will compile: https://www.sourcemodplugins.org/smlib/
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 08-28-2014 at 14:20.
Franc1sco is offline
Send a message via MSN to Franc1sco
Mitchell
~lick~
Join Date: Mar 2010
Old 08-28-2014 , 14:13   Re: having a hard time compiling this
Reply With Quote #3

Quote:
Originally Posted by Franc1sco View Post
Download smlib here and will compile: https://www.sourcemodplugins.org/smlib/
you just said what the OP had already said he had done in the first place.
Make sure smlib is in scripting/includes
and not just the scripting folder.

Last edited by Mitchell; 08-28-2014 at 14:14.
Mitchell is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 08-28-2014 , 14:27   Re: having a hard time compiling this
Reply With Quote #4

Compile well for me, I attached the binary of bara´s hosties version as he have requested

The source code is here ----> https://github.com/Bara20/hosties2/t...emod/scripting
Attached Files
File Type: smx sm_hosties.smx (94.4 KB, 98 views)
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 08-28-2014 at 14:28.
Franc1sco is offline
Send a message via MSN to Franc1sco
xSpeced
AlliedModders Donor
Join Date: Aug 2013
Old 08-30-2014 , 22:21   Re: having a hard time compiling this
Reply With Quote #5

OP, you put .inc files inside the include (includes?) folder.
xSpeced is offline
Meitis
Member
Join Date: Jan 2014
Old 08-31-2014 , 10:12   Re: having a hard time compiling this
Reply With Quote #6

If you're still wondering why you failed to compile it, basically the version of smlib you were using (from github if I'm not mistaken) had a small error berni2288 that was comitted to the smlib github 7 days ago, but 4 days ago the error you report here was fixed by one of splewis' commits.
So, just redownload smlib from the github page and it should compile ;)
Meitis is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 09-02-2014 , 15:13   Re: having a hard time compiling this
Reply With Quote #7

the path for smlib is

addons\sourcemod\scripting\include\smlib

there is no includes folder anywhere


I re-downloaded everything again,

I get this error

//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// sm_hosties.sp
// C:\Users\Kevin\Downloads\addons\sourcemod\scr ipting\sm_hosties.sp(27) : fatal
error 120: cannot read from file: "emitsoundany"
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0.17 sec
// ----------------------------------------

Press enter to exit ...





Quote:
Originally Posted by Meitis View Post
If you're still wondering why you failed to compile it, basically the version of smlib you were using (from github if I'm not mistaken) had a small error berni2288 that was comitted to the smlib github 7 days ago, but 4 days ago the error you report here was fixed by one of splewis' commits.
So, just redownload smlib from the github page and it should compile ;)
link plz



Quote:
Originally Posted by Franc1sco View Post
Compile well for me, I attached the binary of bara´s hosties version as he have requested

The source code is here ----> https://github.com/Bara20/hosties2/t...emod/scripting
when you compiled sm_hosties.sp, it should have also created the LRs too?
__________________

Last edited by PresidentEvil; 09-02-2014 at 15:20.
PresidentEvil is offline
Meitis
Member
Join Date: Jan 2014
Old 09-02-2014 , 15:48   Re: having a hard time compiling this
Reply With Quote #8

You're no longer getting smlib compile errors now, now it just wants you to get this include file:
https://forums.alliedmods.net/showthread.php?t=237045
Meitis is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 09-02-2014 , 18:59   Re: having a hard time compiling this
Reply With Quote #9

Quote:
Originally Posted by Meitis View Post
You're no longer getting smlib compile errors now, now it just wants you to get this include file:
https://forums.alliedmods.net/showthread.php?t=237045



//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// sm_hosties.sp
// hosties/gamedescription.sp(61) : error 017: undefined symbol "Steam_SetGameDe
scription"
// hosties/gamedescription.sp(73) : error 017: undefined symbol "Steam_SetGameDe
scription"
// hosties/freekillers.sp(266) : error 017: undefined symbol "SBBanPlayer"
// hosties/gunsafety.sp(419) : error 017: undefined symbol "SBBanPlayer"
// hosties/gunsafety.sp(433) : error 017: undefined symbol "SBBanPlayer"
//
// 5 Errors.
//
// Compilation Time: 1.51 sec
// ----------------------------------------

Press enter to exit ...



why is this happening to me
__________________

Last edited by PresidentEvil; 09-02-2014 at 19:00.
PresidentEvil is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 09-03-2014 , 00:40   Re: having a hard time compiling this
Reply With Quote #10

Steamtools

Edit: look in asherkin's plugins
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 09-03-2014 at 00:41.
GsiX 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 04:00.


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