-
Notifications
You must be signed in to change notification settings - Fork 478
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
How to build with Visual Studio 2008? #26
Comments
Comment 1. originally posted by magreenblatt on 2009-06-02T14:10:51.000Z: At a minimum you will need to download the CEF source code and build |
Original comment by Anonymous. Comment 2. originally posted by leahayes on 2009-06-02T19:02:08.000Z: Thanks for your fast reply. I have downloaded the files from the "Source" tab on this page. When I try to open the "cef.sln" solution in Visual C++ 2008 Professional it attempts to convert the project, but this fails. I have also attempted to open just the "libcef_dll_wrapper" project, but conversion on that also fails. I created an empty project and added the wrapper file. When building I get a huge list of link 1>Linking... I have downloaded the Chromium source, and placed the "cef" folder inside the chromium directory (so that the relative paths match). However, when loading "cef.sln", Visual Studio is unable to load any of Just to clarify, I want to compile (and modify) the "cefclient" application using VS2008. I am completely lost here. |
Comment 3. originally posted by magreenblatt on 2009-06-02T19:15:31.000Z: Did you download the revision of the Chromium sources indicated by the |
Original comment by Anonymous. Comment 4. originally posted by tux316 on 2009-06-03T01:24:51.000Z: leyhayes, I have VS2008 and have successfully built CEF with it. This page will be your best It was a hassle trying to get all the elements in place, but once you do, it will all |
Original comment by Anonymous. Comment 5. originally posted by bamaboy1217 on 2009-06-03T01:30:30.000Z: Key important things to remember (this kept me from building the source for a few A) No Spaces in your chromium directory PERIOD! - it will not work Once you do this you may build cef from the cef.sln file. You may also modify the Good Luck. |
Original comment by Anonymous. Comment 6. originally posted by leahayes on 2009-06-03T16:18:48.000Z: Thanks for your advice, I was not aware of different revisions. Visual Studio is now finding the project files, the ".sln" files were missing from my I have been running "gclient" with the following: gclient sync --revision src@ 17397 --force Thanks again! |
Original comment by Anonymous. Comment 7. originally posted by tux316 on 2009-06-03T17:15:27.000Z: Did you run: gclient config http://src.chromium.org/svn/trunk/src ? |
Original comment by Anonymous. Comment 8. originally posted by leahayes on 2009-06-03T17:47:00.000Z: Yes, before I downloaded using the --revision argument I removed my prior download of Each time I synchronize the trunk, new files and folders appear. For example, a For example, I am missing a header file "CSSPropertyNames.h". I have no way of |
Original comment by Anonymous. Comment 9. originally posted by leahayes on 2009-06-03T21:54:05.000Z: I have tried everything again, I am still not getting any further. Here are some of the compilation errors that I am receiving (there are 122 errors in total): Error 1 Error result 2 returned from 'C:\WINDOWS\system32\cmd.exe'. Project pcre |
Comment 10. originally posted by magreenblatt on 2009-06-03T23:39:22.000Z: CSSPropertyNames.h and related files are generated by the webcore project, so |
Original comment by Anonymous. Comment 11. originally posted by leahayes on 2009-06-03T23:55:41.000Z: Here is some of the compilation log view, perhaps this may shed some light? 1>------ Build started: Project: webcore, Configuration: Debug Win32 ------ |
Comment 12. originally posted by magreenblatt on 2009-06-04T00:04:30.000Z: Looks like you're experiencing the same problem as this person: http://groups.google.com/group/chromium-dev/browse\_thread/thread/f77184379418e6f0 |
Original comment by Anonymous. Comment 13. originally posted by leahayes on 2009-06-04T00:10:59.000Z: How do I do the following for revision 17397 of Chromium?
|
Comment 14. originally posted by magreenblatt on 2009-06-04T00:57:40.000Z: I'm not exactly sure what that means, since the only way I'm aware of to synchronize If you have problems building chrome.sln as specified in the build instructions then |
Original comment by Anonymous. Comment 15. originally posted by tux316 on 2009-06-04T04:20:03.000Z: We on our side had this issue as well. From my understanding this basically means In Solution Explorer go to the properties of the project called pcre, it should be Go to Properties -> Build Events -> Pre-Build Event On Command Line put: This will execute "YourPath:\chromiumtrunk\src\third_party\cygwin\setup_mount.bat" Note that this is must be done from the Cef.sln solution, not the Chromium one. If it worked successfully you should see something like: 1>------ Build started: Project: pcre, Configuration: Debug Win32 ------ |
Original comment by Anonymous. Comment 16. originally posted by leahayes on 2009-06-04T17:34:29.000Z: Thanks again for your help, it is very much appreciated. That has certainly improved things, I am now getting that output for "pcre". I am 1>------ Build started: Project: webcore, Configuration: Release Win32 ------ |
Original comment by Anonymous. Comment 17. originally posted by leahayes on 2009-06-04T22:57:58.000Z: I have finally got it to work!! It was a mixture of needing to add the pre-build event, and I needed to install the Thanks for all of the help! Lea Hayes |
Comment 18. originally posted by magreenblatt on 2009-10-02T18:28:14.000Z: Revision 50 adds GYP support making it easy to build CEF with both VS2005 and VS2008. |
Original comment by Anonymous. Comment 19. originally posted by dmitry.sychov on 2010-02-08T03:33:23.000Z:
i see no such file in last rev (r66) |
Comment 20. originally posted by magreenblatt on 2010-02-08T14:19:03.000Z: You need to download and build from source. Follow the instructions on the project |
Original comment by Anonymous. Comment 21. originally posted by Sehraya.Sonika on 2010-02-26T09:37:08.000Z: hi, I am trying to build chrome latest browser code on windows (VS2008) I am getting many errors like: and many more like these. Any idea why these errrors are coming and how to fix them. Any help will be highly appreciated. Regards |
Comment 22. originally posted by magreenblatt on 2010-02-26T15:20:51.000Z: First, you should be using the chromium revision specified in |
Original comment by Anonymous. Comment 23. originally posted by Sehraya.Sonika on 2010-03-01T07:55:26.000Z: I want latest code so i found 4.0.249.89(38071) this is latest stable build on So i synced 38071 using this command : gclient sync --revision src@ 38071 and i removed Debug folder before building and give rebuild. Still same errors are coming. 7 builds are failing . any idea why v8*.h errors are coming? Please help... Thanks and Regards |
Original comment by Anonymous. Comment 24. originally posted by Sehraya.Sonika on 2010-03-02T09:48:06.000Z: I am succesfully able to build the code. Now the issue is while running chrome browser , weblink is not opening. I am getting this message" The following page have become unresponsive.You can wait Did anyone face this issue? Sonika |
Original comment by Anonymous. Comment 25. originally posted by sujiewen on 2010-03-27T13:09:31.000Z: 9>AssertionError |
Comment 26. originally posted by magreenblatt on 2011-04-18T14:42:26.000Z: VS2008 is the currently the main development platform for Chromium and CEF and is known to build successfully. Please use the CEF Forum for help with any future build problems. |
|
Original report by Anonymous.
Original issue 26 created by leahayes on 2009-06-02T13:53:06.000Z:
Hi,
I have just found this project and am trying to compile it using Visual
Studio 2008. I keep getting a link error where "libcef_dll_wrapper.lib" was
built using an older version.
I do not have access to Visual Studio 2005 any more, and it appears that
Microsoft no longer offer an express edition download of Visual C++ 2005.
What is the solution to this problem?
Many thanks,
Lea Hayes
The text was updated successfully, but these errors were encountered: