When I try to compile a script it says
..srcMorphNPCSetup.cpp(3) : fatal error C1083: Cannot open include file: 'StdAfx.h': No such file or directory
:'(
Help please. I will +rep
EDIT: Fixed that. Now I'm getting a linking error. I'll post it tomorrow, though I doubt anyone will reply to this anyways.
Heres the linker errors:
1.
Code:
LINK : warning LNK4224: /OPT:NOWIN98 is no longer supported; ignored
Creating library ......bindebugscript_bin/LevelHelp.lib and object ......bindebugscript_bin/LevelHelp.exp
Setup.obj : error LNK2001: unresolved external symbol "void __cdecl SetupMorphNPC(class ScriptMgr *)" (?SetupMorphNPC@@YAXPAVScriptMgr@@@Z)
../../../bin/release/script_bin/LevelHelp.dll : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:DevelopmentC++EmulatorsHypnoticEmuStablesrcscriptsprojects2008_int_release_LevelHelpBuildLog.htm"
LevelHelp - 2 error(s), 1 warning(s)
2.
Code:
LINK : warning LNK4224: /OPT:NOWIN98 is no longer supported; ignored
Creating library ......bindebugscript_bin/MorphNPC.lib and object ......bindebugscript_bin/MorphNPC.exp
Setup.obj : error LNK2001: unresolved external symbol "void __cdecl SetupMorphNPC(class ScriptMgr *)" (?SetupMorphNPC@@YAXPAVScriptMgr@@@Z)
../../../bin/release/script_bin/MorphNPC.dll : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:DevelopmentC++EmulatorsHypnoticEmuStablesrcscriptsprojects2008_int_release_MorphNPCBuildLog.htm"
MorphNPC - 2 error(s), 1 warning(s)
Command Lines:
Code:
Creating temporary file "c:DevelopmentC++EmulatorsHypnoticEmuStablesrcscriptsprojects2008_int_release_MorpherNPCRSP00000677448180.rsp" with contents
[
/Ob2 /Oi /Ot /Oy /GL /I "....ascent-shared" /I "....ascent-sharedvmap" /I "....ascent-sharedg3dlite" /I "....ascent-world" /I "......depinclude" /I "......depsrc" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "SCRIPTLIB" /D "_VC80_UPGRADE=0x0710" /D "_WINDLL" /D "_MBCS" /GF /FD /EHsc /MD /GS- /fp:fast /Fo"2008_int_release_MorpherNPC\" /Fd"2008_int_release_MorpherNPCvc90.pdb" /W3 /c /Zi /TP "..srcMorphNPCMorphNPC.cpp"
"..srcMorphNPCSetup.cpp"
]
Creating command line "cl.exe @"c:DevelopmentC++EmulatorsHypnoticEmuStablesrcscriptsprojects2008_int_release_MorpherNPCRSP00000677448180.rsp" /nologo /errorReport:prompt"
Creating temporary file "c:DevelopmentC++EmulatorsHypnoticEmuStablesrcscriptsprojects2008_int_release_MorpherNPCRSP00000777448180.rsp" with contents
[
/OUT:"../../../bin/release/script_bin/MorpherNPC.dll" /INCREMENTAL:NO /LIBPATH:"......binrelease" /DLL /MANIFEST /MANIFESTFILE:"2008_int_release_MorpherNPCMorpherNPC.dll.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"../../../bin/release/script_bin/MorpherNPC.pdb" /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /OPT:NOWIN98 /LTCG /DYNAMICBASE:NO /IMPLIB:"......bindebugscript_bin/MorpherNPC.lib" /MACHINE:X86 ascent-world.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
".2008_int_release_MorpherNPCSetup.obj"
".2008_int_release_MorpherNPCMorphNPC.obj"
]
Creating command line "link.exe @"c:\Development\C++\Emulators\HypnoticEmu\Stable\src\scripts\projects\2008_int_ release_MorpherNPC\RSP00000777448180.rsp" /NOLOGO /ERRORREPORT:PROMPT"
Note: 1 and 2 are from different scripts, but both result in nearly the same error. And I don't understand