Skip to content

Strutis1/ChessBotForChessWinApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Building sillyBot.dll from aiInterface.cpp

This document contains only the steps required to compile a DLL from a single C++ source file using GCC on Windows.


1. Install MSYS2

Download and install MSYS2:

https://www.msys2.org/


2. Install GCC

Open MSYS2 MINGW64 from the Start Menu and run:

pacman -S --needed base-devel mingw-w64-x86_64-toolchain

3. Open the project directory

In the same terminal, navigate to the folder containing aiInterface.cpp:

cd /c/path/to/your/project

4. Compile the DLL

Run:

g++ -shared -o sillyBot.dll aiInterface.cpp

Result

The file sillyBot.dll will be created in the same directory.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages