Hi, I just installed Ubuntu 22.04 LTS. I successfully installed the dependencies and compileOF, but when I try the next step in the installation process which is to make the polygon example, it does not make and has these 2 errors:
Hey @WillpowerStudios , were there any other errors in the terminal output? Also just to clarify, the compileOF script did compile oF, right? I ususally use Qt Creator with linux. Did you try running the project generator to update the project, and then also did you try to compile a project with sudo?
It seems that lXi, lXcursor and lXinerama are issues. Do you know what these are or what this message indicates ?
I also work with QT creator, I love it. Actually, everything was working well but now I’m having these strange issues… I wonder what the source of it is…
when trying to run Project Generator, I get this error:
**Error...**
There was a problem generating your project.../home/willpowerstudios/Nextcloud/of_v0.11.2_linux64gcc6_release/apps/myApps/mySketch
I’m thinking the linker can’t find these 3 libraries, which I think are related to the windowing system and the GLFW window library that oF uses. Most often, linux packages will install into the /usr/ directory. I would speculate that the packages that contain these libraries used to be installed by default with Ubuntu. But they’re (currently) missing, maybe because of an oversight with a new release.
So, you could try to install these packages. In many cases, a linker flag incorporates the name of library its trying to link. And then the package name also has the library name incorporated somehow. So, a linker flag like -lXi would be trying to link the library called libXi. And if you google “ubuntu 22.04 libxi”, you’ll see some results for libxi-dev, which is probably the package that contains the library. So in a terminal, you could sudo apt install libxi-dev, or you could try searching for libxi-dev in the software center. And you’d do this for each of the three linker errors, realizing that there could be a single package that contains some or all of them. On Mint 19.3, the libXi.so and libXcursor.so libraries reside in /user/lib/x86_64-linux-gnu.
As you update 22.04, you may get these packages anyway. So you could also try a sudo apt update every once in a while over the next couple of weeks. And you could also try downloading the nightly build of oF, which does have some nice updates (like c++17 compatibility (I think)). But, this seems like missing dependencies to me.
OK hope this helps! I’m a little over my head with this topic. But, if you have a chance definitely post how it goes as others might have the same problem as they install 22.04 and try to get oF working.