Raised This Month: $ Target: $400
 0% 

Need urgent help with Local Compiler


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Steveh
Member
Join Date: Oct 2010
Old 12-02-2010 , 11:16   Need urgent help with Local Compiler
Reply With Quote #1

Hi, for some reason I can't compile any sp files with my Local Compiler. What I'm trying to do is compile a plugin that needs the TF2Items Extension. The error the compiler gives me is "Internal Error"(For compile.exe) and "Fatal Error, Cannot read from file"(for spcomp.exe).

Please help me as I don't know what else to do.

Steveh.
Steveh is offline
comp_noob
Senior Member
Join Date: Nov 2010
Old 12-04-2010 , 23:23   Re: Need urgent help with Local Compiler
Reply With Quote #2

first thing, did you put an #include <whatever the tf2 inc is> at the top of your script? you need to include the inc when you are using natives from the inc itself...
comp_noob is offline
Steveh
Member
Join Date: Oct 2010
Old 12-05-2010 , 05:05   Re: Need urgent help with Local Compiler
Reply With Quote #3

Yes I did do that

PHP Code:
#include <sourcemod>
#define REQUIRE_EXTENSIONS
#include <tf2items>
#include <sdktools> 
I was thinking it might have been the way I saved it, (ANSI, Unicode, etc), It still doesnt read it correctly.

Steveh
Steveh is offline
comp_noob
Senior Member
Join Date: Nov 2010
Old 12-05-2010 , 05:52   Re: Need urgent help with Local Compiler
Reply With Quote #4

erm, what did you use to open up the script? notepad++ is usually used... other editors may have errors...
comp_noob is offline
Steveh
Member
Join Date: Oct 2010
Old 12-06-2010 , 07:46   Re: Need urgent help with Local Compiler
Reply With Quote #5

I use Pawn Studio 0.8.3 to edit the files.
Steveh is offline
FrozenHaxor
Senior Member
Join Date: Jun 2009
Location: Poland
Old 12-07-2010 , 05:55   Re: Need urgent help with Local Compiler
Reply With Quote #6

Try redownloading compiler.
__________________
FrozenHaxor is offline
Steveh
Member
Join Date: Oct 2010
Old 12-10-2010 , 11:43   Re: Need urgent help with Local Compiler
Reply With Quote #7

I have done this many times, with 1.3.6, 1.4.0, even older versions of Sourcemod. I don't know why it keeps saying Fatal Error, do you think it may be a problem with the extension I'm trying to use?
Steveh is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 12-10-2010 , 14:54   Re: Need urgent help with Local Compiler
Reply With Quote #8

Make sure spcomp.exe is in the same directory as compile.exe.
Dr!fter is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 12-10-2010 , 18:02   Re: Need urgent help with Local Compiler
Reply With Quote #9

Is there an include folder in the same folder as spcomp.exe?
Did you put tf2items.inc into the includes folder?
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

Last edited by asherkin; 12-11-2010 at 04:09.
DJ Tsunami is offline
russy
Senior Member
Join Date: Sep 2010
Old 12-12-2010 , 19:30   Re: Need urgent help with Local Compiler
Reply With Quote #10

.....

Last edited by russy; 12-12-2010 at 19:31. Reason: what i said was totaly wrong sorry
russy 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:41.


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