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

Windows build fails (Flash) #8

Open
ashes999 opened this issue Mar 17, 2015 · 2 comments
Open

Windows build fails (Flash) #8

ashes999 opened this issue Mar 17, 2015 · 2 comments

Comments

@ashes999
Copy link

I used to be able to build this on Flash. (The API doesn't work on Windows, which is fine.) Now, I get an error about a missing ndll/Windows file (don't recall which one).

I noticed there's no Windows directory in your repository, either. Is this something I need to fix locally or is a change required to the repository?

@josuigoa
Copy link
Owner

Are you trying to use this lib for Flash? it only works for mobile.

If you import the lib in your project.xml in this way: <haxelib name="CameraMic" if="mobile" /> it will only load the library when targeting mobile. So it won't be looking for ndll/Windows.
Then in your code you should access to CameraMic class between #if mobile ..... #end

@ashes999
Copy link
Author

I'm not trying to use it on Flash. I'm just trying to get it to compile on Flash. It used it work, but now it complains about a missing ndll/Windows file.

I'll try adding if="mobile" to the project XML and see if that fixes it. I already have the calls wrapped in #if mobile.

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

2 participants