Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9136653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:58:51+00:00 2026-06-17T08:58:51+00:00

Recently I discovered there are C++ bindings for PortAudio, so to keep things nice

  • 0

Recently I discovered there are C++ bindings for PortAudio, so to keep things nice and Object-Oriented I’m converting from the normal PortAudio C-functions to the C++ bindings. However, I ran into trouble with the callback function.
I try to create a stream in the following way:

stream = new portaudio::MemFunCallbackStream<OutputChannel>(params, *this, &OutputChannel::output);

This call is made in a method of the OutputChannel-class. This same class contains the method which should function as a callback, hence the ‘this’ I’m passing to the MemFunCallbackStream-method.
However when building, the linker gives an error:

Undefined symbols for architecture x86_64:
  "_Pa_OpenStream", referenced from:
      portaudio::MemFunCallbackStream<OutputChannel>::open(portaudio::StreamParameters const&)in outputchannel.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status

I’m sure the PortAudio library is loaded, since some other (diagnostic) methods do work.
What may be causing this error?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T08:58:52+00:00Added an answer on June 17, 2026 at 8:58 am

    Argh, I feel stupid. Somehow, the library was no longer linked to my application, although it was before. So the error was due to a missing library after all. Problem solved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently discovered, however, that all public functions are displayed in the Insert Function
I'm learning C++ (coming from java) and recently discovered that you can pass functions
I recently discovered GWT-Platform (GWTP) and am loving the architecture. However, I'm finding that
As I recently discovered to my cost, doing an await when there's no synchronization
I've recently discovered that there is no need to declare a getter as a
I've recently discovered that you can use SUBTOTAL for various functions which allow you
I've recently discovered that there are several useful templates (in Eclipse) that can be
Recently I discovered WPF supports different measurement units in XAML. Besides default DIPs, there
I've recently discovered a website which does something really cool! Example: There are two
I recently discovered you can compile JScript into console apps using a built in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.