Jump to content
  • Announcements

    • Xmat

      Pravidlo pro postování v TTT

      Do sekce Tipy, triky, tutoriály nepatří žádné dotazy.   Postujte sem vaše návody, tipy a různé další věci jež uznáte za vhodné sdělit zdejšímu osazenstvu, ale veškeré dotazy směřujte do sekce Všeobecná diskuse.
    • Replik

      Seznam návodů a důležitých témat v této sekci

      Pro lepší přehlednost jsem vytvořil tento seznam, který vás, méně zkušené, lépe provede touto sekcí. Věřím, že zde najdete, co hledáte. Vypsané jsou návody, které jsou oficiálně uznané jako návody. Běžné diskuze, které neposkytují postupy a rady zvěřejněny nejsou.   Instalace vlastního MaNGOS Serveru Díky těmto návodům budete (měli by jste být) schopni vytvořit a následně spustit váš vlastní server. Nastavení je pro verze s i bez datadisku.   Instalace MaNGOS Serveru (bez datadisku TBC) - Autor Benny Instalace MaNGOS Serveru (s datadiskem TBC) - Autor Malfik Instalace MaNGOS Serveru v prostředí Linux - Autor charlie Instalace MaNGOS Serveru v prostředí Linux - Autor kupkoid   Chyby a jejich řešení při přihlašování k serveru - Autor Cybe   Zálohování uživatelských dat   Dávkový soubor (BAT soubor) pro vytvoření SQL záloh - Autor Replik   Kompilování - tvoření vlastních release (revizí)   Tvorba kompilací pro Win32 (MangoScript) - Autor bLuma   Ostatní - těžko zařaditelné, ale neznamená to, že nejsou dobré   VIP Systém - Autor charlie Tvorba Webových stránek pro MaNGOS - Autor zahuba Tvorba teleportačních NPC (MangoScript) - Autor Replik Registrační web (původně předělaná SPORA) Funkční pro Antrix i MaNGOS - Autor Replik Nastavení a spuštění Minimanager pro MaNGOS - Autor BlackMartin Nastavení MaNGOS Website - Autor Artorius   Samozřejmě jsou zde i jiné návody, ale tyto jsou nejvíce používané, proto věřím, že vám budou nápomocné. Tuto sekci budeme upravovat podle potřeby. Pokud by jste něco nenašli nebo si nevěděli rady, hledejte na fóru a teprve potom založte vlastní topik. Pokud nějaký autor vytvoří kvalitní návod a chtěl by ho zveřejnit i v tomto seznamu, doporučuji, aby mi napsal zprávu skrze PM.   Díky a přeji hezký den na WoWResource   Replik
    • Aristo

      Příspěvky tam, kde nemají co dělat

      Dodržujte zákaz přispívání do topiků s repaky pokud si to zakladatelé nepřejí!! Opakované psaní příspěvků bude trestáno warnem.
    • Aristo

      Používání spoilerů

      Poslední dobou má většina uživatelů fora zvláštní nutkání postovat extrémně dlouhé texty nebo kódy, které zabírají v nejedenom případu i 80% obsahu celé stránky a hodně tak zvedají nepřehlednost v topiku. Chtěl bych všechny uživatele požádat, aby při postování citací, jakýchkoliv kódů, errorů, atp... delších než 30 řádků používali funkci spoileru.   Funkci vyvoláte příkazem [spoiler] text [/spoiler]   Ukázka:  
Sign in to follow this  
Daniel.Kolesar

Recompiling Errory

Recommended Posts

Dobrý den stiahol som si z netu c++ teleportera script som pridal cez custom script tutorialu ale pri recompilingu vysli errory dakujem za pomoc

 

1>------ Build started: Project: ace, Configuration: Release Win32 ------

2>------ Build started: Project: revision.h, Configuration: Release Win32 ------

1>Linking...

2>-- WARNING - Missing or outdated git - did you forget to install a recent version?

2>-- WARNING - Observe that for revision hash/date to work you need at least version 1.7

2>-- WARNING - Missing repository tags - you may need to pull tags with git fetch -t

2>-- WARNING - Continuing anyway - note that the versionstring will be set to 0000-00-00 00:00:00 (Archived)

