Nay Posted September 1, 2015 Report Share Posted September 1, 2015 I have no idea why might this happen nor have I ever see this error before.My only suggestion is to start from scratch, delete the build dir and re-clone the repo. Link to comment Share on other sites More sharing options...
holyoneoflight Posted September 6, 2015 Report Share Posted September 6, 2015 hello ive installed ZeroMQ 4.0.4 but i get these errors Error 1 error C1083: Cannot open include file: 'zmq.h': No such file or directory (C:\Users\Scape\Documents\Sources\TrinityCore-6.x\dep\zmqpp\zmqpp\context.cpp) c:\users\scape\documents\sources\trinitycore-6.x\dep\zmqpp\zmqpp\context.hpp 13 1 zmqppError 2 error C1083: Cannot open include file: 'zmq.h': No such file or directory (C:\Users\Scape\Documents\Sources\TrinityCore-6.x\dep\zmqpp\zmqpp\frame.cpp) c:\users\scape\documents\sources\trinitycore-6.x\dep\zmqpp\zmqpp\exception.hpp 14 1 zmqppError 3 error C1083: Cannot open include file: 'zmq.h': No such file or directory (C:\Users\Scape\Documents\Sources\TrinityCore-6.x\dep\zmqpp\zmqpp\poller.cpp) c:\users\scape\documents\sources\trinitycore-6.x\dep\zmqpp\zmqpp\exception.hpp 14 1 zmqppError 4 error C1083: Cannot open include file: 'zmq.h': No such file or directory (C:\Users\Scape\Documents\Sources\TrinityCore-6.x\dep\zmqpp\zmqpp\message.cpp) c:\users\scape\documents\sources\trinitycore-6.x\dep\zmqpp\zmqpp\exception.hpp 14 1 zmqppError 5 error C1083: Cannot open include file: 'zmq.h': No such file or directory (C:\Users\Scape\Documents\Sources\TrinityCore-6.x\dep\zmqpp\zmqpp\zmqpp.cpp) c:\users\scape\documents\sources\trinitycore-6.x\dep\zmqpp\zmqpp\zmqpp.hpp 51 1 zmqppError 6 error C1083: Cannot open include file: 'zmq.h': No such file or directory (C:\Users\Scape\Documents\Sources\TrinityCore-6.x\dep\zmqpp\zmqpp\socket.cpp) c:\users\scape\documents\sources\trinitycore-6.x\dep\zmqpp\zmqpp\context.hpp 13 1 zmqppError 7 error C1083: Cannot open include file: 'zmq.h': No such file or directory (C:\Users\Scape\Documents\Sources\TrinityCore-6.x\src\server\game\Handlers\CharacterHandler.cpp) c:\users\scape\documents\sources\trinitycore-6.x\dep\zmqpp\zmqpp\compatibility.hpp 24 1 gameError 8 error C1083: Cannot open include file: 'zmq.h': No such file or directory (C:\Users\Scape\Documents\Sources\TrinityCore-6.x\src\server\game\Server\BattlenetServerManager.cpp) C:\Users\Scape\Documents\Sources\TrinityCore-6.x\dep\zmqpp\zmqpp\zmqpp.hpp 51 1 gameError 9 error C1083: Cannot open include file: 'zmq.h': No such file or directory (C:\Users\Scape\Documents\Sources\TrinityCore-6.x\src\server\game\Server\WorldSession.cpp) c:\users\scape\documents\sources\trinitycore-6.x\dep\zmqpp\zmqpp\compatibility.hpp 24 1 gameError 10 error LNK1181: cannot open input file '..\..\..\dep\zmqpp\Release\zmqpp.lib' C:\Users\Scape\Documents\Sources\TrinityCore-6.x\build\src\server\bnetserver\LINK bnetserverError 11 error LNK1181: cannot open input file '..\game\Release\game.lib' C:\Users\Scape\Documents\Sources\TrinityCore-6.x\build\src\server\worldserver\LINK worldserver Link to comment Share on other sites More sharing options...
leandrod Posted September 14, 2015 Report Share Posted September 14, 2015 Can anyone help me with this problem with cmake ? I searched the forum but found nothing like that, because when I realize cmake command it me back this error: my cmake log :root@lion:/home/trinity/TrinityCore/build# cmake ../ -DCMAKE_INSTALL_PREFIX=/home/trinity/server-- Detected 64-bit platform-- UNIX: Using jemalloc-- UNIX: Using default configuration directory-- UNIX: Using default library directory-- UNIX: Configuring uninstall target-- UNIX: Created uninstall target-- UNIX: Detected compiler: /usr/bin/cc-- GCC: Enabled c++11 support-- GCC: Enabled C99 support-- GCC: SFMT enabled, SSE2 flags forced-- GCC: All warnings enabled-- Found OpenSSL library: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so-- Found OpenSSL headers: /usr/include-- Boost version: 1.55.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 - Failed-- Found Readline library: /usr/lib/x86_64-linux-gnu/libreadline.so-- Include dir is: /usr/include-- Found git binary : /usr/bin/git* TrinityCore revision : f4cb367c99d0+ 2015-09-14 16:20:48 -0300 (3.3.5 branch)* TrinityCore buildtype : Release* Install core to : /home/trinity/server* Install libraries to : /home/trinity/server/lib* Install configs to : /home/trinity/server/etc* Build world/auth : Yes (default)* Build with scripts : Yes (default)* Build Eluna LuaEngine : Yes (default)* Build map/vmap tools : Yes* Build core w/PCH : Yes (default)* Build scripts w/PCH : Yes (default)* Show all warnings : Yes* Use coreside debug : No (default)* Show source tree : No (default)* Use GIT revision hash : Yes-- 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-- 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-- SCRIPT PREPARATIONS -> Prepared: Spells -> Prepared: Commands -> Prepared: Custom -> Prepared: World -> Prepared: Outdoor PVP Zones -> Prepared: Eastern Kingdoms -> Prepared: Kalimdor -> Prepared: Outland -> Prepared: Northrend -> Prepared: Events -> Prepared: Pet-- SCRIPT PREPARATION COMPLETE-- Boost version: 1.55.0-- Found the following Boost libraries:-- system-- filesystem-- Configuring doneCMake Error at src/server/scripts/CMakeLists.txt:138 (add_library): Cannot find source file: <<<<<<< Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx-- Build files have been written to: /home/trinity/TrinityCore/buildthanks Link to comment Share on other sites More sharing options...
Nay Posted September 14, 2015 Report Share Posted September 14, 2015 You did a bad merge with your source code somehow. You have conflicts to resolve in the file src/server/scripts/CMakeLists.txt Reset your changes, clean sources, and try again Link to comment Share on other sites More sharing options...
Keldo Posted September 14, 2015 Report Share Posted September 14, 2015 Try running CMake with the -DWITH_WARNINGS=1 flag and see what it produces Link to comment Share on other sites More sharing options...
Nay Posted September 14, 2015 Report Share Posted September 14, 2015 @Keldo: WITH_WARNINGS only changes what the compiler warns about, it has no effect on CMake configuration Link to comment Share on other sites More sharing options...
leandrod Posted September 14, 2015 Report Share Posted September 14, 2015 Thank you so much ! I was trying to accomplish this merge with Eluna , but did not succeed . know you how to build trinity core with Eluna ? Link to comment Share on other sites More sharing options...
Rochet2 Posted September 14, 2015 Report Share Posted September 14, 2015 Thank you so much ! I was trying to accomplish this merge with Eluna , but did not succeed . know you how to build trinity core with Eluna ?Try follow this guide: https://github.com/ElunaLuaEngine/Eluna/blob/master/docs/INSTALL.mdAt the top of it is also a link to how you can try merge if you need that.If your merges fail, TC has done changes or you have some custom changes of your own that need to be manually fitted to the eluna core changes.Eluna is a fork of TC. The default installation guide instructs to use Eluna repositories so you can easily pull the latest changes from us without having to do manual updating to fit latest TC yourself.Otherwise some ingenuity and knowledge is needed to be able to fix merge conflicts and other. Link to comment Share on other sites More sharing options...
Carbenium Posted September 21, 2015 Report Share Posted September 21, 2015 --- Canned message start --- It appears the issue in the original post was solved, so this thread shall be closed. Should you encounter any other difficulties, please open a new thread. --- Canned message end --- Link to comment Share on other sites More sharing options...
<T> Posted September 22, 2015 Report Share Posted September 22, 2015 (edited) Im working on a x64 build, trying to generate binaries but i get stuck at this error. The C compiler identification is MSVC 18.0.31101.0The CXX compiler identification is MSVC 18.0.31101.0Check for working C compiler using: Visual Studio 12 2013 Win64Check for working C compiler using: Visual Studio 12 2013 Win64 -- worksDetecting C compiler ABI infoDetecting C compiler ABI info - doneCheck for working CXX compiler using: Visual Studio 12 2013 Win64Check for working CXX compiler using: Visual Studio 12 2013 Win64 -- worksDetecting CXX compiler ABI infoDetecting CXX compiler ABI info - doneDetecting CXX compile featuresDetecting CXX compile features - doneDetected 64-bit platformMSVC: 64-bit platform, enforced -D_WIN64 parameterMSVC: Enabled increased number of sections in object filesMSVC: Overloaded standard namesMSVC: Disabled NON-SECURE warningsMSVC: Disabled POSIX warningsMSVC: Disabled generic compiletime warningsFound 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.libFound OpenSSL headers: C:/OpenSSL-Win64/includeCMake Error at C:/Program Files (x86)/CMake/share/cmake-3.3/Modules/CheckIncludeFiles.cmake:63 (configure_file):configure_file attempted to configure a file:C:/TrinityCore/TrinityCore/CMakeFiles/CMakeTmp/CheckIncludeFiles.c into asource directory.Call Stack (most recent call first):C:/Program Files (x86)/CMake/share/cmake-3.3/Modules/FindThreads.cmake:123 (CHECK_INCLUDE_FILES)CMakeLists.txt:60 (find_package) Configuring incomplete, errors occurred!See also "C:/TrinityCore/TrinityCore/CMakeFiles/CMakeOutput.log".Not quite sure what this can mean but its very irittating lol. Is there something Im missing? Edited September 22, 2015 by <T> Link to comment Share on other sites More sharing options...
Nay Posted September 23, 2015 Report Share Posted September 23, 2015 You are using the CMake GUI right? Your "Where is the source code" directory CANNOT be the same as "Where to build the binaries". Link to comment Share on other sites More sharing options...
BuffetRaider Posted September 23, 2015 Report Share Posted September 23, 2015 (edited) Edit: Mods can lock this thread, solved on IRC. Second post contains workaround.I found a locked thread bearing the same error message, but the problem this time isn't that I have the wrong version of Boost (vs2013 libs, trying to install with vs2015 as in the locked thread). I have the correct version of Boost (1_59_0_msvc-14.0-64) and the environment variables are correctly configured. Error text from CMake log:CMake Error at cmake/macros/FindBoost.cmake:1184 (message):Unable to find the requested Boost libraries.Boost version: 1.59.0Boost include path: C:/Boost/boost_1_59_0Could not find the following static Boost libraries:boost_systemboost_filesystemboost_threadboost_program_optionsboost_iostreamsNo Boost libraries were found. You may need to set BOOST_LIBRARYDIR to thedirectory containing Boost libraries or BOOST_ROOT to the location ofBoost.Call Stack (most recent call first):cmake/macros/ConfigureBoost.cmake:32 (find_package)CMakeLists.txt:62 (include) I even tried renaming the directories in my boost install (they have no 'boost_' prefix by default) to no avail. Also, IRC is dead for the night so I figured I'd post here.Any help is appreciated. Edited September 23, 2015 by BuffetRaider Link to comment Share on other sites More sharing options...
BuffetRaider Posted September 23, 2015 Report Share Posted September 23, 2015 (edited) Mods: This thread can be locked. Solved over IRC with help from m3 and tkrokli. A workaround for this is to manually target each relevant library file in the CMake GUI as shown below. Make sure the "Grouped" and "Advanced" boxes are checked, then expand the Boost tree. Click on the Value field and a [...] icon should show up on the right to allow you to browse to the file. Edited September 23, 2015 by BuffetRaider Link to comment Share on other sites More sharing options...
Carbenium Posted September 23, 2015 Report Share Posted September 23, 2015 --- Canned message start --- It appears the issue in the original post was solved, so this thread shall be closed. Should you encounter any other difficulties, please open a new thread. --- Canned message end --- Link to comment Share on other sites More sharing options...
Daniel25 Posted September 27, 2015 Report Share Posted September 27, 2015 Hello, Im trying to recompile it now but I guess its a issue in the core.Error 1 error C2903: 'result' : symbol is neither a class template nor a function template (C:\TrinitySource_6.1.2.1\src\server\game\Entities\Taxi\TaxiPathGraph.cpp) C:\local\boost_1_55_0\boost\utility\result_of.hpp 186 1 game Error 2 error C2039: 'result' : is not a member of 'TaxiPathGraph::GetCompleteNodeRoute::<lambda_1a595afb5d7a140e81519f471c226ce7>' (C:\TrinitySource_6.1.2.1\src\server\game\Entities\Taxi\TaxiPathGraph.cpp) C:\local\boost_1_55_0\boost\utility\result_of.hpp 186 1 game Error 3 error C2504: 'result' : base class undefined (C:\TrinitySource_6.1.2.1\src\server\game\Entities\Taxi\TaxiPathGraph.cpp) C:\local\boost_1_55_0\boost\utility\result_of.hpp 186 1 game Error 4 error C2143: syntax error : missing ',' before '<' (C:\TrinitySource_6.1.2.1\src\server\game\Entities\Taxi\TaxiPathGraph.cpp) C:\local\boost_1_55_0\boost\utility\result_of.hpp 186 1 game Error 5 error C2783: 'boost::transform_value_property_map<Func,PM,Ret> boost::make_transform_value_property_map(const Func &,const PM &)' : could not deduce template argument for 'Ret' C:\TrinitySource_6.1.2.1\src\server\game\Entities\Taxi\TaxiPathGraph.cpp 150 1 game Error 6 error C2893: Failed to specialize function template 'boost::transform_value_property_map<Func,PM,boost::result_of<const Func(property_traits<PA>::reference)>::type> boost::make_transform_value_property_map(const Func &,const PM &)' C:\TrinitySource_6.1.2.1\src\server\game\Entities\Taxi\TaxiPathGraph.cpp 150 1 game Error 7 error C2780: 'void boost::dijkstra_shortest_paths(const VertexListGraph &,graph_traits<G>::vertex_descriptor,const boost::bgl_named_params<T,Tag,Base> &)' : expects 3 arguments - 2 provided C:\TrinitySource_6.1.2.1\src\server\game\Entities\Taxi\TaxiPathGraph.cpp 150 1 game Error 8 error C2780: 'void boost::dijkstra_shortest_paths(const VertexListGraph &,graph_traits<G>::vertex_descriptor,PredecessorMap,DistanceMap,WeightMap,IndexMap,Compare,Combine,DistInf,DistZero,DijkstraVisitor)' : expects 11 arguments - 2 provided C:\TrinitySource_6.1.2.1\src\server\game\Entities\Taxi\TaxiPathGraph.cpp 150 1 game Error 9 error C2780: 'void boost::dijkstra_shortest_paths(const VertexListGraph &,SourceInputIter,SourceInputIter,PredecessorMap,DistanceMap,WeightMap,IndexMap,Compare,Combine,DistInf,DistZero,DijkstraVisitor)' : expects 12 arguments - 2 provided C:\TrinitySource_6.1.2.1\src\server\game\Entities\Taxi\TaxiPathGraph.cpp 150 1 game Error 10 error C2780: 'void boost::dijkstra_shortest_paths(const VertexListGraph &,graph_traits<G>::vertex_descriptor,PredecessorMap,DistanceMap,WeightMap,IndexMap,Compare,Combine,DistInf,DistZero,DijkstraVisitor,ColorMap)' : expects 12 arguments - 2 provided C:\TrinitySource_6.1.2.1\src\server\game\Entities\Taxi\TaxiPathGraph.cpp 150 1 game Error 11 error C2780: 'void boost::dijkstra_shortest_paths(const VertexListGraph &,SourceInputIter,SourceInputIter,PredecessorMap,DistanceMap,WeightMap,IndexMap,Compare,Combine,DistInf,DistZero,DijkstraVisitor,ColorMap)' : expects 13 arguments - 2 provided C:\TrinitySource_6.1.2.1\src\server\game\Entities\Taxi\TaxiPathGraph.cpp 150 1 game Error 12 error C2780: 'void boost::dijkstra_shortest_paths(const VertexListGraph &,graph_traits<G>::vertex_descriptor,PredecessorMap,DistanceMap,WeightMap,IndexMap,Compare,Combine,DistInf,DistZero,DijkstraVisitor,const boost::bgl_named_params<T,Tag,Base> &,enable_if_c<(boost::is_base_and_derived<boost::vertex_list_graph_tag,boost::graph_traits<G>::traversal_category>::value,boost::graph::detail::no_parameter>::type)' : expects 13 arguments - 2 provided C:\TrinitySource_6.1.2.1\src\server\game\Entities\Taxi\TaxiPathGraph.cpp 150 1 game Error 13 error C2780: 'void boost::dijkstra_shortest_paths(const VertexListGraph &,SourceInputIter,SourceInputIter,PredecessorMap,DistanceMap,WeightMap,IndexMap,Compare,Combine,DistInf,DistZero,DijkstraVisitor,const boost::bgl_named_params<T,Tag,Base> &,enable_if_c<(boost::is_base_and_derived<boost::vertex_list_graph_tag,boost::graph_traits<G>::traversal_category>::value,boost::graph::detail::no_parameter>::type)' : expects 14 arguments - 2 provided C:\TrinitySource_6.1.2.1\src\server\game\Entities\Taxi\TaxiPathGraph.cpp 150 1 game Error 14 error LNK1181: cannot open input file '..\game\Release\game.lib' C:\TrinityBuild_6.1.2\src\server\worldserver\LINK worldserver 15 IntelliSense: no instance of overloaded function "boost::dijkstra_shortest_paths" matches the argument list argument types are: (TaxiPathGraph::Graph, TaxiPathGraph::vertex_descriptor, <error-type>) c:\TrinitySource_6.1.2.1\src\server\game\Entities\Taxi\TaxiPathGraph.cpp 146 9 game 16 IntelliSense: no instance of overloaded function "boost::make_transform_value_property_map" matches the argument list argument types are: (unqualified_type, boost::adj_list_edge_property_map<boost::directed_tag, TaxiPathGraph::EdgeCost, TaxiPathGraph::EdgeCost &, size_t, boost::property<boost::edge_weight_t, TaxiPathGraph::EdgeCost, boost::no_property>, boost::edge_weight_t>) c:\TrinitySource_6.1.2.1\src\server\game\Entities\Taxi\TaxiPathGraph.cpp 148 25 game Link to comment Share on other sites More sharing options...
Nay Posted September 27, 2015 Report Share Posted September 27, 2015 You'll need to update Boost. 1 Link to comment Share on other sites More sharing options...
Daniel25 Posted September 28, 2015 Report Share Posted September 28, 2015 umm,ok thx.Im a noob :P. Link to comment Share on other sites More sharing options...
Daniel25 Posted September 29, 2015 Report Share Posted September 29, 2015 You'll need to update Boost.Updated and it worked.Thanks you. Link to comment Share on other sites More sharing options...
Nay Posted September 29, 2015 Report Share Posted September 29, 2015 --- Canned message start --- It appears the issue in the original post was solved, so this thread shall be closed. Should you encounter any other difficulties, please open a new thread. --- Canned message end --- Link to comment Share on other sites More sharing options...
tritadez Posted October 4, 2015 Report Share Posted October 4, 2015 (edited) Hi.I'm using Windows 7 Ultimate 32bits.Visual Studio 2015Cmake 3.3.2"I'm following the instalation guide exactly as it is. But when I going to specify the generator on Cmake (Visual studio 14 2015) I get the following error:The C compiler identification is unknownThe CXX compiler identification is unknownCMake Error at CMakeLists.txt:12 (project):No CMAKE_C_COMPILER could be found. CMake Error at CMakeLists.txt:12 (project):No CMAKE_CXX_COMPILER could be found. Configuring incomplete, errors occurred!See also "D:/Build/CMakeFiles/CMakeOutput.log".See also "D:/Build/CMakeFiles/CMakeError.log". The instalation guide says: If CMake do not recognize C/C++ compiler, choose Specific Native Compiler, and choose path to target vcvarsall.bat, e.g. C:\Program Files\Microsoft Visual Studio 12.0\VC\vcvarsall.bat. But I can't also find this "vcvarsall.bat." on my Microsoft Visual Studio 2015. Thank you. Edited October 5, 2015 by tritadez Link to comment Share on other sites More sharing options...
Nay Posted October 4, 2015 Report Share Posted October 4, 2015 I've seen this error fixed by starting CMake in admin mode, maybe that works for you. 1 Link to comment Share on other sites More sharing options...
tritadez Posted October 5, 2015 Report Share Posted October 5, 2015 Thank you "Nay" for your cooperation but starting Cmake in adm mode didn't work. Link to comment Share on other sites More sharing options...
Nay Posted October 5, 2015 Report Share Posted October 5, 2015 When you installed VS 2015, did you go to custom installation options and selected the C++ compilers? It's no longer enabled by default. 1 Link to comment Share on other sites More sharing options...
tritadez Posted October 5, 2015 Report Share Posted October 5, 2015 (edited) You're a scholar my friend. Thank you so much. It did work.It should be updated in the instalation guide as a NOTE. Don't you think?Thank you again. Edited October 5, 2015 by tritadez Link to comment Share on other sites More sharing options...
tritadez Posted October 5, 2015 Report Share Posted October 5, 2015 Hey "Nay".Since you're have been so nice and I don't want to open another stupid tread.I wonder if you could help me with something really embarassing.I'm having techical dificulties on changing the console colors! I read tha auth.cfg and world.cfg and can't understand what it says about these color.I just want to set color to the same example the file gives me: "13 11 9 5 3 1".What should I type?Thank you one more time. Link to comment Share on other sites More sharing options...
Recommended Posts