[DiscordArchive] Hello, I hope someone can help me I get the error "Could not find the MySQL libraries! Please instal
[DiscordArchive] Hello, I hope someone can help me I get the error "Could not find the MySQL libraries! Please instal
Archived author: osadf • Posted: 2023-12-05T16:21:01.715000+00:00
Original source
Hello, I hope someone can help me I get the error "Could not find the MySQL libraries! Please install the development
libraries and headers" when setting up with cmake on windows.
I did install mySQL and there is a service called "MySQL82" running.
Is the problem that it is called "MySQL82" and not "MySQL"?
Archived author: Revision • Posted: 2023-12-05T16:24:28.973000+00:00
Original source
That is not the problem, that is what the service is always called (it's the version number). I'm guessing you're using 8.2.
Archived author: Revision • Posted: 2023-12-05T16:29:25.167000+00:00
Original source
The question is if you made sure the c++ libraries were installed with it.
Archived author: osadf • Posted: 2023-12-05T16:36:14.485000+00:00
Original source
Idk why, but the error is gone now (I just ran it again).
But now I get the error:
```
CMake Error at C:/Program Files/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Boost (missing: Boost_INCLUDE_DIR system filesystem
program_options iostreams regex) (Required is at least version "1.74")
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:2392 (find_package_handle_standard_args)
deps/boost/CMakeLists.txt:35 (find_package)
```
Archived author: osadf • Posted: 2023-12-05T16:36:48.575000+00:00
Original source
I have version boost 1.81, so it should be good?
Archived author: Revision • Posted: 2023-12-05T16:40:43.505000+00:00
Original source
It depends
Archived author: Revision • Posted: 2023-12-05T16:40:45.758000+00:00
Original source
1.81 works fine