2>Build log was saved at "file://c:\Users\Správca\Desktop\build\src\genrev\revision.h.dir\Release\BuildLog.htm"

2>revision.h - 0 error(s), 0 warning(s)

3>------ Build started: Project: scripts, Configuration: Release Win32 ------

1> Creating library C:\Users\Správca\Desktop\build\dep\acelite\ace\Release\ace.lib and object C:\Users\Správca\Desktop\build\dep\acelite\ace\Release\ace.exp

3>Compiling...

3>telenpc.cpp

3>..\..\..\..\trinity\src\server\scripts\Custom\telenpc.cpp(14) : fatal error C1083: Cannot open include file: 'ScriptedPch.h': No such file or directory

3>Build log was saved at "file://c:\Users\Správca\Desktop\build\src\server\scripts\scripts.dir\Release\BuildLog.htm"

3>scripts - 1 error(s), 0 warning(s)

4>------ Build started: Project: libmysql, Configuration: Release Win32 ------

1>Embedding manifest...

4>Linking...

1>Build log was saved at "file://c:\Users\Správca\Desktop\build\dep\acelite\ace\ace.dir\Release\BuildLog.htm"

1>ace - 0 error(s), 0 warning(s)

4> Creating library C:\Users\Správca\Desktop\build\dep\mysqllite\Release\libmysql.lib and object C:\Users\Správca\Desktop\build\dep\mysqllite\Release\libmysql.exp

4>Embedding manifest...

4>Build log was saved at "file://c:\Users\Správca\Desktop\build\dep\mysqllite\libmysql.dir\Release\BuildLog.htm"

4>libmysql - 0 error(s), 0 warning(s)

5>------ Build started: Project: worldserver, Configuration: Release Win32 ------

6>------ Build started: Project: authserver, Configuration: Release Win32 ------

6>Performing Pre-Link Event...

5>Performing Pre-Link Event...

6>Linking...

5>Linking...

6> Creating library C:\Users\Správca\Desktop\build\src\server\authserver\Release\authserver.lib and object C:\Users\Správca\Desktop\build\src\server\authserver\Release\authserver.exp

6>Embedding manifest...

6>Performing Post-Build Event...

6>Build log was saved at "file://c:\Users\Správca\Desktop\build\src\server\authserver\authserver.dir\Release\BuildLog.htm"

6>authserver - 0 error(s), 0 warning(s)

5> Creating library C:\Users\Správca\Desktop\build\src\server\worldserver\Release\worldserver.lib and object C:\Users\Správca\Desktop\build\src\server\worldserver\Release\worldserver.exp

5>game.lib(ScriptLoader.obj) : error LNK2019: unresolved external symbol "void __cdecl AddSC_telenpc(void)" (?AddSC_telenpc@@YAXXZ) referenced in function "void __cdecl AddCustomScripts(void)" (?AddCustomScripts@@YAXXZ)

5>C:\Users\Správca\Desktop\build\bin\Release\worldserver.exe : fatal error LNK1120: 1 unresolved externals

5>Build log was saved at "file://c:\Users\Správca\Desktop\build\src\server\worldserver\worldserver.dir\Release\BuildLog.htm"

5>worldserver - 2 error(s), 0 warning(s)

========== Build: 4 succeeded, 2 failed, 8 up-to-date, 0 skipped ==========

 

Share this post


Link to post
Share on other sites

fatal error C1083: Cannot open include file: 'ScriptedPch.h': No such file or directory

 

ScriptedPch.h je blbost... dej místo toho ScriptPCH.h ;)

Share this post


Link to post
Share on other sites

Zmenim som v tom teleporterovy to čo si písal ale zase 2 errory

1>------ Build started: Project: revision.h, Configuration: Release Win32 ------

1>-- WARNING - Missing or outdated git - did you forget to install a recent version?

1>-- WARNING - Observe that for revision hash/date to work you need at least version 1.7

1>-- WARNING - Missing repository tags - you may need to pull tags with git fetch -t

1>-- WARNING - Continuing anyway - note that the versionstring will be set to 0000-00-00 00:00:00 (Archived)

1>Build log was saved at "file://c:\Users\Správca\Desktop\build\src\genrev\revision.h.dir\Release\BuildLog.htm"

