Giter Club home page Giter Club logo

mysql_orm's People

Contributors

ethiraric avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mysql_orm's Issues

Project Status

This project looks promising and could prove to be an easy migration from sqlote_orm.

I'm wondering if you plan on updating the project any time soon? Unique constraints would be one feature I'm particularly interested in.

I encountered these bugs while compiling the project, please help me, thank you. I really like this project.

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.

/home/yyx/mysql_orm/tests/catch.hpp:7441:45: error: size of array ‘altStackMem’ is not an integral constant-expression
 7441 |     char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
      |                                             ^~~~~~~~

Then there is this error. I don't understand why you are using <> to include your own project's header files, so I

$ ln -s ../include/mysql_orm/ ./tests/
$ ln -s ../deps/include/ ./tests/
/home/yyx/mysql_orm/tests/test_Column.cpp:1:10: fatal error: mysql_orm/Column.hpp: No such file or directory
    1 | #include <mysql_orm/Column.hpp>

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.

/home/yyx/mysql_orm/tests/./mysql_orm/Connection.hpp:36:22: error: ‘my_bool’ was not declared in this scope; did you mean ‘bool’?
   36 |     auto reconnect = my_bool{1};

This is the fourth error, I really have no idea how to solve it.

$ make
Consolidate compiler generated dependencies of target mysql_orm_tests
[  6%] Building CXX object CMakeFiles/mysql_orm_tests.dir/test_Database.cpp.o
[ 13%] Building CXX object CMakeFiles/mysql_orm_tests.dir/test_Delete.cpp.o
[ 20%] Building CXX object CMakeFiles/mysql_orm_tests.dir/test_Insert.cpp.o
[ 26%] Building CXX object CMakeFiles/mysql_orm_tests.dir/test_Limit.cpp.o
[ 33%] Building CXX object CMakeFiles/mysql_orm_tests.dir/test_Pack.cpp.o
[ 40%] Building CXX object CMakeFiles/mysql_orm_tests.dir/test_RemoveOccurences.cpp.o
[ 46%] Building CXX object CMakeFiles/mysql_orm_tests.dir/test_GetAll.cpp.o
[ 53%] Building CXX object CMakeFiles/mysql_orm_tests.dir/test_Table.cpp.o
[ 60%] Building CXX object CMakeFiles/mysql_orm_tests.dir/test_Update.cpp.o
[ 66%] Building CXX object CMakeFiles/mysql_orm_tests.dir/test_Varchar.cpp.o
[ 73%] Building CXX object CMakeFiles/mysql_orm_tests.dir/test_Where.cpp.o
[ 80%] Linking CXX executable mysql_orm_tests
/usr/bin/ld: cannot find -lmysql_orm: No such file or directory
collect2: error: ld returned 1 exit status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.