Bhalandros Posted February 7, 2017 Report Share Posted February 7, 2017 Hello. Which one should I pick? Seems pretty important, but the guide skips this. Link to comment Share on other sites More sharing options...
Exp Posted February 7, 2017 Report Share Posted February 7, 2017 I believe it doesn't matter as far as your use case goes. I stick to the default Window's console window. Link to comment Share on other sites More sharing options...
Bhalandros Posted February 8, 2017 Report Share Posted February 8, 2017 So, this is a thing now. Any clue what I did wrong? After cloning the git, I noticed the folders were very empty, but I did everything as the guide told. Attatching pics in order: Error Message upon clicking configure on Cmake Place where I cloned the git (Various folders only contain more folders and are empty) Link to comment Share on other sites More sharing options...
Naios Posted February 8, 2017 Report Share Posted February 8, 2017 AppData isn't a good location for the source and build dir (also because your path contains spaces) -> Move it into the first depth of C:// -> C://TrinityCore and C://TrinityCoreBuild Link to comment Share on other sites More sharing options...
Bhalandros Posted February 8, 2017 Report Share Posted February 8, 2017 (edited) Alright, I was doing it for cleanness purposes, but if it interferes I'll change that. Thanks Edit: Now this happens. Edited February 8, 2017 by Bhalandros Link to comment Share on other sites More sharing options...
Naios Posted February 8, 2017 Report Share Posted February 8, 2017 -> https://trinitycore.atlassian.net/wiki/display/tc/IRC Probably you'll receive better help in the IRC. What's in your TrinityCore directory? Link to comment Share on other sites More sharing options...
Rochet2 Posted February 8, 2017 Report Share Posted February 8, 2017 What does C:/TrinityCore contain? In the image above it seems to contain stuff it shouldnt (some git stuff?) How did you clone the source exactly? It should contain the files you see here:https://github.com/TrinityCore/TrinityCore or here https://github.com/TrinityCore/TrinityCore/tree/3.3.5 Link to comment Share on other sites More sharing options...
Aokromes Posted February 8, 2017 Report Share Posted February 8, 2017 you must check root of source not inside .git. Link to comment Share on other sites More sharing options...
Bhalandros Posted February 8, 2017 Report Share Posted February 8, 2017 3 hours ago, Rochet2 said: What does C:/TrinityCore contain? In the image above it seems to contain stuff it shouldnt (some git stuff?) How did you clone the source exactly? It should contain the files you see here:https://github.com/TrinityCore/TrinityCore or here https://github.com/TrinityCore/TrinityCore/tree/3.3.5 This is what it contains, and the next how i cloned it Link to comment Share on other sites More sharing options...
Bhalandros Posted February 8, 2017 Report Share Posted February 8, 2017 (edited) Hello again. I have fixed everything but this; even though I installed OpenSSL 1.0, it says I have 1.1. Edited February 8, 2017 by Bhalandros Link to comment Share on other sites More sharing options...
Bradwin Posted February 8, 2017 Report Share Posted February 8, 2017 (edited) After installing all the software needed for setting up a server, I began folowing the guide. I got to Configuring and generating Visual C++ solutions with CMake and after step 6 I got into a problem. That's my compiler, I tried using the 2010 Win64 version aswel. This is what happened after pressing "Finish" Also, the logs, first being the Error log and the second the Output log Please tell me if you need any more information. Edited February 8, 2017 by Bradwin Link to comment Share on other sites More sharing options...
Rochet2 Posted February 8, 2017 Report Share Posted February 8, 2017 what does D:/Trinity look like? Link to comment Share on other sites More sharing options...
Bradwin Posted February 8, 2017 Report Share Posted February 8, 2017 (edited) The folder itself has the Read-Only attribute, noticed just now. Could that be the problem? Edited February 8, 2017 by Bradwin Link to comment Share on other sites More sharing options...
Rochet2 Posted February 8, 2017 Report Share Posted February 8, 2017 Can you post all the text in this box? Im not sure if read only is an issue. Could be, but the program shouldnt actually edit the files. Make sure D:/Build is not read only as files will be written to it. Link to comment Share on other sites More sharing options...
Bradwin Posted February 8, 2017 Report Share Posted February 8, 2017 (edited) /* 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. Configuring incomplete, errors occurred! See also "D:/Build/CMakeFiles/CMakeOutput.log". See also "D:/Build/CMakeFiles/CMakeError.log". */ This is all that it says. I uncheched the "Read only" attribute. Edited February 8, 2017 by Bradwin Link to comment Share on other sites More sharing options...
Rochet2 Posted February 8, 2017 Report Share Posted February 8, 2017 Not sure how well Visual Studio 2017 is supported yet. Other reasons could be that you did not install your VS with C++. Did you explicitly select that you want to install C++ when you installed VS like the TC requirements page says? Link to comment Share on other sites More sharing options...
Bradwin Posted February 8, 2017 Report Share Posted February 8, 2017 I did. At the end of the installation however, it showed me that it didn't install 3 things right, and it pointed to files being damaged ( used the .exe with the .iso file in the same folder. Link to comment Share on other sites More sharing options...
Aokromes Posted February 8, 2017 Report Share Posted February 8, 2017 Visual studio 2017 it's not supported at all. the only supported is 2015. You very likely missed this point: 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++ Link to comment Share on other sites More sharing options...
Bhalandros Posted February 8, 2017 Report Share Posted February 8, 2017 (edited) On 8/2/2017 at 2:42 PM, Bhalandros said: The deed is done. YES. Thank you all so much. why is this here I glitched it Edited February 18, 2017 by Bhalandros what Link to comment Share on other sites More sharing options...
briansrls Posted February 11, 2017 Report Share Posted February 11, 2017 (edited) I'm having an issue building in Visual Studio, I believe I've followed all of the steps and meet all of the requirements. I'm able to build with cmake, and at that point I open my solution in visual studio and clean->build. At that point, I get a ton of errors saying _mingw.h is not found, for example 23>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\stdio.h(27): fatal error C1083: Cannot open include file: '_mingw.h': No such file or directory I do have mingw installed, and I did select the option to install C++ compilers when installing visual studio. In cmake I've selected visual studio 14, 32 bit and I've tried 64 bit and have got the same error. I feel like I'm missing something obvious, anyone have an idea? I'm on windows 10, I've done https://trinitycore.atlassian.net/wiki/display/tc/Requirements this and https://trinitycore.atlassian.net/wiki/display/tc/Core+Installation Edited February 11, 2017 by briansrls Link to comment Share on other sites More sharing options...
Dukla Posted February 13, 2017 Report Share Posted February 13, 2017 Hello, 1) I am trying to compile on Ubuntu 16.04 and here are my erros during compilation: [ 17%] Linking CXX executable authserver /usr/bin/ld: CMakeFiles/authserver.dir/Main.cpp.o: undefined reference to symbol 'pthread_sigmask@@GLIBC_2.2.5' /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status 2) I tried to add -lpthread and I got these errors: [ 18%] Linking CXX executable authserver /usr/bin/ld: CMakeFiles/authserver.dir/Main.cpp.o: undefined reference to symbol 'write@@GLIBC_2.2.5' /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status 3) And this error: /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status 4) I tried to add this -nostartfiles and -nostdlib and got this error: [ 8%] Linking CXX shared module libScriptPCH.cpp_dephelp.so CMakeFiles/ScriptPCH.cpp_dephelp.dir/PrecompiledHeaders/ScriptPCH.cpp.o: In function `__static_initialization_and_destruction_0': /usr/include/c++/5/iostream:74: undefined reference to `__dso_handle' /usr/bin/ld: CMakeFiles/ScriptPCH.cpp_dephelp.dir/PrecompiledHeaders/ScriptPCH.cpp.o: relocation R_X86_64_PC32 against undefined hidden symbol `__dso_handle' can not be used when making a shared object Can you help me? I installed all libraries from this manual: https://trinitycore.atlassian.net/wiki/display/tc/Linux+Requirements Link to comment Share on other sites More sharing options...
Aokromes Posted February 13, 2017 Report Share Posted February 13, 2017 5 hours ago, Dukla said: Hello, 1) I am trying to compile on Ubuntu 16.04 and here are my erros during compilation: Can you help me? I installed all libraries from this manual: https://trinitycore.atlassian.net/wiki/display/tc/Linux+Requirements Can you post the cmake log? Link to comment Share on other sites More sharing options...
Dukla Posted February 13, 2017 Report Share Posted February 13, 2017 3 hours ago, Aokromes said: Can you post the cmake log? I already posted parts of the log ... nothing else is created or I do not know where else ... here is when I turn on -v option: Using built-in specs. COLLECT_GCC=/usr/bin/c++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-fPIC' '-nostartfiles' '-v' '-std=c++11' '-g3' '-O3' '-D' 'NDEBUG' '-shared' '-o' 'libScriptPCH.cpp_dephelp.so' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccrlmchm.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -shared -z relro -o libScriptPCH.cpp_dephelp.so -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/ScriptPCH.cpp_dephelp.dir/PrecompiledHeaders/ScriptPCH.cpp.o -lstdc++ -lm -lgcc_s -lc -lgcc_s CMakeFiles/ScriptPCH.cpp_dephelp.dir/PrecompiledHeaders/ScriptPCH.cpp.o: In function `__static_initialization_and_destruction_0': /usr/include/c++/5/iostream:74: undefined reference to `__dso_handle' /usr/bin/ld: CMakeFiles/ScriptPCH.cpp_dephelp.dir/PrecompiledHeaders/ScriptPCH.cpp.o: relocation R_X86_64_PC32 against undefined hidden symbol `__dso_handle' can not be used when making a shared object /usr/bin/ld: final link failed: Invalid value collect2: error: ld returned 1 exit status Link to comment Share on other sites More sharing options...
Aokromes Posted February 13, 2017 Report Share Posted February 13, 2017 2 hours ago, Dukla said: I already posted parts of the log ... nothing else is created or I do not know where else ... here is when I turn on -v option: Using built-in specs. COLLECT_GCC=/usr/bin/c++ collect2: error: ld returned 1 exit status I mean the log of the result of running cmake ../ Link to comment Share on other sites More sharing options...
Dukla Posted February 13, 2017 Report Share Posted February 13, 2017 12 minutes ago, Aokromes said: I mean the log of the result of running cmake ../ It is all there in my post ... even parameters ... Link to comment Share on other sites More sharing options...
Recommended Posts