Aokromes Posted February 13, 2017 Report Share Posted February 13, 2017 1 hour ago, Dukla said: It is all there in my post ... even parameters ... No, it's not. cmake ../ -- Detected 64-bit platform -- UNIX: Using default configuration directory -- UNIX: Using default library directory -- UNIX: Configuring uninstall target -- UNIX: Created uninstall target -- UNIX: Detected compiler: /usr/bin/clang-3.8 -- Clang: All warnings enabled -- Using mysql-config: /usr/bin/mysql_config -- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so -- Found MySQL headers: /usr/include/mysql -- Found MySQL executable: /usr/bin/mysql -- Found git binary : /usr/bin/git * TrinityCore revision : 4536846d7d30+ 2017-02-12 05:43:55 -0300 (3.3.5 branch) * TrinityCore buildtype : None * Install core to : /home/bin/trinity335a * Install libraries to : /home/bin/trinity335a/lib * Install configs to : /home/bin/trinity335a/etc * Build world/auth : Yes (default) * Build with scripts : Yes (static) * Build map/vmap tools : No (default) * Build core w/PCH : Yes (default) * Build scripts w/PCH : Yes (default) * Show all warnings : Yes * Use coreside debug : No (default) * Show source tree : Yes (hierarchical) * Use GIT revision hash : Yes (default) -- Boost version: 1.55.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- program_options -- iostreams -- regex -- Found OpenSSL library: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so -- Found OpenSSL headers: /usr/include -- Found Readline library: /usr/lib/x86_64-linux-gnu/libreadline.so -- Include dir is: /usr/include * Script configuration (static): | +- worldserver | +- Northrend | +- Events | +- OutdoorPvP | +- Commands | +- Kalimdor | +- Outland | +- Pet | +- Custom | +- World | +- Spells | +- EasternKingdoms | -- Configuring done -- Generating done -- Build files have been written to: /home/src/produccion/bin Link to comment Share on other sites More sharing options...
stevedev Posted February 16, 2017 Report Share Posted February 16, 2017 I get this on the last tool compile for vmap4extractor: [ 98%] Linking CXX executable vmap4extractor CMakeFiles/vmap4extractor.dir/vmapexport.cpp.o: In function `ExtractSingleWmo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)': vmapexport.cpp:(.text+0x4c6): undefined reference to `WMORoot::WMORoot(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)' vmapexport.cpp:(.text+0x553): undefined reference to `WMOGroup::WMOGroup(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' CMakeFiles/vmap4extractor.dir/gameobject_extract.cpp.o: In function `ExtractGameobjectModels()': gameobject_extract.cpp:(.text+0x311): undefined reference to `DBCFile::DBCFile(std::string const&)' gameobject_extract.cpp:(.text+0x4f6): undefined reference to `ExtractSingleWmo(std::string&)' collect2: error: ld returned 1 exit status src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/build.make:279: recipe for target 'src/tools/vmap4_extractor/vmap4extractor' failed make[2]: *** [src/tools/vmap4_extractor/vmap4extractor] Error 1 CMakeFiles/Makefile2:2005: recipe for target 'src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/all' failed make[1]: *** [src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 My apologies if I missed notice about this one. On 3.3.5a branch. Ubuntu 16.04, cmake 3.5.2 Link to comment Share on other sites More sharing options...
mahdishahidi Posted March 2, 2017 Report Share Posted March 2, 2017 Well, let's say I've downloaded the TC with GIT and made the C++ project with Cmake successfully. Now I can easily compile it on 64 bit mode without of problems, but I'm getting some problems when I'm trying to compile it on 32 bit mode. Note: All my tools including Cmake, Boost, etc are 64 Bit. http://imgur.com/VwAfG5x Link to comment Share on other sites More sharing options...
CDawg Posted March 2, 2017 Report Share Posted March 2, 2017 Assuming you made no changes.. You need to completely "clean" the build, before recompiling the entire project. Link to comment Share on other sites More sharing options...
mahdishahidi Posted March 2, 2017 Report Share Posted March 2, 2017 1 hour ago, CDawg said: Assuming you made no changes.. You need to completely "clean" the build, before recompiling the entire project. No changes at all, and that's exactly what I did. Link to comment Share on other sites More sharing options...
CDawg Posted March 3, 2017 Report Share Posted March 3, 2017 I would have to see your cmake, that carves the path with what your compile options will be. Link to comment Share on other sites More sharing options...
Azzeroth Posted March 3, 2017 Report Share Posted March 3, 2017 (edited) hy all. I have a problem with build, i get an error in bnet and World: Severity Code Description Project File Line Suppression State Error LNK1181 cannot open input file 'C:\mysql-5.7.17-winx64\lib.obj' bnetserver D:\Servers\WoW\LEGION\bin\src\server\bnetserver\LINK 1 Using master branch Visual Studio 2015 Comm mysql 5.7.17 64bit yes, i know, the lib.obj file is missing from mysql dir, where can i get this? _________________________________________________________________ I SOLVED THIS PROBLEM Edited March 6, 2017 by Azzeroth solved Link to comment Share on other sites More sharing options...
CDawg Posted March 6, 2017 Report Share Posted March 6, 2017 On 3/3/2017 at 0:31 PM, Azzeroth said: I SOLVED THIS PROBLEM What did you do? Other members may want to see your solution or common mistake made. Link to comment Share on other sites More sharing options...
Azzeroth Posted March 6, 2017 Report Share Posted March 6, 2017 3 hours ago, CDawg said: What did you do? Other members may want to see your solution or common mistake made. Wrong mysql_lib path in cmake configure, i used libmysql.dll not .obj file And i have a new problem Link to comment Share on other sites More sharing options...
sxegg Posted March 9, 2017 Report Share Posted March 9, 2017 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 * TrinityCore revision : 6067d19dfc43 2017-03-08 19:22:48 +0100 (master branch) * Install core to : C:/Program Files/TrinityCore * Build world/auth : Yes (default) * Build with scripts : Yes (static) * Build map/vmap tools : Yes * 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) Boost version: 1.60.0 Found the following Boost libraries: system filesystem thread program_options iostreams 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 CMake Error at cmake/macros/FindOpenSSL.cmake:191 (file): file STRINGS file "C:/OpenSSL-Win64/openssl/opensslv.h" cannot be read. Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:203 (list): list GET given empty list Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:204 (list): list GET given empty list Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:205 (list): list GET given empty list Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:206 (list): list GET given empty list Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:213 (math): math cannot parse the expression: " + 96": syntax error, unexpected exp_PLUS, expecting exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:217 (string): string Character with code does not exist. Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) CMake Error at cmake/macros/EnsureVersion.cmake:76 (MATH): math cannot parse the expression: "..*10000 + ..*100 + 0": syntax error, unexpected exp_TIMES, expecting exp_OPENPARENT or exp_NUMBER (3) Call Stack (most recent call first): cmake/macros/EnsureVersion.cmake:111 (NORMALIZE_VERSION) cmake/macros/FindOpenSSL.cmake:224 (ENSURE_VERSION_RANGE) dep/openssl/CMakeLists.txt:16 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:226 (message): TrinityCore needs OpenSSL version 1.0 but found version .. Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) Configuring incomplete, errors occurred! See also "C:/Build/CMakeFiles/CMakeOutput.log". See also "C:/Build/CMakeFiles/CMakeError.log". ________________________________________________ CMake version: 3.7.2 OpenSSL version: 1.0.2k win 64 I already searched in the common problems but i didn't find a solution... I'm trying to generate from "master" branch Link to comment Share on other sites More sharing options...
sxegg Posted March 9, 2017 Report Share Posted March 9, 2017 Note #2: While installing OpenSSL, choose The OpenSSL binaries (/bin) directory (NOT "The Windows system directory") I reinstalled OpenSSL 1.0.2k with this option and installed OpenSSL 1.0.2k 32 bits too. Still get this error: _____________________________________________________________________ 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 * TrinityCore revision : 6067d19dfc43 2017-03-08 19:22:48 +0100 (master branch) * Install core to : C:/Program Files/TrinityCore * Build world/auth : Yes (default) * Build with scripts : Yes (static) * Build map/vmap tools : Yes * 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) Boost version: 1.60.0 Found the following Boost libraries: system filesystem thread program_options iostreams 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 CMake Error at cmake/macros/FindOpenSSL.cmake:191 (file): file STRINGS file "C:/OpenSSL-Win64/openssl/opensslv.h" cannot be read. Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:203 (list): list GET given empty list Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:204 (list): list GET given empty list Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:205 (list): list GET given empty list Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:206 (list): list GET given empty list Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:213 (math): math cannot parse the expression: " + 96": syntax error, unexpected exp_PLUS, expecting exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:217 (string): string Character with code does not exist. Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) CMake Error at cmake/macros/EnsureVersion.cmake:76 (MATH): math cannot parse the expression: "..*10000 + ..*100 + 0": syntax error, unexpected exp_TIMES, expecting exp_OPENPARENT or exp_NUMBER (3) Call Stack (most recent call first): cmake/macros/EnsureVersion.cmake:111 (NORMALIZE_VERSION) cmake/macros/FindOpenSSL.cmake:224 (ENSURE_VERSION_RANGE) dep/openssl/CMakeLists.txt:16 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:226 (message): TrinityCore needs OpenSSL version 1.0 but found version .. Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) Configuring incomplete, errors occurred! See also "C:/Build/CMakeFiles/CMakeOutput.log". See also "C:/Build/CMakeFiles/CMakeError.log". Link to comment Share on other sites More sharing options...
Ceriana Posted March 9, 2017 Report Share Posted March 9, 2017 11 hours ago, sxegg said: .. Same problem here, installed 1.0.2k 64 bit. Link to comment Share on other sites More sharing options...
Aokromes Posted March 9, 2017 Report Share Posted March 9, 2017 Be sure you don't have installed light version. Link to comment Share on other sites More sharing options...
Ceriana Posted March 9, 2017 Report Share Posted March 9, 2017 (edited) EDIT: Oh lord, I fked up. When downloading TC with the Github-Client, i didn't merge the two master-branches. I guess I had something from a previous installation on my disc. Obviously, it works now. Sorry for this. _____ I am sure, I downloaded both the latest (not light) versions of OpenSSL 1.0.2k 64/32bit, as stated on the tutorial, and I set the option to put the binaries not in the windows folder. sxegg's cmake-log says " TrinityCore needs OpenSSL version 1.0 but found version .. ", but mine says "TrinityCore needs OpenSSL version 1.0.0 but found version ..". Maybe a recent update broke something? Do you know where to find older precompiled Windows binaries? I tried, but I only found the sources.. Also, I had an older version of OpenSSL installed, used by a compilation some months ago. Is it possible that the version number is saved in the registry or something, and cmake compares this one, and not the one actually installed? Edited March 9, 2017 by Ceriana Link to comment Share on other sites More sharing options...
CDawg Posted March 9, 2017 Report Share Posted March 9, 2017 2 hours ago, Ceriana said: Obviously, it works now. Sorry for this. Glad you got it fired up and let us know Link to comment Share on other sites More sharing options...
Lif3st3al3r Posted March 17, 2017 Report Share Posted March 17, 2017 Kali Linux x64 Compile Error: http://imgur.com/a/cuVGD Link to comment Share on other sites More sharing options...
Shauren Posted March 17, 2017 Report Share Posted March 17, 2017 58 minutes ago, Lif3st3al3r said: Kali Linux x64 Compile Error: http://imgur.com/a/cuVGD report libssl-dev version (the package used for compile), not openssl version (binary openssl tools) your error message indicates that libssl-dev version is 1.1.0 Link to comment Share on other sites More sharing options...
hessor Posted March 24, 2017 Report Share Posted March 24, 2017 Hi there i want to compile a 3.3.5a trinitycore and i instaled everithing All visual studios versioan and i kee get thes erorr he 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. Configuring incomplete, errors occurred! See also "C:/build/CMakeFiles/CMakeOutput.log". See also "C:/build/CMakeFiles/CMakeError.log". Please Help me guys i m new on thes and i tried everithing if someone can help me Please Link to comment Share on other sites More sharing options...
Rochet2 Posted March 24, 2017 Report Share Posted March 24, 2017 27 minutes ago, hessor said: Hi there i want to compile a 3.3.5a trinitycore and i instaled everithing All visual studios versioan and i kee get thes erorr he 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. Configuring incomplete, errors occurred! See also "C:/build/CMakeFiles/CMakeOutput.log". See also "C:/build/CMakeFiles/CMakeError.log". Please Help me guys i m new on thes and i tried everithing if someone can help me Please Follow the TC requirements page guide on how to install visual studio. Link to comment Share on other sites More sharing options...
Billy Posted March 25, 2017 Report Share Posted March 25, 2017 Hello all, after going through the core set up for Win, I noticed the wikki says I should have bnetserver.pdb and worldserver.pdb files in my build folder. I do not have those two files. I compiled using VS 2017. I also noticed that it says I need those two files for the 3.3.5 server as well, but I have never seen those 2 files in my 3.3.5 build folder before. Are those 2 files for OS's other than Winblows or did I miss something? I am currently trying to get the master branch up and running. Link to comment Share on other sites More sharing options...
Aokromes Posted March 25, 2017 Report Share Posted March 25, 2017 if you compile on release mode you don't have those files. 1 Link to comment Share on other sites More sharing options...
Billy Posted March 25, 2017 Report Share Posted March 25, 2017 1 minute ago, Aokromes said: if you compile on release mode you don't have those files. Thanks. Link to comment Share on other sites More sharing options...
Thalles Posted March 27, 2017 Report Share Posted March 27, 2017 CMake Error: The source directory "C:/Users/THALLES-WLLC/Desktop/TrinityCore" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. Link to comment Share on other sites More sharing options...
Dormammu Posted March 28, 2017 Report Share Posted March 28, 2017 Newest issue popped up on my 335 machine. Trying to get latest git revision but Git Extensions threw this at me. Linux tools (sh) not found. Should I be concerned? Will that screw up any building in VS after pulling latest? Thanks. Link to comment Share on other sites More sharing options...
Dormammu Posted March 28, 2017 Report Share Posted March 28, 2017 For the record - I used everything perfectly 3 or 4 times before this popped up out of the blue. Obviously SOMETHING changed, but whereabouts/How do I go about fixing it? Link to comment Share on other sites More sharing options...
Recommended Posts