Chromium Windows


#1

I know there was some talk about it some time ago but I was wondering if anybody has had any luck incorporating chromium on the Windows platform lately?

 


#2

I am currently start to investigate same subject, but not have solution yet.

The first problem encountered is typedefs of int variants, such as int8, uint8, etc. Looks JUCE (defined in juce_MathsFunctions.h)  and Chromium (defined in src/base/basictypes.h) both define these types in global namespace, thus caused error below:

error C2872: 'uint32' : ambiguous symbol

This is the first roadblock, any suggestion?

Below is my environment:

  • Visual Studio 2013 Ultimate
  • Chromium code is 39.0.2171
  • Windows 7 64-bit

#3

I think if you include the juce headers after the cef headers that problem will go away. You could also
#define DONT_SET_USING_JUCE_NAMESPACE in JuceHeader but then you have to juce:: everything,