Raised This Month: $23 Target: $400
 5% 

Compile Error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tiaguitos
Junior Member
Join Date: Dec 2015
Old 12-28-2015 , 17:56   Compile Error
Reply With Quote #1

I cannot compile a SP.
It gives me a error.

Fatal Error 182: cannot read from file : "smlib"

Everytime i try to compile ANY Sp file it gives me that error.
Tiaguitos is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 12-28-2015 , 18:20   Re: Compile Error
Reply With Quote #2

No, not any. Only ones that use smlib.

The error is self explanatory. The plugin uses smlib. Your include folder doesn't have smlib. Download smlib.
__________________
ddhoward is offline
Tiaguitos
Junior Member
Join Date: Dec 2015
Old 12-28-2015 , 18:47   Re: Compile Error
Reply With Quote #3

Now there is a diferent error:

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


//// store.sp
//
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\sourcemod
.inc(43) : error 001: expected token: "public", but found "const"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\sourcemod
.inc(44) : error 001: expected token: "}", but found "const"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\sourcemod
.inc(45) : error 001: expected token: "=", but found "["
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\sourcemod
.inc(46) : error 001: expected token: "=", but found "["
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\sourcemod
.inc(47) : error 001: expected token: "=", but found "["
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\sourcemod
.inc(4 : error 010: invalid function or declaration
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\core.inc(
45) : error 001: expected token: "public", but found "-identifier-"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\core.inc(
49) : error 010: invalid function or declaration
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\core.inc(
56) : error 021: symbol already defined: "INVALID_FUNCTION"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\core.inc(
82) : error 096: could not find member "version" in struct "__version"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\core.inc(
122) : error 001: expected token: "public", but found "const"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\core.inc(
123) : error 001: expected token: "}", but found "const"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\core.inc(
126) : error 010: invalid function or declaration
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\core.inc(
133) : error 001: expected token: "public", but found "const"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\core.inc(
134) : error 001: expected token: "}", but found "const"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\core.inc(
136) : error 010: invalid function or declaration
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\core.inc(
146) : error 096: could not find member "name" in struct "__ext_core"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\dbi.inc(7
59) : warning 237: coercing functions to and from primitives is unsupported and
will be removed in the future
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\dbi.inc(7
60) : warning 237: coercing functions to and from primitives is unsupported and
will be removed in the future
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\usermessa
ges.inc(165) : warning 237: coercing functions to and from primitives is unsuppo
rted and will be removed in the future
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\menus.inc
(503) : warning 219: local variable "time" shadows a variable at a preceding lev
el
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\menus.inc
(794) : warning 237: coercing functions to and from primitives is unsupported an
d will be removed in the future
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\halflife.
inc(591) : warning 219: local variable "time" shadows a variable at a preceding
level
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\sdktools_
functions.inc(301) : error 173: 'in' is a newly reserved keyword that may be use
d in the future; use a different name as an identifier
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\sdktools.
inc(220) : error 096: could not find member "name" in struct "__ext_sdktools"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\sdktools.
inc(223) : error 096: could not find member "autoload" in struct "__ext_sdktools
"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\sdktools.
inc(22 : error 096: could not find member "required" in struct "__ext_sdktools
"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\store.inc
(92) : error 096: could not find member "name" in struct "__ext_store_sm"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\store.inc
(95) : error 096: could not find member "autoload" in struct "__ext_store_sm"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\store.inc
(99) : error 096: could not find member "required" in struct "__ext_store_sm"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\regex.inc
(174) : error 096: could not find member "name" in struct "__ext_regex"
// C:\Users\Tiago\Desktop\Sourcemod\addons\sourc emod\scripting\include\regex.inc
(177) : error 096: could not find member "autoload" in struct "__ext_regex"
//
// Compilation aborted.
// 26 Errors.
//
// Compilation Time: 2,32 sec
// ----------------------------------------

Press enter to exit ...
Tiaguitos is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 12-28-2015 , 19:47   Re: Compile Error
Reply With Quote #4

Use proper tags when providing output info or plugin code. It makes it easy on readers eyes.

Attach the plugin or link to its thread.
__________________
Spirit_12 is offline
Tiaguitos
Junior Member
Join Date: Dec 2015
Old 12-29-2015 , 10:11   Re: Compile Error
Reply With Quote #5

Quote:
Originally Posted by Spirit_12 View Post
Use proper tags when providing output info or plugin code. It makes it easy on readers eyes.

Attach the plugin or link to its thread.

It is any Plugin i try to compile...
Tiaguitos is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 12-29-2015 , 11:18   Re: Compile Error
Reply With Quote #6

Reinstall SM.
Potato Uno is offline
Tiaguitos
Junior Member
Join Date: Dec 2015
Old 12-29-2015 , 11:43   Re: Compile Error
Reply With Quote #7

Nothing is working.

Im trying to compile this one.
Attached Files
File Type: sp Get Plugin or Get Source (store.sp - 280 views - 93.3 KB)
Tiaguitos is offline
Reply


Thread Tools
Display Modes

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:30.


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