VS2008?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

VS2008?

Postby jerryevans » Thu Sep 17, 2009 6:18 am

Hi

The host for embedding is built using VS2008 as are my current Chromium builds. The VS upgrade wizard barfs on the 05 project files as it cannot load the linked .vsprop files. Do the vsprop files change frequently enough to warrant a scripted solution or will a once-off manual conversion suffice?

On a more general note, what thoughts on '08 in the CEF context - is it worth having an 08 binary release?

ATB

Jerry
jerryevans
Techie
 
Posts: 30
Joined: Tue Sep 08, 2009 5:30 am

Re: VS2008?

Postby magreenblatt » Thu Sep 17, 2009 8:52 am

Hi Jerry,

I'm a bit surprised that you're having problems with the .vsprop files, since Chromium uses the same .vsprop files with both VS2005 and VS2008. Can you post the specific error message that you're getting?

The "conversion" from VS2005 to VS2008 is primarily just changing the version number. You could handle that easily using a script, but the best long-term solution is to gyp-ify the CEF project: http://code.google.com/p/chromiumembedd ... tail?id=48

If you run into other problems building with VS2008 this issue thread has a number of helpful suggestions:
http://code.google.com/p/chromiumembedd ... tail?id=26

I'm keeping the primary CEF development environment in sync with Chromium, and Chromium currently prefers VS2005. That said, I have no technical objection to providing a VS2008 binary release. It just takes time to build it :-)

Regards,
Marshall
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: VS2008?

Postby heshiming » Thu Sep 17, 2009 10:10 am

The problem with .vsprop isn't due to Visual Studio version. It's related to the source tree SVN revision. Sometimes a .vsprop file is removed from one project and the other one hasn't catch up yet. Make sure that you have both the latest chromium tree and CEF, or otherwise, the revision noted in the changelog, and put "chromiumembedded" folder right under "src" of chromium. VS 2008 should have no problem compiling after upgrading the project files.
heshiming
Techie
 
Posts: 29
Joined: Fri Jul 31, 2009 1:59 am

Re: VS2008?

Postby jerryevans » Wed Sep 23, 2009 12:12 pm

magreenblatt wrote:Hi Jerry,

I'm a bit surprised that you're having problems with the .vsprop files, since Chromium uses the same .vsprop files with both VS2005 and VS2008. Can you post the specific error message that you're getting?



Hi Marshall - no specific error, it just claims the conversion cannot take place. I'll try it again and see what gives. It's just possible the file is read-only. The VS wizard ain't, if you see what I mean.

magreenblatt wrote:That said, I have no technical objection to providing a VS2008 binary release. It just takes time to build it :-)


I have the time :)
jerryevans
Techie
 
Posts: 30
Joined: Tue Sep 08, 2009 5:30 am

Re: VS2008?

Postby magreenblatt » Fri Oct 02, 2009 1:29 pm

Revision 50 adds GYP support making it easy to build CEF with both VS2005 and VS2008. Run the cef_create_projects.bat script in the CEF root directory to generate Visual Studio project files from the GYP configuration. If both VS2005 and VS2008 are installed on your system you can set the GYP_MSVS_VERSION environment variable to "2005" or "2008" before running cef_create_projects.bat to create project files for that version.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: VS2008?

Postby magreenblatt » Tue Aug 31, 2010 3:17 pm

Starting with revision 100 binary releases of VS2008 libraries are now provided from the project Downloads page.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 63 guests