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

Internal Source Compiler error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Blinx
Senior Member
Join Date: Oct 2013
Old 12-27-2022 , 17:12   Internal Source Compiler error
Reply With Quote #1

Hello, I'm getting an Internal Error when trying to compile any plugin, this randomly started happening after nothing in particular as far as I'm aware. Reinstalling the latest Sourcemod did not fix this, any ideas on what's causing this? Thanks.
Blinx is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 12-27-2022 , 17:59   Re: Internal Source Compiler error
Reply With Quote #2

Share the log error message and the plugin .sp file/thread link if possible
__________________
Marttt is offline
Blinx
Senior Member
Join Date: Oct 2013
Old 12-27-2022 , 18:44   Re: Internal Source Compiler error
Reply With Quote #3

PHP Code:
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// PreventPhlogTauntWhileStunned.sp
// Internal error.

Press enter to exit ... 
This is happening with every plugin I try when I never had it before so I don't think it's plugin specific.
Blinx is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 12-28-2022 , 09:06   Re: Internal Source Compiler error
Reply With Quote #4

Blinx, Is there a "compiled" folder next to the compiler (or its shortcut if plugins are compiled by dragging sources onto the shortcut)?
Are you using Windows or Linux to compile?
__________________
Grey83 is offline
Blinx
Senior Member
Join Date: Oct 2013
Old 12-28-2022 , 13:44   Re: Internal Source Compiler error
Reply With Quote #5

Compiled folder still exists.
Using Windows.
Blinx is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-29-2022 , 05:57   Re: Internal Source Compiler error
Reply With Quote #6

Could you tell, step by step. How you compile plugin ?
- Because there are Pawn editors and simple "drag & drop" source file on spcom.exe, style

Are you compiling plugin in your own PC ?
What CMD console message show when you run spcomp.exe, not using any file.
__________________
Do not Private Message @me
Bacardi is offline
McTavish
Senior Member
Join Date: May 2021
Old 12-29-2022 , 06:45   Re: Internal Source Compiler error
Reply With Quote #7

Quote:
Originally Posted by Blinx View Post
Hello, I'm getting an Internal Error when trying to compile any plugin, this randomly started happening after nothing in particular as far as I'm aware. Reinstalling the latest Sourcemod did not fix this, any ideas on what's causing this? Thanks.
There could be several reasons why you're encountering an Internal Error when trying to compile a plugin for Counter-Strike 1.6. Here are a few things you can try to troubleshoot the issue:

1 - Make sure you have the latest version of the SourceMod compiler installed on your system. If you're using an older version, it might not be able to handle the syntax or features of the plugin you're trying to compile.

2 - Check if you have any syntax errors in your plugin code. The Internal Error message can be caused by syntax mistakes in the plugin source code, such as missing brackets or incorrect variable names.

3 - Make sure that you have the required dependencies installed on your system. Some plugins may require additional libraries or include files in order to be compiled properly.

4 - Check if you have any other SourceMod plugins installed that could be causing conflicts with the plugin you're trying to compile. It's possible that one of the other plugins is causing the Internal Error message to be displayed.
__________________
No Steam = No Support.
McTavish is offline
Blinx
Senior Member
Join Date: Oct 2013
Old 12-29-2022 , 09:06   Re: Internal Source Compiler error
Reply With Quote #8

Quote:
Originally Posted by Bacardi View Post
Could you tell, step by step. How you compile plugin ?
- Because there are Pawn editors and simple "drag & drop" source file on spcom.exe, style

Are you compiling plugin in your own PC ?
What CMD console message show when you run spcomp.exe, not using any file.
I compile with opening then up with the compile program "SPCOMP compile.exe"
I'm compiling on my own PC.
If I just open compile with no file, I get this message:

PHP Code:
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// admin-sql-prefetch.sp
// Internal error.

Press enter to exit ... 
If I open spcomp or spcomp64 I get no output at all.
Blinx is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-29-2022 , 12:13   Re: Internal Source Compiler error
Reply With Quote #9

Are you using this ???
https://github.com/spiretf/spcomp


*edit
In scripting folder there is spcomp.exe. Drag and drop one plugin source file, top of it.
You should get *.smx file into "compiled" folder

*edit edit
https://wiki.alliedmods.net/Compiling_SourceMod_Plugins

Maybe you need:
Code:
spcomp pluginfilename.sp
__________________
Do not Private Message @me

Last edited by Bacardi; 12-29-2022 at 12:23.
Bacardi is offline
Blinx
Senior Member
Join Date: Oct 2013
Old 12-29-2022 , 12:41   Re: Internal Source Compiler error
Reply With Quote #10

Quote:
Originally Posted by Bacardi View Post
Are you using this ???
https://github.com/spiretf/spcomp


*edit
In scripting folder there is spcomp.exe. Drag and drop one plugin source file, top of it.
You should get *.smx file into "compiled" folder

*edit edit
https://wiki.alliedmods.net/Compiling_SourceMod_Plugins

Maybe you need:
Code:
spcomp pluginfilename.sp
No I'm not using that. There's 3 compilers in the folder it seems, compile, spcomp and spcomp64. I've only ever used the standard compile executable, and it's always worked fine, then suddenly it started giving an Internal Error.
Blinx 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:01.


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