You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 31, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 31, 2025. It is now read-only.
The linked section describes how to create a conan profile for cross compilation. You have to put this profile into your ~/.conan/profiles directory.
I assume you only want to cross-compile the service. So you have to add the following to your profile:
[options]
OrbitProfiler:with_gui=False
Then you can call ./build.sh <your_profile_name> from the Orbit repo root. This will create a build directory named build_<your_profile_name> and start the build. You should be able to find the compiled binary in build_<your_profile_name>/bin/OrbitService.
Yes, but it's not super straight forward. You need an SSH tunnel to your embedded device that is forwarding port 44765. On the command line it's something like this: ssh -L 44765:localhost:44765 <hostname>.
Then you can start the UI with the option --local. In Windows .\Orbit.exe --local which makes it try to connect to localhost:44765.
If SSH is not an option you could also change the source code such that the --local option connects directly to an arbitrary hostname and such that the service listens on all interfaces. Currently both is hardcoded to localhost. If that's interesting to you I can look up the correct places in code.
Activity
beckerhe commentedon Oct 28, 2021
We unfortunately don't have any specific instructions. But I can quickly outline how it should work:
~/.conan/profilesdirectory../build.sh <your_profile_name>from the Orbit repo root. This will create a build directory namedbuild_<your_profile_name>and start the build. You should be able to find the compiled binary inbuild_<your_profile_name>/bin/OrbitService.Cheers,
Henning
tjohnsonhvac commentedon Oct 28, 2021
I do have conan already set up to cross compile conan packages with the compiler (not the easiest to set up... lol), Ill give it a go.
when running as a service on linux, is there a way to connect a gui from windows so that we can use that super nice interface you guys have?
beckerhe commentedon Oct 28, 2021
Yes, but it's not super straight forward. You need an SSH tunnel to your embedded device that is forwarding port 44765. On the command line it's something like this:
ssh -L 44765:localhost:44765 <hostname>.Then you can start the UI with the option
--local. In Windows.\Orbit.exe --localwhich makes it try to connect tolocalhost:44765.If SSH is not an option you could also change the source code such that the
--localoption connects directly to an arbitrary hostname and such that the service listens on all interfaces. Currently both is hardcoded tolocalhost. If that's interesting to you I can look up the correct places in code.