View Full Version : HELP compile LSCRIPT
lov3rboy408
18th November 2006, 01:32
after finishing reading all the writes up.. i follow directions wat people told me to do.. everytime i finish build the script.. i go to RELEASE folder.. i couldn't find the lscript.dll ?? instead a punch of .obj files in there..
here what's i did
1. i'm using Visual C++2005
2. download lua 2.7file
3. i open the File called LScript that looks like a sideways 8, than it's open it's self..
4. i converted the project. change setting to release.
5. Right Click and BUILD IT..
solution
1>LScript - 1 error(s), 35 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
what's i do wrong???
T0m
18th November 2006, 01:48
erm...
you can see there that there is an error when compiling.
find out what the error is, and fix it.
deegan
18th November 2006, 10:47
ok are you trying to compile the script in with the lua stuff? and by script i mean the actual bot file itself?plus that tut i wrote was using 2003 not that much different
lov3rboy408
18th November 2006, 23:14
i'm try to compile the Lscript2.7.lua into lscript.dll... because i kept having errors
deegan
18th November 2006, 23:56
well either way this should be in the sticky thread for LUA that temp2 started. not here also maybe post the errors in the correct thread and someone might actually help you
lov3rboy408
19th November 2006, 03:33
\lauxlib.c(538) : warning C4996: 'strerror' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(125) : see declaration of 'strerror'
Message: 'This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\lauxlib.c(558) : warning C4996: 'fopen' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(234) : see declaration of 'fopen'
Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\lauxlib.c(569) : warning C4996: 'fopen' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(234) : see declaration of 'fopen'
Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
it's kept said this errors??
deegan
19th November 2006, 03:43
well since you cannot follow instructions like umm i dunno posting in the correct thread figure it out yourself. but heres a hint anyway look at lines 125 in string h and 234 in stdio h
utopiah
19th November 2006, 18:09
what you are showing here are warnings,
if you want us to help you have to post the ERRORS you have
Utopiah
SmokeZ
19th November 2006, 21:21
To disable deprecation, use _CRT_SECURE_NO_DEPRECATE.
go at the TOP of the LSscript.cpp and write that :P
#define _CRT_SECURE_NO_DEPRECATE
simple what? -_-
lov3rboy408
20th November 2006, 04:43
#define _CRT_SECURE_NO_DEPRECATE
i put it on lscript.cpp.. but still same warning.. where can i see the errors???
1>------ Build started: Project: LScript, Configuration: Release Win32 ------
1>Compiling...
1>LScript.cpp
1>.\LScript.cpp(71) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Build log was saved at "file://c:\Documents and Settings\hai\Desktop\LScript\Release\BuildLog.htm"
1>LScript - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
squirrel5153
20th November 2006, 04:59
you need the Windows SDK, google "Windows Platform SDK"
SmokeZ
20th November 2006, 06:09
i put it on lscript.cpp.. but still same warning.. where can i see the errors???
fatal error C1083: Cannot open include file: 'windows.h':
bullshit? same warning? where .. you didnt posted this ERROR message before...
Visual C++2005
that should have the windows main header included in the package..
lov3rboy408
20th November 2006, 09:07
object.c
.\lobject.c(145) : warning C4996: 'sprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\lobject.c(184) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\lobject.c(193) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\lobject.c(196) : warning C4996: 'strcat' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\lobject.c(198) : warning C4996: 'strcat' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\lobject.c(204) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\lobject.c(206) : warning C4996: 'strncat' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(143) : see declaration of 'strncat'
Message: 'This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\lobject.c(207) : warning C4996: 'strcat' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\lobject.c(210) : warning C4996: 'strcat' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\lobject.c(211) : warning C4996: 'strcat' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
loadlib.c
.\loadlib.c(96) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
lmem.c
utopiah
20th November 2006, 22:36
the warnings mean that you are using some deprecated stuff you can either ignored it or use the define as smoke said
the error means that you have to download the platform SDK from microsoft, install it in the right directories and recompile it and your problems will be solved
Utopiah
Powered by vBulletin™ Version 4.0.2 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.