-
Notifications
You must be signed in to change notification settings - Fork 14
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
error: ‘endl’ is not a member of ‘Qt’ and library dependencies #22
Comments
Thanks for the report. I'll take a look soonish. I need to know a bit more, though: you say that you had to move the library. From where to where, exactly? |
hey, i've copied it from the build folder to /usr/local/lib/x86_64-linux-gnu |
Well, I've had mixed results. I've used CMake-provided magic to get proper install paths. However, it will only work properly it you install to As for the @KlemenBlokar @alajovic @shrx Any ideas? |
Hey, I agree that "\n" is more a quick hack than a solution. For that I'm probably going to update my QT and leave this as a note for other Ubuntu users. |
Interesting, I set up a fresh Ubuntu 20.04 container in order to test this, and did not need to install neither libilmbase12 nor libopenexr22. I'm sure this must be specific to your system; if I had to guess, I'd say you have some remnants somewhere that were left after a distribution upgrade. Or perhaps something that you installed manually sometime in the past. |
Ah, to hell with it, let's just use the deprecated |
Went for good old macros. After all I'm a C programmer rather than a C++ one 😄
|
Just found this issue (thanks!) and wanted to add that I solved this in a more C++ way ;-) I also used this approach for
|
compiling fails with the error " ‘endl’ is not a member of ‘Qt’ "
i can get over this by replacing all Qt::endl with "\n".
on Ubuntu 20.04.1 I had to manually add libilmbase12_2.2.0-11ubuntu2_amd64.deb and libopenexr22_2.2.0-10ubuntu2_amd64.deb to run the program.
Also after install the library libqarv-3.so.3 needs to be moved to a library-folder before starting the program.
The text was updated successfully, but these errors were encountered: