Closed kurokirasama closed 9 months ago
Can you try without the flag? Maybe it's no longer needed anyway...
Am Mi., 6. Dez. 2023 um 17:33 Uhr schrieb kurokirasama < @.***>:
Describe the Bug
Hey, I've used this tool for quiet a while now and I have it up and running in 2 ubuntu 20.04 laptops. Now I'm trying to install it in a new machine, with ubuntu 20.04 , but I got this error when running make
g++ -O2 -fpermissive -std=c++20 -Wall -fexceptions -c -o tiv.o tiv.cpp g++: error: unrecognized command line option ‘-std=c++20’; did you mean ‘-std=c++2a’?
make: *** [
: tiv.o] Error 1 g++ version:
g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
To Reproduce
clone the repo, cd to TerminalImageViewer/src and run make Expected Behavio(u)r
it should compile Screenshots
No response Version/Commit Hash
just cloned OS Specifics
Linux kira 5.15.0-89-generic #99 https://github.com/stefanhaustein/TerminalImageViewer/issues/99~20.04.1-Ubuntu SMP Thu Nov 2 15:16:47 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
— Reply to this email directly, view it on GitHub https://github.com/stefanhaustein/TerminalImageViewer/issues/132, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAVPT6AWNHBJBY6LF47Y2DYICM6TAVCNFSM6AAAAABAJVGBC2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZDQOJVGI4TEOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Problem seems to be with the signature of best_index. I tried to make it pass by reference for some reason and apparently I only tested compiling it with MSVC :p
@kurokirasama Does it compile now?
yes, it compiles just fine!! However, when using it now, I get this message:
Warning: failed to determine most reasonable size: unrecognized system, defaulting to 80x24
And the image is tiny.
It seems like I've used the wrong macro for detecting Unix systems. It really should actually work now, try to make it again. Sorry...
now it works flawlessly!!! Thanks!
Describe the Bug
Hey, I've used this tool for quiet a while now and I have it up and running in 2 ubuntu 20.04 laptops. Now I'm trying to install it in a new machine, with ubuntu 20.04 , but I got this error when running
make
g++
version:Using the
c++2a
option as suggested, gives this:To Reproduce
clone the repo, cd to
TerminalImageViewer/src
and runmake
Expected Behavio(u)r
it should compile
Screenshots
No response
Version/Commit Hash
just cloned
OS Specifics
Linux kira 5.15.0-89-generic #99~20.04.1-Ubuntu SMP Thu Nov 2 15:16:47 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux