-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
cefsharp 37 build getting failed with VS2010, what to do? #810
Comments
You can do this: With VS2010 for building CefSharp from source you need to provide a The reason is core CefSharp developers currently only have VS2012 and VS2013. |
NuGet Restore is completed at my side. |
If you look inside the It's a matter of:
|
I am so sorry because asking you so basic things. But I have done first two steps. I downloaded |
No problem! Both writing and understanding stuff like this just via short text descriptions is hard. But I'm sure we'll succeed in the end 😄 Now it's me who is confused about what you write ... So I'm not sure how far you got? Did you run If build worked and you're stuck with step 3. then googling for "NuGet local package" should give https://docs.nuget.org/Create/Hosting-Your-Own-NuGet-Feeds#creating-local-feeds as one of the first hits. |
Thanks for your such a nice motivation 😄 :P. well as you said I run PS C:\Users\amoghs> E:\Downloads\cef-binary-master_V37\cef-binary-master\build.ps1
I have checked with connectivity, firewall as well as proxy server. it's all seems fine. |
You're welcome. You know ... we try ... 😄 Hmm, some time since I actually have used that script. And because I already have that file I won't experience any download problem/hit that line in the code. Does downloading http://nuget.org/nuget.exe and manually placing it into your |
@rover886 Are you building a custom version of |
@amaitland no I am not building custom version of |
You can use the https://github.com/cefsharp/CefSharp#nuget-packages Official versions require
You can use |
@amaitland i installed VC++2012 and tried to build but it's still giving me build error
|
This is a C++ build error. So it seems you are still trying to build CefSharp. Why not use NuGet? |
@jankurianski By nuget I get message as |
So you are getting this error when building your C# solution? Could you post the full output of the build action? |
Yes I am getting error while building C# solution. Here is build output : 1>------ Build started: Project: CefSharp, Configuration: Debug x86 ------ |
I'd still strongly recommend using the
Providing the build error for that problem is likely to be far more productive. I'd highly recommend reading https://github.com/cefsharp/CefSharp/wiki/Trouble-Shooting, specially the parts about |
Yes I also like that nuget will do all the stuff, but don't know why its' not working or where I am doing wrong. I already read trouble shooting article and I have taken care that all projects are set to x86/win32. Hey I remember one thing, while opening solution file for the first time I changed targeting framework version to 4.0, is this the reason of getting fail or as @jornh said at #810 (comment) I need to build |
What is the exact error your seeing? |
error LNK1104: cannot open file 'libcef_dll_wrapper.lib I have updated my last comment. |
If your trying to build If your just wishing to use https://www.nuget.org/packages/CefSharp.WinForms/ Examples of consuing the release For reference |
Yes!!! 😄 Finally I am successful to build master in @jornh, @amaitland, @jankurianski you guys helped me a lot by giving proper direction time to time with immediate reply. Thnaks 😄 🎁. @jornh if you permit I will like to close this issue by writing small guide which will help other user to build 😄 😄 😄 |
Great! I think we can all relate to that feeling of needing to celebrate 👍 @amaitland and @jankurianski I guess there still might be value in being able to build from source for people wanting to step into our libs to help figure out how things work. (And it's our secret weapon to convert users into forkers and suddenly committers). But I realize the need to support Another possibility I'm pondering is if it would make sense to add a Yes @rover886 by all means do share your experiences. It gets harder over time for us in the project to see things from the angle of a newcomer to the project. Personally I'm a bit curious about the NuGet.exe download issue in #810 (comment)? I think this is a point where |
Oh well, guess I spoke too soon forgot entirely that the examples are now .NET 4.5 and this not appropriate for VS2010. Guess we should just encourage people to use VS2012+ and discourage VS2010 source builds. Dooh! |
@jornh I am frustrated with download issue with nuget I don't konw it's just me who is facing this issue or what, I posted one question on other forum, also I contacted to you via nuget. I am just thinking to post new question that is coming in my mind is about .NET version, is it really necessary to use .NET4.5 😄 hope so you will answer it 😄 |
Yes and I posted a comment to your question on http://stackoverflow.com/questions/28541343/cefsharp-winforms-nuget-download-issue so go there and look. Also pinging us on NuGet.org in addition won't do any good other than flooding our inboxes basically. Please understand CefSharp is just a spare time "hobby" for us. .NET 4.5 only recently was added as a requirement to only the |
Make sure you have the latest
Make sure you have
As |
Closing due to lack of feedback. Please note that I've also changed the It should be more reliable for our |
Trying to reopen the issue ... |
@tafia you can manually keep VC++ 2012 files in your application folder (files must be parallel to cefSharp DLLs). Following files are needed:
I achieved this by adding all above files as module in setup and deployment project, so there is no need to install VC++ 2012 per machine. I hope this will solve your problem. |
@rover886 Excellent suggestion 👍 |
@rover886 thanks! |
I have downloaded cefSharp-master.zip and oped in VS2010 downloaded packages from nuget. When I build solution I get errors as follows:
error LNK1104: cannot open file 'libcef_dll_wrapper.lib
error LNK1181: cannot open input file 'libcef_dll_wrapper.lib
What can I do?
The text was updated successfully, but these errors were encountered: