Compiling Scripts Problem menu

User Tag List

Results 1 to 6 of 6
  1. #1
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Compiling Scripts Problem

    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
    Last edited by Sounddead; 10-04-2008 at 06:07 PM.

    I live in a shoe

    Compiling Scripts Problem
  2. #2
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Link errors could be a whole lot of things. Post your error and I'll help you

  3. #3
    xeross155's Avatar Member
    Reputation
    4
    Join Date
    Aug 2008
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you using custom scripts ? Like sun++ etc

  4. #4
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Updated

    I live in a shoe

  5. #5
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks like you're mentioning a SetupMorphNPC function which isn't defined. Make sure the spelling is correct and the function is being declared in your Setup.h file

  6. #6
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OMFG. What a stupid mistake.

    I love you <3

    I live in a shoe

Similar Threads

  1. DLL compiling/script problems
    By Etho in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 08-14-2008, 01:39 PM
  2. [Question]A coupple of questions about compiling scripts
    By Andeby in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 02-07-2008, 02:24 PM
  3. Lua scripts problem
    By Mr.Ice.Cold in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 02-02-2008, 11:44 AM
  4. Lua Boss Script Problems!!
    By blah7 in forum World of Warcraft Emulator Servers
    Replies: 14
    Last Post: 01-22-2008, 08:59 PM
  5. [Guide] How to compile scripts!
    By Aldaus in forum WoW EMU Guides & Tutorials
    Replies: 9
    Last Post: 01-19-2008, 05:41 AM
All times are GMT -5. The time now is 05:41 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search