Skip to content

Commit 1567333

Browse files
authored
Update README.md
1 parent 2c10838 commit 1567333

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
A GTA SAMP plugin for Chat Bot communication.
77

8+
It works for both SAMP and [Open.mp](https://www.open.mp/)
9+
810
The following Chat Bots API are implemented:
911
* [Chat GPT](https://platform.openai.com/docs/quickstart)
1012
* [Gemini AI](https://ai.google.dev/)
@@ -113,7 +115,9 @@ public OnChatBotResponse(prompt[], response[], playerid)
113115
Compiling on Windows is pretty simple, it requires Visual Studio 2022 with the latest C++ Windows SDK, libcurl is already provided.
114116

115117
#### Linux
116-
In Linux (I only tried on Debian based systems) you need to cross-compile curl and openssl in 32 bit on 64 bit machine.
118+
In Linux (I only tried on Debian based systems) you need to do ```make clean``` and ```make``` inside the main folder, ```libcurl libssl libcrypto``` are already provided.
119+
120+
If you want to compile curl and openssl yourself you will need to cross-compile them in 32 bit on 64 bit machine.
117121

118122
Steps:
119123
* remove libcurl and OpenSSL if it's already install and update with ```ldconfig``` otherwise it will create conflicts!
@@ -124,6 +128,7 @@ Steps:
124128
* download [libcurl 8.8.0](https://github.com/curl/curl) and extract it
125129
* configure libcurl by doing: ```./configure --host=i686-pc-linux-gnu --with-openssl CFLAGS=-m32 CC=/usr/bin/gcc```
126130
* compile libcurl ```make``` and install it ```cd lib/``` and ```sudo make install```
131+
* find and copy ```libcurl.a libcrypto.a libssl.a``` inside ```samp-chatbot-root-folder/lib```
127132
* now you should have everything ready for compilation!
128133

129134
For compiling the samp-chatbot do ```make``` inside the main folder, binaries are inside bin/linux/Release.

0 commit comments

Comments
 (0)