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

[HELP] Help Compiling


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AiiDynBrus
Member
Join Date: Mar 2017
Location: Queensland, Australia
Old 04-03-2017 , 21:20   [HELP] Help Compiling
Reply With Quote #1

So i know how to compile files, and I tested it on other .sp files and some work fine. But when i drag the .sp files onto spcomp the cmd window opens for a second then closes?
AiiDynBrus is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 04-03-2017 , 21:51   Re: [HELP] Help Compiling
Reply With Quote #2

Double click the compile.exe to compile all files in the directory and keep the window open.
OR
Open command prompt, change to the folder which spcomp is located in and run the command:
Code:
C:\WINDOWS\system32>cd C:\Scripting
C:\Scripting>spcomp.exe nameofplugin.sp
Maxximou5 is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 04-03-2017 , 21:59   Re: [HELP] Help Compiling
Reply With Quote #3

Or drag the .sp on top of compile.exe, and it will tell you whatever errors it may be producing ;)
__________________
sneaK is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 04-03-2017 , 21:59   Re: [HELP] Help Compiling
Reply With Quote #4

You can also drag a .sp file onto the compiler executable.
__________________
Neuro Toxin is offline
AiiDynBrus
Member
Join Date: Mar 2017
Location: Queensland, Australia
Old 04-03-2017 , 22:10   Re: [HELP] Help Compiling
Reply With Quote #5

Quote:
Originally Posted by Maxximou5 View Post
Double click the compile.exe to compile all files in the directory and keep the window open.
OR
Open command prompt, change to the folder which spcomp is located in and run the command:
Code:
C:\WINDOWS\system32>cd C:\Scripting
C:\Scripting>spcomp.exe nameofplugin.sp
Neither work for me, I get this error when i double click on comp.exe
https://i.gyazo.com/8a869262a1e162d3...28d52049f4.png

Every other file compiles except that one..
AiiDynBrus is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 04-03-2017 , 22:34   Re: [HELP] Help Compiling
Reply With Quote #6

You're missing the include, get the include and then you'll fix the error.
If you don't need to compile that file, remove it and it will continue compiling other files.
Maxximou5 is offline
AiiDynBrus
Member
Join Date: Mar 2017
Location: Queensland, Australia
Old 04-03-2017 , 23:09   Re: [HELP] Help Compiling
Reply With Quote #7



Put all my files from the include folder in the one on my desktop and still getting errors.
AiiDynBrus is offline
AiiDynBrus
Member
Join Date: Mar 2017
Location: Queensland, Australia
Old 04-03-2017 , 23:18   Re: [HELP] Help Compiling
Reply With Quote #8

I can compile any other file except this one, and the file that isnt compiling is the one i need.. haha

EDIT: Just transferred my whole sourcemod folder from my server to my desktop and tried compiling that file with my sourcemod folder and same errors as above?

Last edited by AiiDynBrus; 04-03-2017 at 23:27.
AiiDynBrus is offline
AiiDynBrus
Member
Join Date: Mar 2017
Location: Queensland, Australia
Old 04-04-2017 , 04:16   Re: [HELP] Help Compiling
Reply With Quote #9

Quote:
Originally Posted by Maxximou5 View Post
You're missing the include, get the include and then you'll fix the error.
If you don't need to compile that file, remove it and it will continue compiling other files.
Still not working all the include files are there and still getting errors.

So It gets past the include files but thats it..

https://pastebin.com/MYCKtKfQ

Last edited by AiiDynBrus; 04-04-2017 at 04:29.
AiiDynBrus is offline
AiiDynBrus
Member
Join Date: Mar 2017
Location: Queensland, Australia
Old 04-04-2017 , 05:33   Re: [HELP] Help Compiling
Reply With Quote #10

FIXED!
AiiDynBrus 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 19:50.


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