Jump to content
TrinityCore

Compile or cmake problems


Joy
 Share

Recommended Posts

Having a problem during compile for latest 3.3.5a branch. Thankfully its only a few errors in a few different places and I might be able to figure it out later? But I truthfully have no idea what I'm doing.

 

What I have for things:

Code::Blocks 16.01 (In place of Visual Studio)

MariaDB 10.1.19 - 64 Bit

Cmake 3.7.1 - 64 Bit

Boost 1.60.0

OpenSSL 1.0.1u - 64 Bit

GNU GCC-5.3.0

Any chance anybody knows about this?

xCOg39d.png

 

 

 

 

 

Link to comment
Share on other sites

  • Replies 2.9k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

@Nay

Yeah--I've wanted to, though the issue is I can only find trial versions of VS, and to really do what I'd want I'd rather not have to worry about only having a month or so to do it with, unless there's some free version Microsoft is offering that I'm unaware of?

I know I've looked at that, I could've sworn it was a trial? Oh hell if I know. Sorry for bothering.

Edited by Ithicor
Link to comment
Share on other sites

Hey, I am getting the above error when I try to configure with cmake. It would be awesome if someone could shed a light on what I am doing wrong. 

 

This is the CMakeError.log:

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:  
Build flags: 
Id flags: 

The output was:
1
Microsoft (R) Build Engine version 14.0.23107.0
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 12/20/2016 12:21:48 AM.
Project "D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "Debug\".
  Creating directory "Debug\CompilerIdC.tlog\".
InitializeBuildStatus:
  Creating "Debug\CompilerIdC.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  D:\Programs\Essentials\Visual Studio\VC\bin\x86_amd64\CL.exe /c /nologo /W0 /WX- /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc140.pdb" /Gd /TC /errorReport:queue CMakeCCompilerId.c
  CMakeCCompilerId.c
Link:
  D:\Programs\Essentials\Visual Studio\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj
LINK : fatal error LNK1181: cannot open input file 'gdi32.lib' [D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdC\CompilerIdC.vcxproj]
Done Building Project "D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdC\CompilerIdC.vcxproj" (default targets) -- FAILED.

Build FAILED.