1>revision.h - 0 error(s), 0 warning(s)

2>------ Build started: Project: scripts, Configuration: Release Win32 ------

2>Compiling...

2>telenpc.cpp

2>..\..\..\..\trinity\src\server\scripts\Custom\telenpc.cpp(15) : fatal error C1083: Cannot open include file: '../../shared/Config/Config.h': No such file or directory

2>Build log was saved at "file://c:\Users\Správca\Desktop\build\src\server\scripts\scripts.dir\Release\BuildLog.htm"

2>scripts - 1 error(s), 0 warning(s)

3>------ Build started: Project: worldserver, Configuration: Release Win32 ------

3>Performing Pre-Link Event...

3>Linking...

3> Creating library C:\Users\Správca\Desktop\build\src\server\worldserver\Release\worldserver.lib and object C:\Users\Správca\Desktop\build\src\server\worldserver\Release\worldserver.exp

3>game.lib(ScriptLoader.obj) : error LNK2019: unresolved external symbol "void __cdecl AddSC_telenpc(void)" (?AddSC_telenpc@@YAXXZ) referenced in function "void __cdecl AddCustomScripts(void)" (?AddCustomScripts@@YAXXZ)

3>C:\Users\Správca\Desktop\build\bin\Release\worldserver.exe : fatal error LNK1120: 1 unresolved externals

3>Build log was saved at "file://c:\Users\Správca\Desktop\build\src\server\worldserver\worldserver.dir\Release\BuildLog.htm"

3>worldserver - 2 error(s), 0 warning(s)

========== Build: 1 succeeded, 2 failed, 11 up-to-date, 0 skipped ==========

 

Prosím o pomoc dakujem pekne vopred.

Share this post


Link to post
Share on other sites

Posielam z druheho c++ enchantement npc či to nepojde ale zase 3 errory

1>------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------

1>Checking Build System

1>CMake does not need to re-run because C:/Users/Sprßvca/Desktop/build/CMakeFiles/generate.stamp is up-to-date.

1>CMake does not need to re-run because C:/Users/Sprßvca/Desktop/build/dep/CMakeFiles/generate.stamp is up-to-date.

1>CMake does not need to re-run because C:/Users/Sprßvca/Desktop/build/dep/acelite/CMakeFiles/generate.stamp is up-to-date.

1>CMake does not need to re-run because C:/Users/Sprßvca/Desktop/build/dep/acelite/ace/CMakeFiles/generate.stamp is up-to-date.

1>CMake does not need to re-run because C:/Users/Sprßvca/Desktop/build/dep/mysqllite/CMakeFiles/generate.stamp is up-to-date.

1>CMake does not need to re-run because C:/Users/Sprßvca/Desktop/build/dep/zlib/CMakeFiles/generate.stamp is up-to-date.

1>CMake does not need to re-run because C:/Users/Sprßvca/Desktop/build/dep/g3dlite/CMakeFiles/generate.stamp is up-to-date.

1>CMake does not need to re-run because C:/Users/Sprßvca/Desktop/build/dep/gsoap/CMakeFiles/generate.stamp is up-to-date.

1>CMake does not need to re-run because C:/Users/Sprßvca/Desktop/build/src/CMakeFiles/generate.stamp is up-to-date.

1>CMake does not need to re-run because C:/Users/Sprßvca/Desktop/build/src/genrev/CMakeFiles/generate.stamp is up-to-date.

1>CMake does not need to re-run because C:/Users/Sprßvca/Desktop/build/src/server/CMakeFiles/generate.stamp is up-to-date.

1>CMake does not need to re-run because C:/Users/Sprßvca/Desktop/build/src/server/shared/CMakeFiles/generate.stamp is up-to-date.

1>CMake does not need to re-run because C:/Users/Sprßvca/Desktop/build/src/server/game/CMakeFiles/generate.stamp is up-to-date.

1>CMake does not need to re-run because C:/Users/Sprßvca/Desktop/build/src/server/collision/CMakeFiles/generate.stamp is up-to-date.

1>CMake does not need to re-run because C:/Users/Sprßvca/Desktop/build/src/server/authserver/CMakeFiles/generate.stamp is up-to-date.

