All of my recent Linux building experience is on Debian, so I don't
have an exact step-by-step for Red Hat. If it comes to it, I can set
up a virtual machine and go through the process for you.
The v3 build system lets you build with a combination of system
installed and VSP-built libraries.
There is a separate library build that will attempt to build all the
libraries you don't want to use from the system. On Mac and Windows,
the expectation is that you will use VSP packaged libraries almost
exclusively.
On Linux, the expectation is that you will use system installed
libraries almost exclusively. That doesn't have to be the case, but
keep in mind that things like our VSP bundled FLTK don't get much
build testing on Linux.
When you run
cmake ../src
You're skipping the libraries build entirely. This is sorta OK, but
it means that CMake will search the system for everything. If you
have all the system libraries installed, this will largely work.
However, there are some libraries that there no packages exist for --
so there is zero chance they will be installed (Code-Eli, possibly
others).
So, if you run
cmake ../SuperProject
The build system will automatically build all the VSP packaged
libraries and then launch the ../src build of VSP itself. If we're
lucky and everything builds on Linux, it should automagically do
everything. I don't expect to be that lucky.
Instead, you can also build the projects separately:
mkdir buildlibs
cd buildlibs
cmake ../Libraries
cd ..
mkdir build
cd build
cmake ../src -DVSP_LIBRARY_PATH=/full/path/to/buildlibs
This process is equivalent to building the SuperProject, but if you're
doing actual VSP development (not just building for a certain
platform), the separate approach may make prettier IDE project files
that are more fun to work with.
In general, I still suggest you install as many system-installed
libraries you can on Linux. The only exception would be if you were
dealing with a sys-admin who absolutely would not install requested
packages. In that case, you quite possibly should be building a
non-graphical version only and the library requirements are
substantially more modest.
Fairly detailed Ubuntu instructions were recently posted to the group.
https://groups.google.com/d/msg/openvsp/YF64iqoFDFs/lxhNwqeP1AsJ
Let me know how you progress. If need be, I'll set up a VM and try to
go through the process myself.
Rob
> --
> You received this message because you are subscribed to the Google Groups
> "OpenVSP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
openvsp+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.