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

  • Home
  • SEARCH
  • 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 7963669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:39:36+00:00 2026-06-04T05:39:36+00:00

Hi stack overflow users. Error description: For a mini project I have decided to

  • 0

Hi stack overflow users.

Error description:

For a mini project I have decided to use the portaudio library (I use Windows 7 64-bit and C++): http://portaudio.com/

Before even using the library I had to build a .DLL file in another Visual Studio Project and then link the output to my own visual studio 2010 project (32-bit). I tried to use this simple piece of code:

#include <iostream>
#include <portaudio.h>
using namespace std;
void main()
{
  cout << "Hello World!" << endl;   cout << "Welcome to C++ Programming" << endl; }

I get this error message:
fatal error C1083: Cannot open include file: ‘portaudio.h’: No such file or directory

I personally don’t think it is the creation of the .DLL that is the issue but more a linking issue.

My attempt:

First of all I have attempted to follow this guide: http://portaudio.com/docs/v19-doxydocs/compile_windows.html

By following this guide, I got a compiled .DLL and .Lib files inside the release folder(Image 1):

Afterwards I try to link my visual studio 2010 with portaudio_x86.lib and include the directory where it is located (The output folder of the .DLL creation)(Image 2 and 3)

I myself have very poor experience with using external libraries and even less experience when compiling them yourself. I have only a little experience with previous programming, so I am pretty sure it is just me missing something vital.

The folder filled with the .DLL and .Lib filesTelling the linker which library to include
Telling the project what directory to include (In this case, the folder where the .DLL and .Lib is

  • 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-04T05:39:39+00:00Added an answer on June 4, 2026 at 5:39 am

    The compiler fails to find the portaudio.h header file. As per the last screenshot, in Additional Include Directories, you need to point to the directory where the <portaudio.h> file is, not where the binaries (.lib, .dll) are. The path to the .lib file needs to either be specified explicitly (as in the next to the last screenshot, not just portaudio.lib but the full path) or set in the VC++ Directories property page, which is also the preferred place to set your include directories.

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

Sidebar

Related Questions

Similar Stack Overflow Question I want users to be able to search through my
I'm working on a project and I want to log into Stack Overflow via
I have taken a look around Stack Overflow on the topic of onblur but
I have tried setting this up based on previously asked questionshere on stack overflow
Hello Stack Overflow Experts, i have need of your expertice: I am trying to
I know many people have had this problem and I have searched Google/Stack Overflow,
This is my first question here. I have been searching Stack Overflow and other
Hello Users of Stack Overflow! I'm having an issue with a program I'm attempting
Attempting to import a TextProperty, similar to another Stack Overflow question (http://stackoverflow.com/questions/3434090/app-engine-badvalueerror-on-bulk-data-upload-textproperty-being-construed-as-s) After adding
I have tried to implement Stack Overflow question C++ Data Member Alignment and Array Packing

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.