Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.
Comentarios: Minor text corrections under the CMake images

...

Click Browse Source... -> Select 
the source directory (C:/Trinity)

2. Click  Browse Build...  -> Select
the build directory (C:/Build)

3. Click Configure

4. Make sure  sure that

  • Use default native compilers

compilers  is checked (should be checked by default).

5. In the drop-down menu, choose the
version of the compiler you downloaded
in the Software Required section .

6. Click Finish.

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)

8. Click Configure again.

9. Click Generate. This will install the
selected build files into your DC:/Build folder.


Info

Note: If MySQL is not found by CMake it is required to set MYSQL_INCLUDE_DIR = C:/mysql_libs/include and MYSQL_LIBRARY= C:/mysql_libs/lib_XX/libmysql.lib.
XX depends if you are compiling in 32 or 64 bits mode. (See the 9th point of the Windows requirement list in Windows Core Installation.)

Note 2: If you get linker errors (e.g "error LNK2019: unresolved external symbol mysql_server_init"), make sure MYSQL_LIBRARY is set to the libmysql.lib that matches your compile mode (x64 vs 32 bits).

(If you do not see the MYSQL fields in CMake, tick the Advanced box).

Note 3: If you get an error that CMake can't find OpenSSL, check the advanced checkbox.

Find the OpenSSL in the list and point to the correct directories (you have to point to the OpenSSL root and the OpenSSL include directories)

...