Skip to content

Conversation

nolan-veed
Copy link
Contributor

Why

For #759
And #360

Hello @gavv, I can work on those tickets. I do have some previous unix experience, but about 15 years ago :)

I was able to install FreeBSD-14.3 in a VirtualBox VM. The sshfs mount roc-toolkit from my host dev machine. I can then code in VSCode.

What

  • Build fixes.

Testing

WIP.

@rocstreaming-bot rocstreaming-bot added the contrib PR not by a maintainer label Oct 2, 2025
@nolan-veed
Copy link
Contributor Author

nolan-veed commented Oct 2, 2025

Progress notes

These packages are to be installed:

pkg install scons-py311
pkg install pkgconf
pkg install libuv
pkg install libunwind
pkg install libatomic_ops
pkg install speexdsp
pkg install libsndfile
pkg install ragel
pkg install gengetopt
pkg install sox

I was unable to find libopenfec, so I could only build with:

scons --disable-openfec

Todos

  • Figure out where to get libopenfec from.
  • CI script changes.
  • Manual testing of the binaries.

@rocstreaming-bot rocstreaming-bot added the S-work-in-progress status: PR is still in progress and changing label Oct 2, 2025
@nolan-veed
Copy link
Contributor Author

Progress notes

More packages needed installing:

pkg install doxygen
pkg install cpputest

Then I was able to do builds with tests:

scons -Q \
  --enable-werror --enable-debug --enable-tests \
  --enable-examples --enable-doxygen test --disable-openfec 

And the tests passed.

Todos

  • google-benchmark isn't available in packages, and a --build-3rdparty=google-benchmark fails. Fix it.

@baranovmv
Copy link
Member

Hi @nolan-veed Thank you for your interest.
Have you tried adding an option to build openfec from the sources?

scons -Q --build-3rdparty=openfec

If not, please do, and check if the tests pass

@nolan-veed
Copy link
Contributor Author

I had to also install cmake:

pkg install cmake

And then I could do benchmarks:

scons -Q --build-3rdparty=openfec,google-benchmark \
  --enable-werror --enable-debug --enable-tests --enable-benchmarks \
  --enable-examples --enable-doxygen test bench

Thanks @baranovmv. I'm assuming we're ok with using --build-3rdparty=... as a fallback? Or do we want to try and build all third party stuff without using system packages?

I'll move on to CI & doc stuff - another PR. We can merge this?

@nolan-veed nolan-veed marked this pull request as ready for review October 3, 2025 10:11
@rocstreaming-bot rocstreaming-bot added S-ready-for-review status: PR can be reviewed and removed S-work-in-progress status: PR is still in progress and changing labels Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contrib PR not by a maintainer S-ready-for-review status: PR can be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants