Git Product home page Git Product logo

Comments (16)

gavv avatar gavv commented on August 26, 2024 1

Have no permissions to add a label, also I don't see the board.

Not good. I've selected a different permission level (triage -> write) for the go team, could you check now?

from roc-go.

gavv avatar gavv commented on August 26, 2024 1

.pc generation & installation landed in develop branch. scons install will now install roc.pc.

cc @fusuiyi123

from roc-go.

Asalle avatar Asalle commented on August 26, 2024 1

cool, then I'll test it locally with develop, push to a branch and create a pr later when the changes will be available on master (they are still not there as of now)

from roc-go.

gavv avatar gavv commented on August 26, 2024

I've updated roc-streaming/roc-toolkit#271

from roc-go.

Asalle avatar Asalle commented on August 26, 2024

Can you add a label "blocked" or "camping"? Or can you give me the permissions to add tags? :3

from roc-go.

gavv avatar gavv commented on August 26, 2024

Hm, I don't see such a permission in settings.

Probably it's better to user projects for that? Like we do it in core: https://github.com/roc-project/roc/projects/2

I've enabled projects for the repo, you can try it (do you have permissions?). Or I can just create the label, I'm OK with that too.

from roc-go.

Asalle avatar Asalle commented on August 26, 2024

from roc-go.

Asalle avatar Asalle commented on August 26, 2024

works! thanks

from roc-go.

Asalle avatar Asalle commented on August 26, 2024

from roc-go.

Asalle avatar Asalle commented on August 26, 2024

now that I've looked into it, is this feature relevant? The only place where we use the C includes are comments like

/*
#include <roc/address.h>
*/
import "C"

which work regardless if one uses pkg-config or just installed them with their distribution's package manager.

from roc-go.

gavv avatar gavv commented on August 26, 2024

If the user installed roc into a prefix which is not in default include or library search path list, compilation will fail. pkg-config will solve this issue.

A real-world examples. When you're using SoX library you should write:

#include <sox.h>

On most distros, sox.h is located at /usr/include/sox.h and include works without any pkg-config.

However, on some CentOS version, for some reason maintainers decided to install that file at /usr/include/sox/sox.h. On those CentOS systems pkg-config for SoX returns -I/usr/include/sox. If you're using pkg-config, everything works, but without it your include fails.

So yes, we still need pkg-config, though it's not critical.

Note that pkg-config generation is currently available only in develop, while bindings are using master.

from roc-go.

gavv avatar gavv commented on August 26, 2024

Example of using pkg-config with cgo: https://github.com/aam335/speexdsp/blob/master/speexdsp.go#L4

from roc-go.

gavv avatar gavv commented on August 26, 2024

We'll also need to migrate bindings to new api from 0.2.

from roc-go.

gavv avatar gavv commented on August 26, 2024

I guess we need a separate issue and branch for that.

from roc-go.

Asalle avatar Asalle commented on August 26, 2024

@gavv did you release 0.2 already? cannot find it anywhere

from roc-go.

gavv avatar gavv commented on August 26, 2024

@Asalle Hi, no, 0.2 isn't released yet. It's still in the develop branch. The API of 0.2 is mostly stabilized; it will be changed a bit before final release, but I expect only minor changes. So I think we can start migration of bindings to 0.2, maybe in a separate branch (maybe also call it develop for convenience).

from roc-go.

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.