Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: spiderwaseem on July 11, 2014, 05:23:52 am

Title: [QUESTION] Custom Class Compiling Error! (PLEASE HELP!)
Post by: spiderwaseem on July 11, 2014, 05:23:52 am
Hey Guys!

I was trying to make a Custom Class (Demon Hunter) and I got this error in Re-Compiling.

Quote
game.lib(ScriptLoader.obj) : error LNK2019: unresolved external symbol "void __cdecl AddSC_demonhunter_spell_scripts(void)" (?AddSC_demonhunter_spell_scripts@@YAXXZ) referenced in function "void __cdecl AddSpellScripts(void)" (?AddSpellScripts@@YAXXZ)

Here is the whole code :
Quote
16>Compiling resources...
16>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
16>Copyright (C) Microsoft Corporation.  All rights reserved.
16>Performing Pre-Link Event...
16>Linking...
16>   Creating library C:UsersWaseemDesktopBuildsrcserverworldserverReleaseworldserver.lib and object C:UsersWaseemDesktopBuildsrcserverworldserverReleaseworldserver.exp
16>game.lib(ScriptLoader.obj) : error LNK2019: unresolved external symbol "void __cdecl AddSC_demonhunter_spell_scripts(void)" (?AddSC_demonhunter_spell_scripts@@YAXXZ) referenced in function "void __cdecl AddSpellScripts(void)" (?AddSpellScripts@@YAXXZ)
16>C:UsersWaseemDesktopBuildbinReleaseworldserver.exe : fatal error LNK1120: 1 unresolved externals
16>Build log was saved at "file://c:UsersWaseemDesktopBuildsrcserverworldserverworldserver.dirReleaseBuildLog.htm"
16>worldserver - 2 error(s), 0 warning(s)
========== Build: 15 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========


So does anyone know how to fix this?
Can anyone give me any help at all on this?


Here is a Screenshot :
(http://i.imgur.com/kiYnUiP.png)


Please Help!

Thank You!
Title: Re: [QUESTION] Custom Class Compiling Error! (PLEASE HELP!)
Post by: spiderwaseem on July 12, 2014, 12:03:47 am
Wow.... Modcraft is really dead.... Or slow...
Title: Re: [QUESTION] Custom Class Compiling Error! (PLEASE HELP!)
Post by: Steff on July 12, 2014, 08:35:31 am
No here are 95 percent mapmakers.  Oy 3 til 5 people that did something in this direction.
So you must have luck one of them read yoir post.  And such comments dont motivate people to answer :)
Title: Re: [QUESTION] Custom Class Compiling Error! (PLEASE HELP!)
Post by: Ascathos on July 12, 2014, 04:35:38 pm
You did not add those scripts into the ScriptLoader. If this does not work, re-cmake the entire build by cleaning and building again (make sure you do have the new changes implemented).


Also, there is a thing called reallife. I'll be damned if I am on every moment of my life if it is enough to be on regulary.