Raised This Month: $ Target: $400
 0% 

Errors with spcomp


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 12-30-2014 , 15:52   Errors with spcomp
Reply With Quote #1

Before I get into it, I've used google and other helpful articles where people have had the same issue and I'm still stuck. It isn't a big deal as a new version of the plugin is being released later tonight to fix what I edited out, however it would still be helpful to know where I am messing up.

First error

Code:
SourcePawn Compiler 1.6.4-dev+4616
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC

motdgd_adverts.sp(28) : fatal error 120: cannot read from file: "EasyHTTP2"

Compilation aborted.
1 Error.
Noticed I missed uploading an include, so I uploaded it.

Second error

Code:
SourcePawn Compiler 1.6.4-dev+4616
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC

/home/steam/servers/tft/tf/addons/sourcemod/scripting/include/EasyHTTP2.inc(10) : fatal error 120: cannot read from file: "curl"

Compilation aborted.
1 Error.
I have a cURL.inc in the include folder, so I don't think it is the same problem.
I've compiled other plugins without any issue so I'm not sure what I am missing here or if there was a helpful page I missed that may explain what I am doing wrong.
__________________
Phaiz is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 12-30-2014 , 17:46   Re: Errors with spcomp
Reply With Quote #2

Quote:
Originally Posted by Phaiz View Post
Before I get into it, I've used google and other helpful articles where people have had the same issue and I'm still stuck. It isn't a big deal as a new version of the plugin is being released later tonight to fix what I edited out, however it would still be helpful to know where I am messing up.

First error

Code:
SourcePawn Compiler 1.6.4-dev+4616
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC

motdgd_adverts.sp(28) : fatal error 120: cannot read from file: "EasyHTTP2"

Compilation aborted.
1 Error.
Noticed I missed uploading an include, so I uploaded it.

Second error

Code:
SourcePawn Compiler 1.6.4-dev+4616
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC

/home/steam/servers/tft/tf/addons/sourcemod/scripting/include/EasyHTTP2.inc(10) : fatal error 120: cannot read from file: "curl"

Compilation aborted.
1 Error.
I have a cURL.inc in the include folder, so I don't think it is the same problem.
I've compiled other plugins without any issue so I'm not sure what I am missing here or if there was a helpful page I missed that may explain what I am doing wrong.
you sure curl.inc is spelt all lowercase?
__________________
WildCard65 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 12-30-2014 , 18:09   Re: Errors with spcomp
Reply With Quote #3

You have literally pointed out what you have wrong in your code...
Quote:
Originally Posted by Phaiz View Post
Code:
"curl"
Quote:
Originally Posted by Phaiz View Post
I have a cURL.inc
change to "#include <cURL>"

EDIT: i'm sure this is what WildCard65 was trying to say also, but he speaks in riddles that are hard to understand.

Last edited by Mitchell; 12-30-2014 at 18:13.
Mitchell is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 12-31-2014 , 00:48   Re: Errors with spcomp
Reply With Quote #4

Well actually curl isn't even listed in the .sp

Code:
// ====[ INCLUDES | DEFINES ]============================================================
#pragma semicolon 1
#include <sourcemod>

#define STRING(%1) %1, sizeof(%1)

#include <EasyHTTP2>
#include <json>
Should I point that out to the author?

edit-
Added that line in there just to try it, still same error.
__________________

Last edited by Phaiz; 12-31-2014 at 00:57.
Phaiz is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-31-2014 , 08:16   Re: Errors with spcomp
Reply With Quote #5

If you read the output, you'd see that the curl.inc error is from EasyHTTP2.inc.
__________________
asherkin is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 12-31-2014 , 08:56   Re: Errors with spcomp
Reply With Quote #6

Quote:
Originally Posted by Phaiz View Post
Well actually curl isn't even listed in the .sp

Code:
// ====[ INCLUDES | DEFINES ]============================================================
#pragma semicolon 1
#include <sourcemod>

#define STRING(%1) %1, sizeof(%1)

#include <EasyHTTP2>
#include <json>
Should I point that out to the author?

edit-
Added that line in there just to try it, still same error.
I would post where ever you got the EasyHTTP2.inc that they need to name <curl> to it's proper name <cURL> so no one else has this issue in the future.
Mitchell 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 18:10.


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