"D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdC\CompilerIdC.vcxproj" (default target) (1) ->
(Link target) -> 
  LINK : fatal error LNK1181: cannot open input file 'gdi32.lib' [D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdC\CompilerIdC.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:01.65


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:  
Build flags: 
Id flags: 

The output was:
1
Microsoft (R) Build Engine version 14.0.23107.0
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 12/20/2016 12:21:50 AM.
Project "D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "Debug\".
  Creating directory "Debug\CompilerIdCXX.tlog\".
InitializeBuildStatus:
  Creating "Debug\CompilerIdCXX.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  D:\Programs\Essentials\Visual Studio\VC\bin\x86_amd64\CL.exe /c /nologo /W0 /WX- /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc140.pdb" /Gd /TP /errorReport:queue CMakeCXXCompilerId.cpp
  CMakeCXXCompilerId.cpp
Link:
  D:\Programs\Essentials\Visual Studio\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X64 Debug\CMakeCXXCompilerId.obj
LINK : fatal error LNK1181: cannot open input file 'gdi32.lib' [D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj]
Done Building Project "D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets) -- FAILED.

Build FAILED.

"D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj" (default target) (1) ->
(Link target) -> 
  LINK : fatal error LNK1181: cannot open input file 'gdi32.lib' [D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.52


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:  
Build flags: 
Id flags: 

The output was:
1
Microsoft (R) Build Engine version 14.0.23107.0
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 12/20/2016 12:24:39 AM.
Project "D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "Debug\".
  Creating directory "Debug\CompilerIdC.tlog\".
InitializeBuildStatus:
  Creating "Debug\CompilerIdC.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  D:\Programs\Essentials\Visual Studio\VC\bin\x86_amd64\CL.exe /c /nologo /W0 /WX- /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc140.pdb" /Gd /TC /errorReport:queue CMakeCCompilerId.c
  CMakeCCompilerId.c
Link:
  D:\Programs\Essentials\Visual Studio\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj
LINK : fatal error LNK1181: cannot open input file 'gdi32.lib' [D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdC\CompilerIdC.vcxproj]
Done Building Project "D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdC\CompilerIdC.vcxproj" (default targets) -- FAILED.

Build FAILED.

"D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdC\CompilerIdC.vcxproj" (default target) (1) ->
(Link target) -> 
  LINK : fatal error LNK1181: cannot open input file 'gdi32.lib' [D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdC\CompilerIdC.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.37


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:  
Build flags: 
Id flags: 

The output was:
1
Microsoft (R) Build Engine version 14.0.23107.0
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 12/20/2016 12:24:40 AM.
Project "D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "Debug\".
  Creating directory "Debug\CompilerIdCXX.tlog\".
InitializeBuildStatus:
  Creating "Debug\CompilerIdCXX.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  D:\Programs\Essentials\Visual Studio\VC\bin\x86_amd64\CL.exe /c /nologo /W0 /WX- /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc140.pdb" /Gd /TP /errorReport:queue CMakeCXXCompilerId.cpp
  CMakeCXXCompilerId.cpp
Link:
  D:\Programs\Essentials\Visual Studio\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X64 Debug\CMakeCXXCompilerId.obj
LINK : fatal error LNK1181: cannot open input file 'gdi32.lib' [D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj]
Done Building Project "D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets) -- FAILED.

Build FAILED.

"D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj" (default target) (1) ->
(Link target) -> 
  LINK : fatal error LNK1181: cannot open input file 'gdi32.lib' [D:\WinDocuments\Google Drive Atemptingcider\WoW Strahnbrad\Build\Build Patch 1.0.0\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.38


 

If you need anything else please let me know. Thanks in advance.

 

Thanks for moving it I am sorry I didn't post it correctly, I will try and do that in the future.

 

UPDATE: Issue has been fixed and it now works perfectly. Seems something went wrong while installing visual studio - reinstalled it and it worked. :)

Edited by Frathir
Link to comment
Share on other sites

Unfortunately I got a new problem now. When I compile it says:

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

Here you can see all the output from the build.

http://pastebin.com/QNWHZTRL

 

Is this something to worry about, and do you have any idea what is wrong? 

EDIT: I see now that I am missing everything required to run the server so I guess it is a huge problem, lol.

Please help, it's been a long time since I have compiled anything and I am not familiar with c++.

Thanks in advance.

 

EDIT: NVM 

========== Build: 22 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Not sure what I did differently this time but it worked ^^. Peace.

Edited by Frathir
Link to comment
Share on other sites

First time compiling and i got this. Searched everywhere but did not find what i need. Anyone help? Thanks in advance!

CMake Error at cmake/compiler/msvc/settings.cmake:7 (message):
MSVC: TrinityCore requires version 19.0 (MSVC 2015) to build but found
18.0.30723.0
Call Stack (most recent call first):
cmake/platform/win/settings.cmake:4 (include)
cmake/macros/CheckPlatform.cmake:11 (include)
CMakeLists.txt:58 (include)

Link to comment
Share on other sites

1 hour ago, chibeng said:

First time compiling and i got this. Searched everywhere but did not find what i need. Anyone help? Thanks in advance!

CMake Error at cmake/compiler/msvc/settings.cmake:7 (message):
MSVC: TrinityCore requires version 19.0 (MSVC 2015) to build but found
18.0.30723.0

Call Stack (most recent call first):
cmake/platform/win/settings.cmake:4 (include)
cmake/macros/CheckPlatform.cmake:11 (include)
CMakeLists.txt:58 (include)

it's that hard to read?

Link to comment
Share on other sites

2 hours ago, chibeng said:

First time compiling and i got this. Searched everywhere but did not find what i need. Anyone help? Thanks in advance!

CMake Error at cmake/compiler/msvc/settings.cmake:7 (message):
MSVC: TrinityCore requires version 19.0 (MSVC 2015) to build but found
18.0.30723.0
Call Stack (most recent call first):
cmake/platform/win/settings.cmake:4 (include)
cmake/macros/CheckPlatform.cmake:11 (include)
CMakeLists.txt:58 (include)

 

16 minutes ago, Aokromes said:

it's that hard to read?

Is that hard to read?

Link to comment
Share on other sites

On 12/20/2016 at 7:40 AM, Frathir said:

Unfortunately I got a new problem now. When I compile it says:

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

Here you can see all the output from the build.

http://pastebin.com/QNWHZTRL

 

Is this something to worry about, and do you have any idea what is wrong? 

EDIT: I see now that I am missing everything required to run the server so I guess it is a huge problem, lol.

Please help, it's been a long time since I have compiled anything and I am not familiar with c++.

Thanks in advance.

 

EDIT: NVM 

========== Build: 22 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Not sure what I did differently this time but it worked ^^. Peace.

 From my experience, it can fail the first time through for whatever reason. Lack of ram, insufficient resources, sneeze in the other direction....hell even a fart can make it hiccup if necessary. Do it again! 3 out of 5 attempts is a successful build, like you saw. Good luck. :)

Link to comment
Share on other sites

Hey guys,

i just got my new labtop and i've tried to build trinitycore on it without success. I have followed the Confluence page windows-requirements and done exactly as on my two primary machines. On compiling, im getting an Warning for every file. As im new to c++, not programming and computers at all, i don't know how to resolve this problem on my own because i don't get what's the problem. While compiling it looks as the following:

gZFCf.jpg

 

After it has finished, i get the following errors:


Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\common.lib(Log.obj)    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\common.lib(StartProcess.obj)    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\common.lib(AppenderFile.obj)    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\shared.lib(Realm.obj)    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\shared.lib(ByteBuffer.obj)    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\database.lib(databasePCH.obj)    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\common.lib(Config.obj)    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\authPCH.obj    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\Main.obj    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\AuthSession.obj    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\shared.lib(RealmList.obj)    1    
Fehler    LNK1120    1 nicht aufgelöste Externe    authserver    G:\Workspace\TrinityCore\Build\bin\Release\authserver.exe    1

 

I tought the problem is caused by setting up boost in first so i double checked every step in the guide. Did someone has similiar issues and could give me a clue on what's wrong with my setup?

thanks anyway

Link to comment
Share on other sites

21 hours ago, bumbummen99 said:

Hey guys,

i just got my new labtop and i've tried to build trinitycore on it without success. I have followed the Confluence page windows-requirements and done exactly as on my two primary machines. On compiling, im getting an Warning for every file. As im new to c++, not programming and computers at all, i don't know how to resolve this problem on my own because i don't get what's the problem. While compiling it looks as the following:

gZFCf.jpg

 

After it has finished, i get the following errors:


Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\common.lib(Log.obj)    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\common.lib(StartProcess.obj)    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\common.lib(AppenderFile.obj)    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\shared.lib(Realm.obj)    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\shared.lib(ByteBuffer.obj)    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\database.lib(databasePCH.obj)    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\common.lib(Config.obj)    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\authPCH.obj    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\Main.obj    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\AuthSession.obj    1    
Fehler    LNK2001    Nicht aufgelöstes externes Symbol ""void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)".    authserver    G:\Workspace\TrinityCore\Build\src\server\authserver\shared.lib(RealmList.obj)    1    
Fehler    LNK1120    1 nicht aufgelöste Externe    authserver    G:\Workspace\TrinityCore\Build\bin\Release\authserver.exe    1

 

I tought the problem is caused by setting up boost in first so i double checked every step in the guide. Did someone has similiar issues and could give me a clue on what's wrong with my setup?

thanks anyway

Fixed by deleting buildfolder and rerunning cmake

Link to comment
Share on other sites

  • 2 weeks later...
4 hours ago, newworldvanilla said:

i redownloaded mysql 5.6 put libmysql.ddl in realise

You should also (re)compile with the new .lib file that came with your mysql that you downloaded.
The mysql version the core was compiled with and the one in your server root folder must match. If you compiled with version X and your server folder has version Y then the server will complain.

Did you read the error? Did you do what it says? Im pretty sure you did not.

Link to comment
Share on other sites

Hi Gang -  I'm working on running and building TC 3.3.5 on a separate machine. I thought I installed everything exactly as I did my Master setup on a different rig, but paying attention to the subtle differences between 3.3.5, and Master.

Anyway, Im trying to run CMAKE for the first time, but Im getting the following error.

"

The C compiler identification is unknown

The CXX compiler identification is unknown

CMake Error at CMakeLists.txt:15 (project):
No CMAKE_C_COMPILER could be found.


 

CMake Error at CMakeLists.txt:15 (project):
No CMAKE_CXX_COMPILER could be found.

"

Screen Cap is.....mDj2Rdu.png

 

Obviously, its asking for the location to my C++ Compiler, and as the setup instructions suggested, it should be MS VS 14, 2015. Right? Am I wrong? Someone give me a gentle shove in the proper direction please?

Thanks!

 

Link to comment
Share on other sites

Disregard..... I think I solved my own issue.

"

The installer for VS 2015 (any edition) no longer installs the C++ compiler by default.

To enable it, select Custom in the type of installation and pick Common Tools for Visual C++ 2015 in Programming Languages -> Visual C++

You can also install it from command line with the command:
vs_community.exe /q /norestart /InstallSelectableItems NativeLanguageSupport_Group

or if you have enterprise version with:

vs_enterprise.exe /q /norestart /InstallSelectableItems NativeLanguageSupport_Group"

 

Testing now.

Link to comment
Share on other sites

Yes. THe preceding problem was user error. Sorry. However I now have a new concern. My CMake is not saving locations to a LOT of components. Everything is there and when I set the pathways to them all (30 mins worth of hunting, every single time), I run the Configure then set tools and Generate, everything is fine. But when I close the CMake app down and reopen it, its back to the same way it was before; a bunch of "NOT FOUND" errors. HOw can I get these paths set once and for all?? Thanks!

AfVbpu8.png

p4UT5VZ.png

 

I just tried uninstalling CMake and reinstalling it, but that does absolutely no good. Any thoughts?

Link to comment
Share on other sites

  • Aokromes changed the title to Compile or cmake problems
  • Aokromes pinned this topic
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...