Great Name No Game Posted January 13, 2017 Report Share Posted January 13, 2017 Thanks @Nay. Previous attempts to locate said issue through 98 pages yielded no fruit. Appreciate your input. Link to comment Share on other sites More sharing options...
hcpriest Posted January 23, 2017 Report Share Posted January 23, 2017 (edited) On 13.01.2017 at 9:31 AM, Great Name No Game said: Boost Directory, not found. Any clues or advice? What am I doing wrong? I have this error 2. and when try build solution have many error with link boost error Edited January 23, 2017 by hcpriest Link to comment Share on other sites More sharing options...
Nikita Posted January 28, 2017 Report Share Posted January 28, 2017 When installing on a Fresh OS Ubuntu 16.04, every prereq installed, that is in guide. I am running into a small problem. The server compiles fine, but when getting to the tools I get this error: make: *** [all] Error 2 [ 3%] Built target g3dlib [ 3%] Built target Detour [ 4%] Built target Recast [ 5%] Built target fmt [ 7%] Built target jemalloc [ 7%] Built target gsoap [ 9%] Built target protobuf [ 11%] Built target casc [ 11%] Built target revision_data.h [ 11%] Built target commonPCH.cpp_dephelp [ 11%] Built target generate_commonPCH.cpp [ 15%] Built target common [ 15%] Built target databasePCH.cpp_dephelp [ 15%] Built target generate_databasePCH.cpp [ 17%] Built target database [ 18%] Built target protoPCH.cpp_dephelp [ 19%] Built target generate_protoPCH.cpp [ 21%] Built target proto [ 21%] Built target sharedPCH.cpp_dephelp [ 21%] Built target generate_sharedPCH.cpp [ 22%] Built target shared [ 22%] Built target bnetPCH.cpp_dephelp [ 22%] Built target generate_bnetPCH.cpp [ 23%] Built target bnetserver [ 23%] Built target gamePCH.cpp_dephelp [ 23%] Built target generate_gamePCH.cpp [ 46%] Built target game [ 46%] Built target ScriptPCH.cpp_dephelp [ 46%] Built target generate_ScriptPCH.cpp [ 97%] Built target scripts [ 97%] Built target worldPCH.cpp_dephelp [ 97%] Built target generate_worldPCH.cpp [ 98%] Built target worldserver [ 98%] Built target connection_patcher [ 98%] Built target extractor_common [ 98%] Linking CXX executable mapextractor ../../../dep/CascLib/libcasc.a(CascDecompress.cpp.o): In function `CascDecompress(unsigned char*, unsigned int*, unsigned char*, unsigned int)': CascDecompress.cpp:(.text+0x5f): undefined reference to `inflateInit_' CascDecompress.cpp:(.text+0x96): undefined reference to `inflate' CascDecompress.cpp:(.text+0xa0): undefined reference to `inflateEnd' collect2: error: ld returned 1 exit status src/tools/map_extractor/CMakeFiles/mapextractor.dir/build.make:161: recipe for target 'src/tools/map_extractor/mapextractor' failed make[2]: *** [src/tools/map_extractor/mapextractor] Error 1 CMakeFiles/Makefile2:2241: recipe for target 'src/tools/map_extractor/CMakeFiles/mapextractor.dir/all' failed make[1]: *** [src/tools/map_extractor/CMakeFiles/mapextractor.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 I thought at first it was me, so i reinstalled Ubuntu, and installed everything the guide said to do, but getting to this phase exactly this phase, it throws a error, I tried removing the tools, and compile right, but need the tools to extract DBC and Map files. Link to comment Share on other sites More sharing options...
CDawg Posted January 28, 2017 Report Share Posted January 28, 2017 Which revision? Have you compiled an earlier revision successfully, or this your first time? Link to comment Share on other sites More sharing options...
Nikita Posted January 28, 2017 Report Share Posted January 28, 2017 Usually I compile this on Windows and have no issues, but as my new box is Ubuntu (A: I have no choice windows isnt allowed on it, B: Linux is supposed to be more stable), didnt try a earlier rev, as I am currently wanting to support the Master Branch. Link to comment Share on other sites More sharing options...
Aokromes Posted January 28, 2017 Report Share Posted January 28, 2017 2 hours ago, Nikita said: Usually I compile this on Windows and have no issues, but as my new box is Ubuntu (A: I have no choice windows isnt allowed on it, B: Linux is supposed to be more stable), didnt try a earlier rev, as I am currently wanting to support the Master Branch. Try updating your source, a bug on extractors was fixed early today. Link to comment Share on other sites More sharing options...
Nikita Posted January 28, 2017 Report Share Posted January 28, 2017 Just Tried, same error. Link to comment Share on other sites More sharing options...
Speedz Posted February 4, 2017 Report Share Posted February 4, 2017 I also get this exact compile issue. I tried originally on Ubuntu 14.04, then 16.04, and now 16.10 all 64bit. All compile fine on the 3.3.5a branch, but all end up with this issue on main. I am gathering through what little I could find on the issue is zlib is not linking correctly or something of that nature? Cmake is not my strongest suit, so it isn't something I went into any indepth research on. Link to comment Share on other sites More sharing options...
Ibeatdungeon Posted February 6, 2017 Report Share Posted February 6, 2017 On 2/4/2017 at 2:02 PM, Speedz said: I also get this exact compile issue. I tried originally on Ubuntu 14.04, then 16.04, and now 16.10 all 64bit. All compile fine on the 3.3.5a branch, but all end up with this issue on main. I am gathering through what little I could find on the issue is zlib is not linking correctly or something of that nature? Cmake is not my strongest suit, so it isn't something I went into any indepth research on. Same issue, Ub1604, I have no other apt sources, 3.3.5 recompiles after pull just fine and works great, master TOOLS do not not compile. If I omit tools compiles fine. I did two quick dynamic / static clones for these messages. I have included some package information. Cheers$ cmake ../ -DCMAKE_INSTALL_PREFIX="$HOME/tc" -DWITH_WARNINGS=1 -DTOOLS=1 -DSCRIPTS="dynamic" -DWITH_WARNINGS=0 && make [ 98%] Linking CXX executable mapextractor ../../../dep/CascLib/libcasc.a(CascDecompress.cpp.o): In function `CascDecompress(unsigned char*, unsigned int*, unsigned char*, unsigned int)': CascDecompress.cpp:(.text+0x5f): undefined reference to `inflateInit_' CascDecompress.cpp:(.text+0x96): undefined reference to `inflate' CascDecompress.cpp:(.text+0xa0): undefined reference to `inflateEnd' collect2: error: ld returned 1 exit status src/tools/map_extractor/CMakeFiles/mapextractor.dir/build.make:161: recipe for target 'src/tools/map_extractor/mapextractor' failed make[2]: *** [src/tools/map_extractor/mapextractor] Error 1 CMakeFiles/Makefile2:2241: recipe for target 'src/tools/map_extractor/CMakeFiles/mapextractor.dir/all' failed make[1]: *** [src/tools/map_extractor/CMakeFiles/mapextractor.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 $ cmake ../ -DCMAKE_INSTALL_PREFIX="$HOME/tc" -DWITH_WARNINGS=1 -DTOOLS=1 -DSCRIPTS="dynamic" -DWITH_WARNINGS=0 && make [ 19%] Linking CXX executable mapextractor /usr/bin/ld: ../../../dep/CascLib/libcasc.a(CascDecompress.cpp.o): undefined reference to symbol 'inflate' /usr/lib/x86_64-linux-gnu/libz.so: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status src/tools/map_extractor/CMakeFiles/mapextractor.dir/build.make:161: recipe for target 'src/tools/map_extractor/mapextractor' failed make[2]: *** [src/tools/map_extractor/mapextractor] Error 1 CMakeFiles/Makefile2:2891: recipe for target 'src/tools/map_extractor/CMakeFiles/mapextractor.dir/all' failed make[1]: *** [src/tools/map_extractor/CMakeFiles/mapextractor.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 $ sudo apt-get install git cmake make gcc g++ libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev mysql-server p7zip libz-dev [sudo] password for wow: Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'libncurses5-dev' instead of 'libncurses-dev' Note, selecting 'zlib1g-dev' instead of 'libz-dev' g++ is already the newest version (4:5.3.1-1ubuntu1). gcc is already the newest version (4:5.3.1-1ubuntu1). git is already the newest version (1:2.7.4-0ubuntu1). libbz2-dev is already the newest version (1.0.6-8). libncurses5-dev is already the newest version (6.0+20160213-1ubuntu1). libreadline-dev is already the newest version (6.3-8ubuntu2). make is already the newest version (4.1-6). zlib1g-dev is already the newest version (1:1.2.8.dfsg-2ubuntu4). libboost-all-dev is already the newest version (1.58.0.1ubuntu1). p7zip is already the newest version (9.20.1~dfsg.1-4.2). cmake is already the newest version (3.5.1-1ubuntu3). libmysqlclient-dev is already the newest version (5.7.17-0ubuntu0.16.04.1). libssl-dev is already the newest version (1.0.2g-1ubuntu4.6). mysql-server is already the newest version (5.7.17-0ubuntu0.16.04.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. $ apt show zlib1g-dev Package: zlib1g-dev Version: 1:1.2.8.dfsg-2ubuntu4 Priority: optional Section: libdevel Source: zlib Origin: Ubuntu Maintainer: Ubuntu Developers <[email protected]> Original-Maintainer: Mark Brown <[email protected]> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 426 kB Provides: libz-dev Depends: zlib1g (= 1:1.2.8.dfsg-2ubuntu4), libc6-dev | libc-dev Conflicts: zlib1-dev Homepage: http://zlib.net/ Task: ubuntu-sdk-libs-dev Supported: 5y Download-Size: 168 kB APT-Manual-Installed: yes APT-Sources: http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages Description: compression library - development zlib is a library implementing the deflate compression method found in gzip and PKZIP. This package includes the development support files. Link to comment Share on other sites More sharing options...
tacocore Posted February 7, 2017 Report Share Posted February 7, 2017 (edited) CMake Error at cmake/macros/FindOpenSSL.cmake:226 (message): TrinityCore needs OpenSSL version 1.0 but found too new version ... Any version different to 1.0.x breaks TrinityCore compatibility (and we cannot fix this). Please install OpenSSL 1.0.x Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) I'm using Windows. Current OpenSSL version installed is 1.1.0d. I'm not able to find a compatible version. Any ideas? Edited February 7, 2017 by tacocore Link to comment Share on other sites More sharing options...
Aokromes Posted February 7, 2017 Report Share Posted February 7, 2017 https://trinitycore.atlassian.net/wiki/display/tc/Windows+Requirements Link to comment Share on other sites More sharing options...
treeston Posted February 7, 2017 Report Share Posted February 7, 2017 37 minutes ago, tacocore said: Any version different to 1.0.x breaks TrinityCore compatibility (and we cannot fix this). Please install OpenSSL 1.0.x Current OpenSSL version installed is 1.1.0d. Is 1.1.0d a "1.0.x version"? 1 Link to comment Share on other sites More sharing options...
tacocore Posted February 7, 2017 Report Share Posted February 7, 2017 No. I tried looking for a older version in the original website but here's what I found: Stop asking me for versions of OpenSSL that have security vulnerabilities in them! That would be any version of OpenSSL prior to the absolute latest build. This is a security product and yet people regularly ask me for a version with security vulnerabilities in it! Oh the irony. Please punch yourself in the face to knock some common sense into yourself. Thank you. Link to comment Share on other sites More sharing options...
Aokromes Posted February 7, 2017 Report Share Posted February 7, 2017 7 minutes ago, tacocore said: No. I tried looking for a older version in the original website but here's what I found: Stop asking me for versions of OpenSSL that have security vulnerabilities in them! That would be any version of OpenSSL prior to the absolute latest build. This is a security product and yet people regularly ask me for a version with security vulnerabilities in it! Oh the irony. Please punch yourself in the face to knock some common sense into yourself. Thank you. you missed this: Any version different to 1.0.x breaks TrinityCore compatibility (and we cannot fix this). Please install OpenSSL 1.0.x , if you want to use openssl 1.1 go write your own client. 1 Link to comment Share on other sites More sharing options...
tacocore Posted February 7, 2017 Report Share Posted February 7, 2017 No, I didn't... what I want is a link for a older version. I'm unable to find one. Link to comment Share on other sites More sharing options...
Aokromes Posted February 7, 2017 Report Share Posted February 7, 2017 http://slproweb.com/products/Win32OpenSSL.html there, linked on wiki. Link to comment Share on other sites More sharing options...
Bhalandros Posted February 7, 2017 Report Share Posted February 7, 2017 Hello. I am not new to Trinity Core, but yes to compiling, I've normally used already done repacks and the like, and the closest I've gotten to compiling a repack myself is a friend of mine doing it for me. It's not that errors pop out or anything. It's not any of that. It's just the fact that I can't even install the first program required in the guide. Nothing. Not a clue. Can't even find tutorials to install it, all guides do things I don't understand or I don't have. If someone would be oh so kind to help me along the whole way, I wouldn't even know how to repay it. I've been trying for a couple of months now and I'm just fed up. Thanks in advance to everyone. Link to comment Share on other sites More sharing options...
Aokromes Posted February 7, 2017 Report Share Posted February 7, 2017 you can't read and click next? 1 Link to comment Share on other sites More sharing options...
Bokrom Posted February 7, 2017 Report Share Posted February 7, 2017 Why can't you install the first program? Are you getting some sort of error? You're not giving us much to work with. Link to comment Share on other sites More sharing options...
Bhalandros Posted February 7, 2017 Report Share Posted February 7, 2017 What do I run now? Is this all I need for that program (Boost 1.60)? Can I just move on to the next? I can't seem to find anything that looks like an executable other than the batch file, which just closes itself when I open it. Link to comment Share on other sites More sharing options...
Exp Posted February 7, 2017 Report Share Posted February 7, 2017 Boost is a set of libraries required to compile the Trinitycore project, its a dependency, nothing needs to be run once you have it - the libraries are portable by nature, they come precompiled and just "exist", nothing to run. Provided you have the correct files (you do) in the location specified in the guide (can't tell from your screenshot), and have set the BOOST_ROOT environment variable as shown in the guide, you can safely move on without issue - there are instructions in the Trinitycore source that will automatically tell CMake where to look for, and what to do with, the boost files once you get to that step in the installation - you don't need to worry about them so long as they exist on your system and you have followed the guide. At this point (the requirements step), all you need to do is follow the steps and make sure you have each of the programs and files on your computer - you don't need to worry about doing anything with the files or programs once they're properly installed, just make sure you have them - later on in the guide you'll be told what to do with them. 1 Link to comment Share on other sites More sharing options...
Bhalandros Posted February 7, 2017 Report Share Posted February 7, 2017 Well, thank you very much then, I'll see what I'm able to do. Link to comment Share on other sites More sharing options...
Rochet2 Posted February 7, 2017 Report Share Posted February 7, 2017 Btw. you may have downloaded "wrong" boost. Im saying this because you are missing the lib* folder in the image. You probably want the precompiled version instead of the plain source code. Otherwise you would need to compile boost before compiling TC. Link to comment Share on other sites More sharing options...
Bhalandros Posted February 7, 2017 Report Share Posted February 7, 2017 This is the first one that I found when I googled the exact requirement stated on the guide ( Boost 1.60). Should I download another one, and if so, which one? Link to comment Share on other sites More sharing options...
Rochet2 Posted February 7, 2017 Report Share Posted February 7, 2017 2 minutes ago, Bhalandros said: This is the first one that I found when I googled the exact requirement stated on the guide ( Boost 1.60). Should I download another one, and if so, which one? The TC requirements page has right links. Link to comment Share on other sites More sharing options...
Recommended Posts