Navigation Menu

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 : fatal error LNK1181: cannot open input file 'libsqlite3.lib' #478

Closed
alejandrovelozb opened this issue May 3, 2016 · 4 comments
Closed

Comments

@alejandrovelozb
Copy link

Hey guys Im getting this error, Im not concerned about the warnings, just for the 'libsqlite3.lib'. There's something I can do?

1>------ Build started: Project: IAR (IAR\IAR), Configuration: Debug Win32 ------
1>C:\Users\alejandro.veloz\Documents\GitHub\iar-mobile\src\ios\errs/CellForRespondNow.h(14,53): warning : property type 'UIImageView *' is incompatible with type 'UIImage *' inherited from 'UITableViewCell' [-Wincompatible-property-type]
1>C:\Users\alejandro.veloz\Documents\GitHub\iar-mobile\src\ios\errs\BSGoogleV3KmlParser.m(40,13): warning : 'setShouldProcessNamespaces:' is deprecated: property not yet implemented [-Wdeprecated-declarations]
1>LINK : fatal error LNK1181: cannot open input file 'libsqlite3.lib'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

@asimonov-msft
Copy link
Contributor

@alejandrovelozb Unfortunately, our SDK currently does not provide libsqlite3. For now, the workaround is as follows:

  1. Go to https://www.sqlite.org/download.html and download a VSIX for Universal Windows Platform.
  2. Install the VSIX on your machine.
  3. In Visual Studio Solution Explorer, right-click on your project and select Add -> Referece...
  4. Under Universal Windows -> Extensions select SQLite for Universal App Platform
    image

@alejandrovelozb
Copy link
Author

alejandrovelozb commented May 4, 2016

Thank you! But now I have another issue there's another lib

1>LINK : fatal error LNK1181: cannot open input file 'libstdc++.lib'

They gave me this project and its kind of big and have a lot of libs, what would you recommend, try to find libs that would work as the old ones, or starting from scratch?

@asimonov-msft
Copy link
Contributor

@alejandrovelozb In regards to libstdc++.lib, try removing it from the Linker arguments (Linker -> Input -> Additional Dependencies) and see what happens.
For libraries in general, you'll need to find pre-compiled UWP ones (e.g. libsqlite3 above) or try to compile them from scratch.

@asimonov-msft
Copy link
Contributor

I'm closing the issue for now.

I have create a separate issue #486 to track adding libsqlite3 to our SDK.

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