1>CMake is re-running because C:/Users/Sprßvca/Desktop/build/src/server/scripts/CMakeFiles/generate.stamp is out-of-date.

1> the file 'C:/Users/Sprßvca/Desktop/trinity/src/server/scripts/Custom/CMakeLists.txt'

1> is newer than 'C:/Users/Sprßvca/Desktop/build/src/server/scripts/CMakeFiles/generate.stamp.depend'

1> result='-1'

1>-- Detected 32-bit platform

1>-- Using supplied MySQL sources

1>-- MSVC: Enabled large address awareness

1>-- MSVC: Enabled SSE2 support

1>-- MSVC: Overloaded standard names

1>-- MSVC: Disabled NON-SECURE warnings

1>-- MSVC: Disabled POSIX warnings

1>-- MSVC: Disabled generic compiletime warnings

1>-- WARNING - Missing or outdated git - did you forget to install a recent version?

1>-- WARNING - Observe that for revision hash/date to work you need at least version 1.7

1>-- WARNING - Missing repository tags - you may need to pull tags with git fetch -t

1>-- WARNING - Continuing anyway - note that the versionstring will be set to 0000-00-00 00:00:00 (Archived)

1>* TrinityCore rev. hash : Archived

1>* TrinityCore rev. date : 0000-00-00 00:00:00 +0000

1>* Install core to : C:/Program Files/TrinityCore

1>* Build world/auth : Yes (default)

1>* Build with scripts : Yes (default)

1>* Build map/vmap tools : No (default)

1>* Build core w/PCH : Yes (default)

1>* Build scripts w/PCH : Yes (default)

1>* Show compile-warnings : No (default)

1>* Use coreside debug : No (default)

1>* Use MySQL sourcetree : Yes (default)

1>-- MySQL 5.5.9

1>-- SCRIPT PREPARATIONS

1> -> Prepared: Spells

1> -> Prepared: Commands

1> -> Prepared: Examples

1> -> Prepared: Custom

1> -> Prepared: World

1> -> Prepared: Outdoor PVP Zones

1> -> Prepared: Eastern Kingdoms

1> -> Prepared: Kalimdor

1> -> Prepared: Outland

1> -> Prepared: Northrend

1>-- SCRIPT PREPARATION COMPLETE

1>-- Configuring done

1>CMake Error at src/server/scripts/CMakeLists.txt:148 (add_library):

1> Cannot find source file:

1> Custom/enchantment.cpp

1> Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp

1> .hxx .in .txx

1>-- Build files have been written to: C:/Users/Sprßvca/Desktop/build

1>Project : error PRJ0019: A tool returned an error code from "Checking Build System"

1>Build log was saved at "file://c:\Users\Správca\Desktop\build\ZERO_CHECK.dir\Release\BuildLog.htm"

1>ZERO_CHECK - 1 error(s), 0 warning(s)

2>------ Build started: Project: revision.h, Configuration: Release Win32 ------

2>-- WARNING - Missing or outdated git - did you forget to install a recent version?

2>-- WARNING - Observe that for revision hash/date to work you need at least version 1.7

2>-- WARNING - Missing repository tags - you may need to pull tags with git fetch -t

2>-- WARNING - Continuing anyway - note that the versionstring will be set to 0000-00-00 00:00:00 (Archived)

2>Build log was saved at "file://c:\Users\Správca\Desktop\build\src\genrev\revision.h.dir\Release\BuildLog.htm"

2>revision.h - 0 error(s), 0 warning(s)

3>------ Build started: Project: game, Configuration: Release Win32 ------

4>------ Build started: Project: scripts, Configuration: Release Win32 ------

3>Compiling...

3>ScriptLoader.cpp

4>Building Custom Rule C:/Users/Správca/Desktop/trinity/src/server/scripts/CMakeLists.txt

4>CMake is re-running because C:\Users\Sprßvca\Desktop\build\src\server\scripts\CMakeFiles\generate.stamp is out-of-date.

4> the file 'C:/Users/Sprßvca/Desktop/trinity/src/server/scripts/Custom/CMakeLists.txt'

4> is newer than 'C:\Users\Sprßvca\Desktop\build\src\server\scripts\CMakeFiles\generate.stamp.depend'

4> result='-1'

4>-- Detected 32-bit platform

