Code Monkey home page Code Monkey logo

Comments (19)

marcomeyerVFX avatar marcomeyerVFX commented on June 3, 2024 2

I was stuck in the same place, got past it by additionally installing ocl-icd-devel (must have CRB repo enabled for that)
might be worth adding to the dependencies as well

from openrv.

marcomeyerVFX avatar marcomeyerVFX commented on June 3, 2024 2

try installing nss

also, in case you haven't already I also had to install

meson zip python-unversioned-command perl-FindBin libXcomposite libXdamage libXrandr libXtst libXcursor

along the way.

from openrv.

NicTanghe avatar NicTanghe commented on June 3, 2024 1

I linked the files, Didn’t find the headers.
So I installed the devel package.
That seems to have done it.

Now CMake throws me errors about open ssl and i also can`t make heads or tails of them.

from openrv.

marcomeyerVFX avatar marcomeyerVFX commented on June 3, 2024 1

remove that line #include <sys/sysctl.h> in OpenRV/src/lib/base/TwkUtil/SystemInfo.cpp, apparently that's deprecated from glibc on EL9

from openrv.

NicTanghe avatar NicTanghe commented on June 3, 2024 1

I will make a nice markdown file tomorrow or next week.

from openrv.

la0011 avatar la0011 commented on June 3, 2024

Should look something like this:

-DRV_DEPS_QT5_LOCATION=/opt/Qt/5.15.2/gcc_64/

from openrv.

rogernelson avatar rogernelson commented on June 3, 2024

There's also a rvcmds.sh file in the root of the repo that you can source that attempts to set up all the environment you need to build. Of course, not everyone's setup will be the same so if you use it please make sure the paths it sets are accurate -- you can override any of the paths it sets with environment variables.

from openrv.

NicTanghe avatar NicTanghe commented on June 3, 2024

@la0011
THx that worked now I`m stuck at

CMake Error at /usr/local/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find OpenCL (missing: OpenCL_LIBRARY OpenCL_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/local/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/share/cmake-3.25/Modules/FindOpenCL.cmake:163 (find_package_handle_standard_args)
  src/lib/ip/IPCore/CMakeLists.txt:255 (FIND_PACKAGE)

both ocl-icd and opencl-headers seem to be installed

@rogernelson
How whould i do that ?
I assume it's just

 source rvcmds.sh

from openrv.

rogernelson avatar rogernelson commented on June 3, 2024

Hi @NicTanghe. Yes, once you've done source rvcmds.sh and verified that all the paths are correct, you can do rvbootstrap to do the initial setup and build it or rvmk after the initial bootstrap to build it.

For the openCL error, have you installed the openCL headers? If you have a look at this section of the documentation, it gives a yum command that should install them (and other build dependencies).

from openrv.

NicTanghe avatar NicTanghe commented on June 3, 2024

THx that fixed those.

Now its all the glu ones. (desc top)

from openrv.

rogernelson avatar rogernelson commented on June 3, 2024

Hi @NicTanghe Do you have the file /usr/lib64/libGLU.so on your system? If not, you can get it from the package mesa-libGLU

from openrv.

NicTanghe avatar NicTanghe commented on June 3, 2024

but i dont use mesa drivers?
does that matter ?

also the mesa-libGLU package was already installed but

test -f /usr/lib64/libGLU.so || echo " doesnt exist."

returns doesn't exist

searching in nautilus
libGLU.so.1
does exist

from openrv.

rogernelson avatar rogernelson commented on June 3, 2024

If you already have libGLU, then great. Normally the setup is to link libLGU.so to libGLU.so.1 (which maybe be linked to something else). That is normally done at installation, but if not you could try just creating the symlink yourself.

sudo ln -s libGLU.so.1 /usr/lib64/libGLU.so

You'll also need the headers, do you have /usr/include/GL/glu.h installed on your system?

from openrv.

NicTanghe avatar NicTanghe commented on June 3, 2024

I was only missing

perl-FindBin

That seems to have fixed things, it seems to be compiling now. I will close the ticket if it finishes compiling, if not I’ll be Arnold.

How did u figure out those dependencies ?

from openrv.

NicTanghe avatar NicTanghe commented on June 3, 2024

import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'

installing python3-tkinter and running

import tkinter
tkinter._test()

in python solved nothing

i also needed to install
tcl-devel tk-devel

next i installed

sqlite-devel

Now im here

WARNING: The scripts f2py, f2py3 and f2py3.9 are installed in '/home/nanghe/git/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts fonttools, pyftmerge, pyftsubset and ttx are installed in '/home/nanghe/git/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pre-commit 2.21.0 requires pyyaml>=5.1, which is not installed.

from openrv.

marcomeyerVFX avatar marcomeyerVFX commented on June 3, 2024

How did u figure out those dependencies ?

compile... look for errors (usually linker missing an .so)... search on pkgs.org which package contains the missing file... install missing package ... repeat

also I was running in a docker so I started quite minimal already and had to install almost everything

from openrv.

NicTanghe avatar NicTanghe commented on June 3, 2024

(i ws hoping you had some magic less labour intensive way)

[ 8%] Building CXX object src/lib/base/TwkUtil/CMakeFiles/TwkUtil.dir/SystemInfo.cpp.o
git/OpenRV/src/lib/base/TwkUtil/SystemInfo.cpp:22:10: fatal error: sys/sysctl.h: No such file or directory
22 | #include <sys/sysctl.h>

I have kernel-headers and kernel-cross-headers
Read somewhere you should remove.

Maybe if removing dont work try in future.
fixing with ln -s /usr/include/linux/sysctl.h sys/sysctl.h

next missing is libaio.h
libaio.h
dnf install libaio-devel

from openrv.

NicTanghe avatar NicTanghe commented on June 3, 2024

Next error i get is.

/home/nanghe/git/OpenRV/src/lib/mu/Mu/Thread.cpp:77:34: error: ‘ucontext’ does not name a type; did you mean ‘Context’?
   77 |     _threadState = (size_t*)(new ucontext);
      |                                  ^~~~~~~~
      |                                  Context

error: ‘ucontext’ does not name a type; did you mean ‘Context’?
   77 |     _threadState = (size_t*)(new ucontext);

I’m hesitant to replace ucontext with Context because those seem like totally different functions.

from openrv.

marcomeyerVFX avatar marcomeyerVFX commented on June 3, 2024

there's a proposed PR that fixes that. just rename ucontext to ucontext_t
#14

also check this issue, for future code issues, they all apply to EL9 as well:
#15

from openrv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.