Closed mvsoom closed 11 months ago
Building works for Ubuntu 22.10. Is my Ubuntu LTS too old?
It seems like the error is stemming from this line
CMake Error in CMakeLists.txt:
The CXX_STANDARD property on target "minigpt4" contained an invalid value:
"23".
Perhaps the compiler you have on ubuntu 20.04 lts does not support c++23. If you update the compiler, it should work correctly.
OK, thanks :) Is building from source necessary to get optimal performance for my system's architecture?
Yes. set these flags MINIGPT4_NATIVE/MINIGPT4_LTO in CMake
Thank you very much!
Trying to build following the instructions of the README. I'm on Ubuntu 20.04.6 LTS.
I first cloned the repo:
I then installed
cmake
version3.16.3-1ubuntu1.20.04.1 with
sudo apt install cmake
.Then I ran
cmake .
, but it fails:Any idea what is going on?
Is building from source necessary to get optimal performance for my system's architecture?