Open yourfriendyo opened 6 months ago
Hi!
The first error stems from Catch2, the unit testing framework. I have bundled it with mysql_orm
and it seems that the error happens because the library is not up-to-date. I have pushed a commit with the library updated. Can you please tell me if this solves your first error?
Regarding header files, <>
should work for including your own files. Using double quotes only changes the order in which the include directories are searched, so that files from the projects are prioritized over system headers. Since I include long paths, it is highly unlikely to collide with a system header.
These normally should get resolved by cmake
.
my_bool
comes from mysql.h
. Replacing it with a boolean should not be much of an issue,.
Please do try to have a build folder for cmake. Instead of running cmake .
, use mkdir build && cd build && cmake ..
instead. This makes all build artifacts be written in a build/
subfolder. This way, cmake
or make
won't create files that might collision with the sources.
I'd also like to state that this is a toy project. It is not mature enough to be used in real-world projects. You can have a look at #1 for more details about its status.
I'm unable to successfully compile this project. I'm using Ubuntu 22.04 with g++ 13.1. I really want to use this project and hope you can help me. Below is the process I've tried to resolve the errors.
First, there is this error. I found the value corresponding to SIGSTKSZ and directly replaced it, which I consider as solving this error.
Then there is this error. I don't understand why you are using <> to include your own project's header files, so I
This is the third error. I searched the entire project and found no definition for my_bool, so I had to replace all instances with bool.
This is the fourth error, I really have no idea how to solve it.