This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Custom Class Compiling Error! (PLEASE HELP!)  (Read 1064 times)

spiderwaseem

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 154
    • View Profile
    • http://anarchy-wow.com/
[QUESTION] Custom Class Compiling Error! (PLEASE HELP!)
« 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 :



Please Help!

Thank You!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

spiderwaseem

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 154
    • View Profile
    • http://anarchy-wow.com/
Re: [QUESTION] Custom Class Compiling Error! (PLEASE HELP!)
« Reply #1 on: July 12, 2014, 12:03:47 am »
Wow.... Modcraft is really dead.... Or slow...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Custom Class Compiling Error! (PLEASE HELP!)
« Reply #2 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 :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [QUESTION] Custom Class Compiling Error! (PLEASE HELP!)
« Reply #3 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »