Jump to content

cmake on windows error


tim

Recommended Posts

Posted

i trying to use cmake on windows but i get error after pressing generate::

any one can help me to fix it???

Detected 32-bit platform.

Could NOT find Git (missing: GIT_EXECUTABLE)

This script builds the MaNGOS server.

Options that can be used in order to configure the process:

PREFIX: Path where the server should be installed to

PCH: Use precompiled headers

DEBUG: Debug mode

To set an option simply type -D<OPTION>=<VALUE> after 'cmake <srcs>'.

For example: cmake .. -DDEBUG=1 -DPREFIX=/opt/mangos

MaNGOS-Core revision : Git not found

Install server to : C:/Program Files (x86)/MaNGOS

Use PCH : Yes

Build in debug-mode : No (default)

Configuring done

Posted
i trying to use cmake on windows but i get error after pressing generate::

any one can help me to fix it???

Sorry. How you use cmake on windows platform? This is *nix command.

Posted
tim4, you have no error.

Last line says: Configuring done. It means, that CMake generate pass successful.

Could NOT find Git (missing:  GIT_EXECUTABLE)

This mean that you should add your Git executable to your path. Because CMake can't find it in your path. But this thing isn't necessary, if Git would be find in Path, it just show you last number of commit, thats it.

Salja, it doesn't matter which mangos he use. There is no errors.

shlainn, i think he has already installed Git( he cloned mangos anyway ), he just not add Git executable to Path variable while installing it.

you right yet i see =)

Posted

Thx guys for answer after i did install git in right place it works without this error.

I know there are win files but i wanted to learn how to use cmake..

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use