Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link Error: cannot open input file 'portaudio.lib' #156

Open
reposefulGrass opened this issue Jun 10, 2017 · 7 comments
Open

Link Error: cannot open input file 'portaudio.lib' #156

reposefulGrass opened this issue Jun 10, 2017 · 7 comments

Comments

@reposefulGrass
Copy link

link error

@reposefulGrass
Copy link
Author

This is on Windows 10.

@charleslockner
Copy link

Having this same issue for most of the projects under RustAudio on windows 10. I assume the intention is for portaudio to be built statically and able to be linked to without the user having to download and compile portaudio.lib themselves?

@charleslockner
Copy link

Also fails to compile on OSX if the user hasn't yet installed a portaudio lib.

@hrydgard
Copy link

Still happens. Is anyone maintaining this library?

@nyanpasu64
Copy link

nyanpasu64 commented Sep 8, 2019

I built portaudio myself (takes like 5 seconds once you set up cmake, msvc x64, release). Where do I put portaudio.lib to prevent this error from occurring? I tried placing it in %PATH% which didn't work.

Looking at the LINK.EXE command line, turns out libraries go in (project)\target\debug\deps. Putting portaudio.lib there fixes the issue.

@TheRadioGuy
Copy link

So, how to build that?

@Julian-Alberts
Copy link

This resolved the issue for me. #71 (comment) It is obviously not the best solution but for a private project it should be good enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants