The Code Kingdom

viva la programmers!

Skip to content

Awesomium Source Committed To SVN!

Announcements regarding Awesomium

Awesomium Source Committed To SVN!

Postby adam » Sat Mar 07, 2009 9:19 pm

The source of Awesomium v1.01 has just been committed to the SVN!

You can browse the trunk online here:
http://code.assembla.com/awesomium/subversion/nodes/trunk

You can checkout the SVN trunk by using the following URL with your favorite SVN client:
http://my-svn.assembla.com/svn/awesomium/trunk

Tips for Building from Source (on Windows):

You will need to checkout and build the Jan. 9th revision of Google Chromium (both debug and release builds). (Chromium checkout/build instructions)

Checkout Awesomium, making sure that you end up with a directory structure similar to this:

Code: Select all
|
-- Awesomium
|   |
|   -- Awesomium.sln
-- chromium
    |
    -- chromium
       |
       -- src


Open the Awesomium solution and build the 'Awesomium' project-- you should end up with Awesomium.lib and Awesomium.dll in the release directory and Awesomium_d.lib and Awesomium_d.dll in the debug directory. You will also need icudt38.dll to run your executable which you can find in "chromium\chromium\src\chrome\Debug\icudt38.dll".

I have been building Chromium and Awesomium using Visual Studio 2005 SP1-- haven't tested yet with MSVC2008 so it would be helpful if others try it out and report any issues they have.
User avatar
adam
Site Admin
 
Posts: 191
Joined: Tue Feb 03, 2009 11:05 pm


Re: Awesomium Source Committed To SVN!

Postby Falagard » Sun Mar 08, 2009 8:12 am

Thanks :-)

I downloaded Chromium trunk and don't yet have that Jan 9th revision of Chromium so attempted to get it working against trunk just for fun using Visual Studio 2008.

I was able to compile Chromium easily (had to change two projects so that they didn't report warnings as errors to make it compile). I then attempted to compile Awesomium, hit some minor problems here and there with some changes to various functions in Chromium and took about 30 minute to fix things up in Awesomium until it compiled. At this point it hit some linking errors and since it's late I'm calling it quits for tonight.

Just thought I should say thanks and let you know I'm looking into getting it working. Also, it probably won't be too difficult to get this working against Chromium trunk. I put #ifdef _USE_CHROMIUM_TRUNK around the minor changes I made, and defined _USE_CHROMIUM_TRUNK in the project's preprocessor defines.

I'll sync to that Jan 9th revision and see if I can compile Chromium in VS 2008 back at that revision and go from there.

Falagard
 
Posts: 16
Joined: Tue Feb 24, 2009 1:34 am

Re: Awesomium Source Committed To SVN!

Postby Falagard » Mon Mar 09, 2009 6:26 am

Am in the process of getting revision 7852 which was on Jan 9th.

I was able to compile and link Awesomium against the Chromium trunk but had a crash when I attempted to run it at WebViewProxy::asyncStartup when attempting to call WebView::Create

When compiling Awesomium it's not loading the pdbs from Chromium so it's not allowing me to step into the code in Chromium. It gives me a warning that vc90.pdb was not found in the lib folder for each of the Chromium libs that Awesomium links to, and yeah it is in fact in the Chromium/Debug/obj/[LibraryName] folder. I assume in Visual Studio 2005 that'd be called vc80.pdb, but have you seen this issue in VS 2005?

Do you want a patch that has the code to at least allow Awesomium to compile against the most recent version of Chromium? It wasn't a lot of work but I guess it'd save you a few hours of digging around. It's up to you, as I said the changes are wrapped in #ifdefs.

Falagard
 
Posts: 16
Joined: Tue Feb 24, 2009 1:34 am

Re: Awesomium Source Committed To SVN!

Postby Falagard » Mon Mar 09, 2009 9:21 pm

Got Chromium Jan 9th and Awesomium compiling in VS 2008 without problems.

Here's that patch if you want it:

http://www.larabie.net/stuff/AwesomiumC ... runk.patch

I also had to add a couple additional paths and libraries to the vcproj but didn't include that in the patch.

Falagard
 
Posts: 16
Joined: Tue Feb 24, 2009 1:34 am

Re: Awesomium Source Committed To SVN!

Postby adam » Tue Mar 10, 2009 1:24 am

Thanks a lot for sharing your patch for compiling against trunk! I've needed to update to trunk but have been putting it off because I wanted to stabilize the current build first so thanks for taking the first steps to doing this.

Can't say I've had the same issues with the *.pdb files under MSVC8.

Glad to hear that you got everything building correctly with the Jan. 9th revision on MSVC9. Do you happen to still experience the same issue with WebViewListener::onCallback as you did before with MSVC9 and the SDK?
User avatar
adam
Site Admin
 
Posts: 191
Joined: Tue Feb 03, 2009 11:05 pm

Re: Awesomium Source Committed To SVN!

Postby rainkekeke » Wed Jul 08, 2009 6:25 am

But the Chromium Jan 9th has many revisions(from7733 to 7801),I got revision 7800 , chromium can combile, but when combile with awesomium , got many problems, sush as:
fatal error C1083: cannot open include file:“net/base/io_buffer.h”: No such file or directory
and I search for io_buffer.h in the whole chromium source and cannot find it.
I don't know which revision on Jan 9th can work? Can somebody help me ? Thanks~

rainkekeke
 
Posts: 4
Joined: Thu Jun 04, 2009 4:20 am

Re: Awesomium Source Committed To SVN!

Postby adam » Mon Jul 13, 2009 10:46 am

The build of Awesomium in the SVN trunk currently uses Chromium revision 11619.
User avatar
adam
Site Admin
 
Posts: 191
Joined: Tue Feb 03, 2009 11:05 pm

Re: Awesomium Source Committed To SVN!

Postby la_beuze » Mon Dec 28, 2009 12:54 pm

I try to get Awesomium source but the link
http://code.assembla.com/awesomium/subversion/nodes/trunk
give me an error : The page you were looking for doesn't exist.

How can I get Awesomium source
Thanks

la_beuze
 
Posts: 1
Joined: Mon Dec 28, 2009 11:43 am


Return to Announcements

Who is online

Users browsing this forum: No registered users and 1 guest