4>-- Using supplied MySQL sources

4>-- MSVC: Enabled large address awareness

4>-- MSVC: Enabled SSE2 support

4>-- MSVC: Overloaded standard names

4>-- MSVC: Disabled NON-SECURE warnings

4>-- MSVC: Disabled POSIX warnings

4>-- MSVC: Disabled generic compiletime warnings

4>-- WARNING - Missing or outdated git - did you forget to install a recent version?

4>-- WARNING - Observe that for revision hash/date to work you need at least version 1.7

4>-- WARNING - Missing repository tags - you may need to pull tags with git fetch -t

4>-- WARNING - Continuing anyway - note that the versionstring will be set to 0000-00-00 00:00:00 (Archived)

4>* TrinityCore rev. hash : Archived

4>* TrinityCore rev. date : 0000-00-00 00:00:00 +0000

4>* Install core to : C:/Program Files/TrinityCore

4>* Build world/auth : Yes (default)

4>* Build with scripts : Yes (default)

4>* Build map/vmap tools : No (default)

4>* Build core w/PCH : Yes (default)

4>* Build scripts w/PCH : Yes (default)

4>* Show compile-warnings : No (default)

4>* Use coreside debug : No (default)

4>* Use MySQL sourcetree : Yes (default)

4>-- MySQL 5.5.9

4>-- SCRIPT PREPARATIONS

4> -> Prepared: Spells

4> -> Prepared: Commands

4> -> Prepared: Examples

4> -> Prepared: Custom

4> -> Prepared: World

4> -> Prepared: Outdoor PVP Zones

4> -> Prepared: Eastern Kingdoms

4> -> Prepared: Kalimdor

4> -> Prepared: Outland

4> -> Prepared: Northrend

4>-- SCRIPT PREPARATION COMPLETE

4>-- Configuring done

4>CMake Error at src/server/scripts/CMakeLists.txt:148 (add_library):

4> Cannot find source file:

4> Custom/enchantment.cpp

4> Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp

4> .hxx .in .txx

4>-- Build files have been written to: C:/Users/Sprßvca/Desktop/build

4>Project : error PRJ0019: A tool returned an error code from "Building Custom Rule C:/Users/Správca/Desktop/trinity/src/server/scripts/CMakeLists.txt"

4>Build log was saved at "file://c:\Users\Správca\Desktop\build\src\server\scripts\scripts.dir\Release\BuildLog.htm"

4>scripts - 1 error(s), 0 warning(s)

3>Creating library...

3>Build log was saved at "file://c:\Users\Správca\Desktop\build\src\server\game\game.dir\Release\BuildLog.htm"

3>game - 0 error(s), 0 warning(s)

5>------ Build started: Project: worldserver, Configuration: Release Win32 ------

5>Performing Pre-Link Event...

5>Linking...

5> Creating library C:\Users\Správca\Desktop\build\src\server\worldserver\Release\worldserver.lib and object C:\Users\Správca\Desktop\build\src\server\worldserver\Release\worldserver.exp

5>game.lib(ScriptLoader.obj) : error LNK2019: unresolved external symbol "void __cdecl AddSC_npc_enchantment(void)" (?AddSC_npc_enchantment@@YAXXZ) referenced in function "void __cdecl AddCustomScripts(void)" (?AddCustomScripts@@YAXXZ)

5>C:\Users\Správca\Desktop\build\bin\Release\worldserver.exe : fatal error LNK1120: 1 unresolved externals

5>Build log was saved at "file://c:\Users\Správca\Desktop\build\src\server\worldserver\worldserver.dir\Release\BuildLog.htm"

5>worldserver - 2 error(s), 0 warning(s)

========== Build: 2 succeeded, 3 failed, 9 up-to-date, 0 skipped ==========

 

 

tu je c++ http://pastebin.com/REUSiL5U

Share this post


Link to post
Share on other sites

1> Cannot find source file:

1> Custom/enchantment.cpp

 

Chyba spíš mezi židlí a klávesnicí, nemyslíš? :)

Share this post


Link to post
Share on other sites

Tak přemejšlím, a napadá mě že jestli nebude lepší když si uděláš SQL teleportetra misto c++ je to pro tebe lepší volba asi :))

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×