Jump to content
TrinityCore

Compile or cmake problems


Joy
 Share

Recommended Posts

  • Replies 2.9k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

CMake:

Looking for pthread.h

Looking for pthread.h - not found

Found Threads: TRUE

CMake Error at cmake/macros/FindBoost.cmake:1185 (message):
Unable to find the requested Boost libraries.

Boost version: 1.64.0

Boost include path: C:/local/boost_1_64_0

Could not find the following static Boost libraries:

boost_system
boost_filesystem
boost_thread
boost_program_options
boost_iostreams

No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost. If you still have problems search on forum for TCE00020.
Call Stack (most recent call first):
dep/boost/CMakeLists.txt:29 (find_package)

 

i installed boost 1.64.0 and set BOOST_ROOT to C:\local\boost_1_64_0 (its location) but still get this error :( (tried .63 too, nearly same error)

I also tried BOOST_LIBRARYDIR to the libs folder

Edited by shoro2
Link to comment
Share on other sites

CMake (with boot 1.63.0 installed):

"Looking for pthread.h

Looking for pthread.h - not found

Found Threads: TRUE

Boost version: 1.63.0

Found the following Boost libraries:

system

filesystem

thread

program_options

iostreams

Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM"

 

no error pop up but the tools box is not checked

 

i tried to compile it but it results in 6 errors in vs

Edited by shoro2
Link to comment
Share on other sites

"* Show source tree : Yes (hierarchical)

* Use GIT revision hash : Yes (default)

 

Looking for pthread.h

Looking for pthread.h - not found

Found Threads: TRUE

Boost version: 1.63.0

Found the following Boost libraries:

system

filesystem

thread

program_options

iostreams"

 

i think this causes the problems

Link to comment
Share on other sites

cmake:

 

 

The C compiler identification is MSVC 19.10.25019.0

The CXX compiler identification is MSVC 19.10.25019.0

Check for working C compiler: E:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe

Check for working C compiler: E:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe -- works

Detecting C compiler ABI info

Detecting C compiler ABI info - done

Check for working CXX compiler: E:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe

Check for working CXX compiler: E:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe -- works

Detecting CXX compiler ABI info

Detecting CXX compiler ABI info - done

Detecting CXX compile features

Detecting CXX compile features - done

Detected 64-bit platform

MSVC: 64-bit platform, enforced -D_WIN64 parameter

MSVC: Enabled increased number of sections in object files

MSVC: Overloaded standard names

MSVC: Disabled NON-SECURE warnings

MSVC: Disabled POSIX warnings

MSVC: Disabled generic compiletime warnings

Found MySQL library: C:/Program Files/MySQL/MySQL Server 5.5/lib/libmysql.lib

Found MySQL headers: C:/Program Files/MySQL/MySQL Server 5.5/include

Found MySQL executable: C:/Program Files/MySQL/MySQL Server 5.5/bin/mysql.exe

Found git binary : E:/Program Files (x86)/Git/cmd/git.exe

 

* TrinityCore revision : 8c6952f10347 2017-04-29 19:10:37 +0200 (Blood branch)

 

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

 

* Build world/auth : Yes (default)

* Build with scripts : Yes (static)

* Build Eluna LuaEngine : Yes (default)

* Build map/vmap tools : No (default)

* Build core w/PCH : Yes (default)

* Build scripts w/PCH : Yes (default)

* Show compile-warnings : No (default)

* Use coreside debug : No (default)

* Show source tree : Yes (hierarchical)

* Use GIT revision hash : Yes (default)

 

Looking for pthread.h

Looking for pthread.h - not found

Found Threads: TRUE

"Boost version: 1.63.0

Found the following Boost libraries:

system

filesystem

thread

program_options

iostreams

Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM

Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Success

Looking for open

Looking for open - found

Found OpenSSL library: optimized;E:/OpenSSL-Win64/lib/VC/ssleay32MD.lib;E:/OpenSSL-Win64/lib/VC/libeay32MD.lib;debug;E:/OpenSSL-Win64/lib/VC/ssleay32MDd.lib;E:/OpenSSL-Win64/lib/VC/libeay32MDd.lib

Found OpenSSL headers: E:/OpenSSL-Win64/include

 

* Script configuration (static):
|

+- worldserver

| +- Commands

| +- Custom

| +- EasternKingdoms

| +- Events

| +- Kalimdor

| +- Northrend

| +- OutdoorPvP

| +- Outland

| +- Pet

| +- Spells

| +- World

|

 

Configuring done"

 

Error while compiling;

Schweregrad    Code    Beschreibung    Projekt    Datei    Zeile    Unterdrückungszustand


Fehler    LNK1181    Eingabedatei "..\..\..\dep\g3dlite\RelWithDebInfo\g3dlib.lib" kann nicht geöffnet werden.    authserver    C:\Build\src\server\authserver\LINK    1    

*could not open "..\..\..\dep\g3dlite\RelWithDebInfo\g3dlib.lib"

Edited by shoro2
Link to comment
Share on other sites

Are you sure you are getting an error with this because everything looks great. Does it popup saying you have an error or does everything just turn red and that is why you think there is an error? Everything in cmake looks great now for compiling that is a different story.

Link to comment
Share on other sites

in the cmake text i think the only "issue" is the missing  pthread.. but since i cant compile the generated project there have to be sth wrong, or?

The tutorial says: 

"7. Make sure Tools is checked already.
This will compile the map extractors
needed later in the setup.
(in master branch, this will also
generate connection_patcher.exe) "

But it wasnt checkted after configured

Edited by shoro2
Link to comment
Share on other sites

Error while compiling in visual studio 2017:

 

1:

23>LINK : fatal error LNK1181: Eingabedatei "..\..\..\dep\g3dlite\RelWithDebInfo\g3dlib.lib" kann nicht geöffnet werden.
23>Die Erstellung des Projekts "worldserver.vcxproj" ist abgeschlossen -- FEHLER.
 

 

 

Schweregrad    Code    Beschreibung    Projekt    Datei    Zeile    Unterdrückungszustand


Fehler    LNK1181    Eingabedatei "..\..\..\dep\g3dlite\RelWithDebInfo\g3dlib.lib" kann nicht geöffnet werden.    authserver    C:\Build\src\server\authserver\LINK    1    

*could not open "..\..\..\dep\g3dlite\RelWithDebInfo\g3dlib.lib"

 

 

 

Schweregrad    Code    Beschreibung    Projekt    Datei    Zeile    Unterdrückungszustand
Fehler    LNK1181    Eingabedatei "..\..\..\dep\g3dlite\RelWithDebInfo\g3dlib.lib" kann nicht geöffnet werden.    worldserver    C:\Build\src\server\worldserver\LINK    1    

 

Edited by shoro2
Link to comment
Share on other sites

I have to ask are you compiling in 64 bit mode or 32 bit and if so are you using everything in that bit like your libraries or are you mixing things up in different modes, because when I seen this problem last it was due to mixing up libraries in 64 bit using 32 bit, just wondering.

Link to comment
Share on other sites

5 hours ago, codeman8214 said:

I noticed with 1.64.0 you have to set the paths yourself when it comes to cmake finding them but when I installed boost 1.63.0 it worked just fine cmake was able to see the paths so have you tried installing 1.63.0 of boost.

I don't have that problem with Linux :P

Link to comment
Share on other sites

Hi, Trinity. When i try to set the code in "Cmake" I have the following error:

 

Configuring incomplete, errors occurred!

See also "C:/Users/ivan/Desktop/Server7.2/TrinityCoreBuild/CMakeFiles/CMakeOutput.log".

See also "C:/Users/ivan/Desktop/Server7.2/TrinityCoreBuild/CMakeFiles/CMakeError.log".

 

Then, i read the following message; (i'm not able to understand what i need to do to fix this error).

________________________________________

Determining if the include file pthread.h exists failed with the following output:
Change Dir: C:/Users/ivan/Desktop/Server7.2/TrinityCoreBuild/CMakeFiles/CMakeTmp

Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_3b93f.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0"
Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 27/05/2017 17:19:40.
Project "C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_3b93f.vcxproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "cmTC_3b93f.dir\Debug\".
  Creating directory "C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\Debug\".
  Creating directory "cmTC_3b93f.dir\Debug\cmTC_3b93f.tlog\".
InitializeBuildStatus:
  Creating "cmTC_3b93f.dir\Debug\cmTC_3b93f.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\CL.exe /c /Zi /W1 /WX- /diagnostics:classic /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_3b93f.dir\Debug\\" /Fd"cmTC_3b93f.dir\Debug\vc141.pdb" /Gd /TC /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /errorReport:queue C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\CheckIncludeFile.c
  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.10.25019 para x64
  (C) Microsoft Corporation. Reservados todos los derechos.
 
  CheckIncludeFile.c
  cl /c /Zi /W1 /WX- /diagnostics:classic /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_3b93f.dir\Debug\\" /Fd"cmTC_3b93f.dir\Debug\vc141.pdb" /Gd /TC /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /errorReport:queue C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\CheckIncludeFile.c
 
C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: No se puede abrir el archivo incluir: 'pthread.h': No such file or directory [C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_3b93f.vcxproj]
Done Building Project "C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_3b93f.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_3b93f.vcxproj" (default target) (1) ->
(ClCompile target) ->
  C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: No se puede abrir el archivo incluir: 'pthread.h': No such file or directory [C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_3b93f.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:01.48


Performing C++ SOURCE FILE Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM failed with the following output:
Change Dir: C:/Users/ivan/Desktop/Server7.2/TrinityCoreBuild/CMakeFiles/CMakeTmp

Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_70757.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0"
Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 27/05/2017 17:19:47.
Project "C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_70757.vcxproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "cmTC_70757.dir\Debug\".
  Creating directory "C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\Debug\".
  Creating directory "cmTC_70757.dir\Debug\cmTC_70757.tlog\".
InitializeBuildStatus:
  Creating "cmTC_70757.dir\Debug\cmTC_70757.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\CL.exe /c /IC:\local\boost_1_64_0 /Zi /W1 /WX- /diagnostics:classic /MP /Od /Ob0 /D WIN32 /D _WINDOWS /D boost_filesystem_copy_links_without_NO_SCOPED_ENUM /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_70757.dir\Debug\\" /Fd"cmTC_70757.dir\Debug\vc141.pdb" /Gd /TP /wd4351 /wd4091 /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /errorReport:queue /we4263 /we4264   /bigobj /Zc:throwingNew /Zm500 C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\src.cxx
  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.10.25019 para x64
  (C) Microsoft Corporation. Reservados todos los derechos.
 
  src.cxx
  cl /c /IC:\local\boost_1_64_0 /Zi /W1 /WX- /diagnostics:classic /MP /Od /Ob0 /D WIN32 /D _WINDOWS /D boost_filesystem_copy_links_without_NO_SCOPED_ENUM /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_70757.dir\Debug\\" /Fd"cmTC_70757.dir\Debug\vc141.pdb" /Gd /TP /wd4351 /wd4091 /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /errorReport:queue /we4263 /we4264   /bigobj /Zc:throwingNew /Zm500 C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\src.cxx
 
Link:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\Debug\cmTC_70757.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/ivan/Desktop/Server7.2/TrinityCoreBuild/CMakeFiles/CMakeTmp/Debug/cmTC_70757.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/ivan/Desktop/Server7.2/TrinityCoreBuild/CMakeFiles/CMakeTmp/Debug/cmTC_70757.lib" /MACHINE:X64   /machine:x64 cmTC_70757.dir\Debug\src.obj
LINK : fatal error LNK1104: no se puede abrir el archivo 'libboost_filesystem-vc141-mt-gd-1_64.lib' [C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_70757.vcxproj]
Done Building Project "C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_70757.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_70757.vcxproj" (default target) (1) ->
(Link target) ->
  LINK : fatal error LNK1104: no se puede abrir el archivo 'libboost_filesystem-vc141-mt-gd-1_64.lib' [C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_70757.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:06.22

Source file was:

  #include <boost/filesystem/path.hpp>
  #include <boost/filesystem/operations.hpp>
  int main() { boost::filesystem::copy_file(boost::filesystem::path(), boost::filesystem::path()); }
 

__________________

If it's not enough, i'll paste the progress of Cmake's configure:

______________

The C compiler identification is MSVC 19.10.25019.0

The CXX compiler identification is MSVC 19.10.25019.0

Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe

Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe -- works

Detecting C compiler ABI info

Detecting C compiler ABI info - done

Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe

Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe -- works

Detecting CXX compiler ABI info

Detecting CXX compiler ABI info - done

Detecting CXX compile features

Detecting CXX compile features - done

Detected 64-bit platform

MSVC: 64-bit platform, enforced -D_WIN64 parameter

MSVC: Enabled increased number of sections in object files

MSVC: Overloaded standard names

MSVC: Disabled NON-SECURE warnings

MSVC: Disabled POSIX warnings

MSVC: Disabled generic compiletime warnings

Found MySQL library: C:/Program Files/MySQL/MySQL Server 5.6/lib/libmysql.lib

Found MySQL headers: C:/Program Files/MySQL/MySQL Server 5.6/include

Found MySQL executable: C:/Program Files/MySQL/MySQL Server 5.6/bin/mysql.exe

Found git binary : C:/Program Files (x86)/Git/cmd/git.exe

 

Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t

Continuing anyway - note that the versionstring will be set to "unknown 1970-01-01 00:00:00 (Archived)"

 

* TrinityCore revision : unknown 1970-01-01 00:00:00 +0000 (Archived branch)

 

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

 

* Build world/auth : Yes (default)

* Build with scripts : Yes (static)

* Build map/vmap tools : Yes (default)

* Build core w/PCH : Yes (default)

* Build scripts w/PCH : Yes (default)

* Show compile-warnings : No (default)

* Use coreside debug : No (default)

* Show source tree : Yes (hierarchical)

* Use GIT revision hash : Yes (default)

 

Looking for pthread.h

Looking for pthread.h - not found

Found Threads: TRUE

Performing Test STD_HAS_WORKING_WREGEX

Performing Test STD_HAS_WORKING_WREGEX - Success

CMake Error at cmake/macros/FindBoost.cmake:1193 (message):
Unable to find the requested Boost libraries.

Boost version: 1.64.0

Boost include path: C:/local/boost_1_64_0

Could not find the following static Boost libraries:

boost_system
boost_filesystem
boost_thread
boost_program_options
boost_iostreams

No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost. If you still have problems search on forum for TCE00020.
Call Stack (most recent call first):
dep/boost/CMakeLists.txt:37 (find_package)

 

Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM

Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Failed

Looking for open

Looking for open - found

Found OpenSSL library: optimized;C:/OpenSSL-Win64/lib/VC/ssleay32MD.lib;C:/OpenSSL-Win64/lib/VC/libeay32MD.lib;debug;C:/OpenSSL-Win64/lib/VC/ssleay32MDd.lib;C:/OpenSSL-Win64/lib/VC/libeay32MDd.lib

Found OpenSSL headers: C:/OpenSSL-Win64/include

 

* Script configuration (static):
|

+- worldserver

| +- Commands

| +- Custom

| +- EasternKingdoms

| +- Events

| +- Kalimdor

| +- Maelstrom

| +- Northrend

| +- OutdoorPvP

| +- Outland

| +- Pet

| +- Spells

| +- World

|

 

Configuring incomplete, errors occurred!

See also "C:/Users/ivan/Desktop/Server7.2/TrinityCoreBuild/CMakeFiles/CMakeOutput.log".

See also "C:/Users/ivan/Desktop/Server7.2/TrinityCoreBuild/CMakeFiles/CMakeError.log".

 

__________________________________________

 

Link to comment
Share on other sites

I can't seem to get this to compile in Visual Studio 2017 64-bit, I just get a wall of errors. I've Googled the error codes that I've encountered and scoured the installation guide a multitude of times to check if I've missed anything and I can't find any answers. I'll get error codes LNK2019, LNK2001, and LNK1112.

Here's an example of the error log:
AcZqGaL.jpg

Edit: Here's a direct link to the image since this forum page doesn't seem to be loading it correctly.

Any help?

Edited by Aimela
Link to comment
Share on other sites

11 hours ago, Aimela said:

 

I can't seem to get this to compile in Visual Studio 2017 64-bit, I just get a wall of errors. I've Googled the error codes that I've encountered and scoured the installation guide a multitude of times to check if I've missed anything and I can't find any answers. I'll get error codes LNK2019, LNK2001, and LNK1112.

 

It's giving an error linking to the version of boost that you are using.

Unresolved Symbol Error: "Boost".  In other words it's saying "I can't find what I'm looking for"

Link to comment
Share on other sites

21 minutes ago, CDawg said:

Unresolved external symbol: Class:Boost

It has a problem finding Boost or the current version you are using.

Alright, after looking around a bit more, it seems that Boost automatically builds 32-bit libraries by default(I.E. by launching b2.exe via Windows Explorer). I had to use the command prompt, changed the current working directory to the Boost directory(I.E. C:\local\boost_1_64_0) and executed "b2.exe --toolset=msvc address-model=64 --build-type=complete". I was then able to compile without any errors.

Perhaps this is something that could be included in the installation instructions for TrinityCore?

Link to comment
Share on other sites

30 minutes ago, Aimela said:

Alright, after looking around a bit more, it seems that Boost automatically builds 32-bit libraries by default(I.E. by launching b2.exe via Windows Explorer). I had to use the command prompt, changed the current working directory to the Boost directory(I.E. C:\local\boost_1_64_0) and executed "b2.exe --toolset=msvc address-model=64 --build-type=complete". I was then able to compile without any errors.

Perhaps this is something that could be included in the installation instructions for TrinityCore?

Wiki gives links to both 32 and 64 bits versions.

Link to comment
Share on other sites

You can tell it is compiled on windows because you said you had to specified it to do it, if you were doing it for Linux it does not need to be specified to the path it does it automatically. Still strange even for windows that you had to specified I did not have to it did it for me.  Are you sure you installed the correct ones in the right paths without changing anything

  • Upvote 1
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...