Updated some of the documentation

This commit is contained in:
Steve Karg
2020-06-19 07:48:06 -05:00
parent ff9697bab4
commit fbef685063
10 changed files with 127 additions and 221 deletions
+15 -3
View File
@@ -3,15 +3,27 @@ Build using Code Blocks
Q1: GNU GCC Compiler, undefined reference to closesocket
A1: Under Project->Build Options->Linker settings,
A1: Under Project->Build Options->Linker settings,
add "ws2_32" to Link Libraries.
Q2: GNU GCC Compiler, creating a DLL
A2: Under Project->Build Options->Linker settings,
A2: Under Project->Build Options->Linker settings,
add "user32" to Link Libraries.
Q3: GNU GCC Compiler, undefined reference to _GetAdaptersInfo
A3: Under Project->Build Options->Linker settings,
A3: Under Project->Build Options->Linker settings,
add "iphlpapi" to Link Libraries.
Q4: I don't see any Code::Blocks project files. How do I build?
A4: Use cmake to generate the project file. For example:
$ mkdir build && cd build
$ cmake -G"CodeBlocks - Unix Makefiles" ..
or any of the following generators depending on your compiler preference:
CodeBlocks - MinGW Makefiles
CodeBlocks - NMake Makefiles
CodeBlocks - NMake Makefiles JOM
CodeBlocks - Ninja
CodeBlocks - Unix Makefiles