Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build on Manjaro Pavhlo #1530

Open
neurodiverseEsoteric opened this issue Sep 9, 2021 · 0 comments
Open

Can't build on Manjaro Pavhlo #1530

neurodiverseEsoteric opened this issue Sep 9, 2021 · 0 comments

Comments

@neurodiverseEsoteric
Copy link

Since I can't get the appimage or AUR criptext-bin to run because of libgrypt, I tried to compile everything myself, but Alice keeps failing:

  CXX(target) Release/obj.target/criptext-encryption-service/main.o
In file included from ../src/http/../../../db_interface/src/axolotl/Account.h:4,
                 from ../src/http/http.h:4,
                 from ../main.cpp:1:
/usr/local/include/sqlite_modern_cpp/sqlcipher.h: In member function ‘void sqlite::sqlcipher_database::set_key(const string&)’:
/usr/local/include/sqlite_modern_cpp/sqlcipher.h:26:39: error: ‘sqlite3_key’ was not declared in this scope; did you mean ‘sqlite3_vfs’?
   26 |                         if(auto ret = sqlite3_key(_db.get(), key.data(), key.size()))
      |                                       ^~~~~~~~~~~
      |                                       sqlite3_vfs
/usr/local/include/sqlite_modern_cpp/sqlcipher.h: In member function ‘void sqlite::sqlcipher_database::set_key(const string&, const string&)’:
/usr/local/include/sqlite_modern_cpp/sqlcipher.h:31:39: error: ‘sqlite3_key_v2’ was not declared in this scope; did you mean ‘sqlite3_open_v2’?
   31 |                         if(auto ret = sqlite3_key_v2(_db.get(), db_name.c_str(), key.data(), key.size()))
      |                                       ^~~~~~~~~~~~~~
      |                                       sqlite3_open_v2
/usr/local/include/sqlite_modern_cpp/sqlcipher.h: In member function ‘void sqlite::sqlcipher_database::rekey(const string&)’:
/usr/local/include/sqlite_modern_cpp/sqlcipher.h:36:39: error: ‘sqlite3_rekey’ was not declared in this scope; did you mean ‘sqlite3_reset’?
   36 |                         if(auto ret = sqlite3_rekey(_db.get(), new_key.data(), new_key.size()))
      |                                       ^~~~~~~~~~~~~
      |                                       sqlite3_reset
/usr/local/include/sqlite_modern_cpp/sqlcipher.h: In member function ‘void sqlite::sqlcipher_database::rekey(const string&, const string&)’:
/usr/local/include/sqlite_modern_cpp/sqlcipher.h:41:39: error: ‘sqlite3_rekey_v2’ was not declared in this scope; did you mean ‘sqlite3_trace_v2’?
   41 |                         if(auto ret = sqlite3_rekey_v2(_db.get(), db_name.c_str(), new_key.data(), new_key.size()))
      |                                       ^~~~~~~~~~~~~~~~
      |                                       sqlite3_trace_v2
../main.cpp: In function ‘int main(int, const char**)’:
../main.cpp:63:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   63 |    char *logsPath = "alice_logs.txt";
      |                     ^~~~~~~~~~~~~~~~
../main.cpp:79:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   79 |    char *port = "8085";
      |                 ^~~~~~
make: *** [criptext-encryption-service.target.mk:139: Release/obj.target/criptext-encryption-service/main.o] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant