How to generate a solution file and build from visual studio

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.

How to generate a solution file and build from visual studio

Postby mjha » Fri Mar 13, 2015 3:49 pm

Hell I downloaded the build 2171 using the automate-git. Now I want to create a solution file and use visual studio to build it.

I have seen in forums that people are able to generate cef.sln and then use to build it. How do I do that ?

Thanks,
Mohit
mjha
Techie
 
Posts: 41
Joined: Fri Mar 13, 2015 3:47 pm

Re: How to generate a solution file and build from visual st

Postby magreenblatt » Sun Mar 15, 2015 5:49 pm

See the comment about GYP_GENERATORS here: https://code.google.com/p/chromiumembed ... rom_Source
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: How to generate a solution file and build from visual st

Postby mjha » Mon Mar 16, 2015 11:48 am

Thanks I followed the instruction and was able to get a solution file. But when I build from visual studio solution , I get the below error

Error 1 error : No inputs specified E:\zs\chromium\src\third_party\ffmpeg\generate_stubs.py ffmpegsumo
Error 2 error MSB6006: "cmd.exe" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170 5 bindings_modules_v8_generated_individual
Error 3 error : No inputs specified E:\zs\chromium\src\third_party\ffmpeg\generate_stubs.py ffmpeg
Error 4 error MSB3721: The command "call python "..\..\tools\generate_stubs\generate_stubs.py" "-i" "..\..\build\Debug\obj\ffmpeg\" "-o" "..\..\build\Debug\lib" "-t" "windows_lib" "chromium\ffmpegsumo.sigs"" exited with code 2. E:\zs\chromium\src\third_party\ffmpeg\ffmpeg.targets 28 5 ffmpeg
Error 5 error MSB6006: "cmd.exe" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170 5 bindings_core_v8_generated_individual
Error 6 error C1083: Cannot open include file: 'bindings/core/v8/V8PluginPlaceholderElement.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\core\html\shadow\PluginPlaceholderElement.cpp 8 1 webcore_html
Error 7 error C1083: Cannot open include file: 'bindings/core/v8/V8Blob.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8BlobCustom.cpp 32 1 webcore_generated
Error 8 error C1083: Cannot open include file: 'bindings/core/v8/V8Blob.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8BlobCustomHelpers.cpp 37 1 webcore_generated
Error 9 error C1083: Cannot open include file: 'bindings/core/v8/V8CSSRule.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8CSSRuleCustom.cpp 32 1 webcore_generated
Error 10 error C1083: Cannot open include file: 'bindings/core/v8/V8CSSStyleDeclaration.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8CSSStyleDeclarationCustom.cpp 32 1 webcore_generated
Error 11 error C1083: Cannot open include file: 'bindings/core/v8/V8CSSValue.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8CSSValueCustom.cpp 32 1 webcore_generated
Error 12 error C1083: Cannot open include file: 'bindings/core/v8/V8CanvasRenderingContext2D.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8CanvasRenderingContext2DCustom.cpp 32 1 webcore_generated
Error 13 error C1083: Cannot open include file: 'bindings/core/v8/V8CustomEvent.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8CustomEventCustom.cpp 32 1 webcore_generated
Error 14 error C1083: Cannot open include file: 'bindings/core/v8/V8DedicatedWorkerGlobalScope.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8DedicatedWorkerGlobalScopeCustom.cpp 32 1 webcore_generated
Error 15 error C1083: Cannot open include file: 'bindings/core/v8/V8Document.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8DocumentCustom.cpp 32 1 webcore_generated
Error 16 error C1083: Cannot open include file: 'bindings/core/v8/V8Element.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8ElementCustom.cpp 32 1 webcore_generated
Error 17 error C1083: Cannot open include file: 'bindings/core/v8/V8ErrorEvent.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8ErrorEventCustom.cpp 32 1 webcore_generated
Error 18 error C1083: Cannot open include file: 'bindings/core/v8/V8Event.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8EventCustom.cpp 32 1 webcore_generated
Error 19 error C1083: Cannot open include file: 'bindings/core/v8/V8EventTarget.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8EventTargetCustom.cpp 32 1 webcore_generated
Error 20 error C1083: Cannot open include file: 'bindings/core/v8/V8File.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8FileCustom.cpp 32 1 webcore_generated
Error 21 error C1083: Cannot open include file: 'bindings/core/v8/V8FileReader.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8FileReaderCustom.cpp 32 1 webcore_generated
Error 22 error C1083: Cannot open include file: 'bindings/core/v8/V8HTMLAllCollection.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8HTMLAllCollectionCustom.cpp 32 1 webcore_generated
Error 23 error C1083: Cannot open include file: 'bindings/core/v8/V8HTMLCanvasElement.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8HTMLCanvasElementCustom.cpp 33 1 webcore_generated
Error 24 error C1083: Cannot open include file: 'bindings/core/v8/V8HTMLDocument.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8HTMLDocumentCustom.cpp 32 1 webcore_generated
Error 25 error C1083: Cannot open include file: 'bindings/core/v8/V8HTMLOptionsCollection.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8HTMLOptionsCollectionCustom.cpp 32 1 webcore_generated
Error 26 error C1083: Cannot open include file: 'bindings/core/v8/V8History.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8HistoryCustom.cpp 32 1 webcore_generated
Error 27 error C1083: Cannot open include file: 'bindings/core/v8/V8InjectedScriptHost.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8InjectedScriptHostCustom.cpp 32 1 webcore_generated
Error 28 error C1083: Cannot open include file: 'bindings/core/v8/V8HTMLAppletElement.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8HTMLPlugInElementCustom.cpp 37 1 webcore_generated
Error 29 error C1083: Cannot open include file: 'bindings/core/v8/V8InspectorFrontendHost.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8InspectorFrontendHostCustom.cpp 32 1 webcore_generated
Error 30 error C1083: Cannot open include file: 'bindings/core/v8/V8JavaScriptCallFrame.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8JavaScriptCallFrameCustom.cpp 32 1 webcore_generated
Error 31 error C1083: Cannot open include file: 'bindings/core/v8/V8Location.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8LocationCustom.cpp 32 1 webcore_generated
Error 32 error C1083: Cannot open include file: 'bindings/core/v8/V8MessageChannel.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8MessageChannelCustom.cpp 32 1 webcore_generated
Error 33 error C1083: Cannot open include file: 'bindings/core/v8/V8MessageEvent.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8MessageEventCustom.cpp 32 1 webcore_generated
Error 34 error C1083: Cannot open include file: 'bindings/core/v8/V8MessagePort.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8MessagePortCustom.cpp 32 1 webcore_generated
Error 35 error C1083: Cannot open include file: 'bindings/core/v8/V8MutationObserver.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8MutationObserverCustom.cpp 32 1 webcore_generated
Error 36 error C1083: Cannot open include file: 'bindings/core/v8/V8PopStateEvent.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8PopStateEventCustom.cpp 32 1 webcore_generated
Error 37 error C1083: Cannot open include file: 'bindings/core/v8/V8TrackEvent.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8TrackEventCustom.cpp 32 1 webcore_generated
Error 38 error C1083: Cannot open include file: 'bindings/core/v8/V8WebGLRenderingContext.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8WebGLRenderingContextCustom.cpp 32 1 webcore_generated
Error 39 error C1083: Cannot open include file: 'bindings/core/v8/V8Window.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8WindowCustom.cpp 32 1 webcore_generated
Error 40 error C1083: Cannot open include file: 'bindings/core/v8/V8Worker.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8WorkerCustom.cpp 32 1 webcore_generated
Error 41 error C1083: Cannot open include file: 'bindings/core/v8/V8WorkerGlobalScope.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8WorkerGlobalScopeCustom.cpp 32 1 webcore_generated
Error 42 error C1083: Cannot open include file: 'bindings/core/v8/V8XMLHttpRequest.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8XMLHttpRequestCustom.cpp 32 1 webcore_generated
Error 43 error C1083: Cannot open include file: 'bindings/core/v8/V8XSLTProcessor.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8XSLTProcessorCustom.cpp 32 1 webcore_generated
Error 44 error C1083: Cannot open include file: 'bindings/core/v8/V8InjectedScriptHost.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\custom\V8InjectedScriptManager.cpp 39 1 webcore_generated
Error 45 error C1083: Cannot open include file: 'bindings/core/v8/V8Document.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\CustomElementConstructorBuilder.cpp 39 1 webcore_generated
Error 46 error C1083: Cannot open include file: 'bindings/core/v8/V8Window.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\DOMWrapperWorld.cpp 39 1 webcore_generated
Error 47 error C1083: Cannot open include file: 'bindings/core/v8/V8DOMError.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\Dictionary.cpp 33 1 webcore_generated
Error 48 error C1083: Cannot open include file: 'bindings/core/v8/V8DOMError.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\DictionaryHelperForCore.cpp 33 1 webcore_generated
Error 49 error C1083: Cannot open include file: 'bindings/core/v8/V8Window.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\PageScriptDebugServer.cpp 39 1 webcore_generated
Error 50 error C1083: Cannot open include file: 'bindings/core/v8/V8Event.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\ScriptController.cpp 42 1 webcore_generated
Error 51 error C1083: Cannot open include file: 'bindings/core/v8/V8JavaScriptCallFrame.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\ScriptDebugServer.cpp 40 1 webcore_generated
Error 52 error C1083: Cannot open include file: 'bindings/core/v8/V8Node.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\ScriptProfiler.cpp 37 1 webcore_generated
Error 53 error C1083: Cannot open include file: 'bindings/core/v8/V8Blob.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\SerializedScriptValue.cpp 36 1 webcore_generated
Error 54 error C1083: Cannot open include file: 'bindings/core/v8/V8Event.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\V8AbstractEventListener.cpp 35 1 webcore_generated
Error 55 error C1083: Cannot open include file: 'bindings/core/v8/V8Element.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\V8Binding.cpp 37 1 webcore_generated
Error 56 error C1083: Cannot open include file: 'bindings/core/v8/V8Element.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\V8CustomElementLifecycleCallbacks.cpp 38 1 webcore_generated
Error 57 error C1083: Cannot open include file: 'bindings/core/v8/V8HTMLCollection.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\V8DOMWrapper.cpp 35 1 webcore_generated
Error 58 error C1083: Cannot open include file: 'bindings/core/v8/V8ErrorEvent.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\V8ErrorHandler.cpp 36 1 webcore_generated
Error 59 error C1083: Cannot open include file: 'bindings/core/v8/V8Window.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\V8EventListenerList.cpp 35 1 webcore_generated
Error 60 error C1083: Cannot open include file: 'bindings/core/v8/V8MutationObserver.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\V8GCController.cpp 37 1 webcore_generated
Error 61 error C1083: Cannot open include file: 'bindings/core/v8/V8Document.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\V8LazyEventListener.cpp 38 1 webcore_generated
Error 62 error C1083: Cannot open include file: 'bindings/core/v8/V8DOMException.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\V8Initializer.cpp 34 1 webcore_generated
Error 63 error C1083: Cannot open include file: 'bindings/core/v8/V8HTMLAppletElement.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\V8NPObject.cpp 37 1 webcore_generated
Error 64 error C1083: Cannot open include file: 'bindings/core/v8/V8MutationObserver.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\V8MutationCallback.cpp 32 1 webcore_generated
Error 65 error C1083: Cannot open include file: 'bindings/core/v8/V8Node.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\V8NodeFilterCondition.cpp 36 1 webcore_generated
Error 66 error C1083: Cannot open include file: 'bindings/core/v8/V8DOMException.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\V8ThrowException.cpp 29 1 webcore_generated
Error 67 error C1083: Cannot open include file: 'bindings/core/v8/V8Event.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\V8WorkerGlobalScopeEventListener.cpp 37 1 webcore_generated
Error 68 error C1083: Cannot open include file: 'bindings/core/v8/V8Document.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\WindowProxy.cpp 38 1 webcore_generated
Error 69 error C1083: Cannot open include file: 'bindings/core/v8/V8DedicatedWorkerGlobalScope.h': No such file or directory E:\zs\chromium\src\third_party\WebKit\Source\bindings\core\v8\WorkerScriptController.cpp 37 1 webcore_generated
Error 70 error C1083: Cannot open include file: 'bindings/core/v8/V8CSSImportRule.cpp': No such file or directory E:\zs\chromium\src\build\Debug\obj\global_intermediate\blink\bindings\core\v8\V8GeneratedCoreBindings01.cpp 31 1 webcore_generated
Error 71 error C1083: Cannot open include file: 'bindings/core/v8/V8CSSValue.cpp': No such file or directory E:\zs\chromium\src\build\Debug\obj\global_intermediate\blink\bindings\core\v8\V8GeneratedCoreBindings02.cpp 31 1 webcore_generated
Error 72 error C1083: Cannot open include file: 'bindings/core/v8/V8AnimationNode.cpp': No such file or directory E:\zs\chromium\src\build\Debug\obj\global_intermediate\blink\bindings\core\v8\V8GeneratedCoreBindings03.cpp 31 1 webcore_generated
Error 73 error C1083: Cannot open include file: 'bindings/core/v8/V8Timing.cpp': No such file or directory E:\zs\chromium\src\build\Debug\obj\global_intermediate\blink\bindings\core\v8\V8GeneratedCoreBindings04.cpp 31 1 webcore_generated
Error 74 error C1083: Cannot open include file: 'bindings/core/v8/V8FontFaceSetForEachCallback.cpp': No such file or directory E:\zs\chromium\src\build\Debug\obj\global_intermediate\blink\bindings\core\v8\V8GeneratedCoreBindings05.cpp 31 1 webcore_generated
Error 75 error C1083: Cannot open include file: 'bindings/core/v8/V8AnimationPlayer.cpp': No such file or directory E:\zs\chromium\src\build\Debug\obj\global_intermediate\blink\bindings\core\v8\V8GeneratedCoreBindings06.cpp 31 1 webcore_generated
Error 76 error C1083: Cannot open include file: 'bindings/core/v8/V8Touch.cpp': No such file or directory E:\zs\chromium\src\build\Debug\obj\global_intermediate\blink\bindings\core\v8\V8GeneratedCoreBindings07.cpp 31 1 webcore_generated
Error 77 error C1083: Cannot open include file: 'bindings/core/v8/V8CSSKeyframesRule.cpp': No such file or directory E:\zs\chromium\src\build\Debug\obj\global_intermediate\blink\bindings\core\v8\V8GeneratedCoreBindings08.cpp 31 1 webcore_generated
Error 78 error C1083: Cannot open include file: 'bindings/core/v8/V8AnimationEffect.cpp': No such file or directory E:\zs\chromium\src\build\Debug\obj\global_intermediate\blink\bindings\core\v8\V8GeneratedCoreBindings09.cpp 31 1 webcore_generated
Error 79 error C1083: Cannot open include file: 'bindings/core/v8/V8CSSViewportRule.cpp': No such file or directory E:\zs\chromium\src\build\Debug\obj\global_intermediate\blink\bindings\core\v8\V8GeneratedCoreBindings10.cpp 31 1 webcore_generated
Error 80 error C1083: Cannot open include file: 'bindings/core/v8/V8FontFaceSetLoadEvent.cpp': No such file or directory E:\zs\chromium\src\build\Debug\obj\global_intermediate\blink\bindings\core\v8\V8GeneratedCoreBindings11.cpp 31 1 webcore_generated
mjha
Techie
 
Posts: 41
Joined: Fri Mar 13, 2015 3:47 pm

Re: How to generate a solution file and build from visual st

Postby magreenblatt » Mon Mar 16, 2015 4:43 pm

mjha wrote:But when I build from visual studio solution , I get the below error

You should build using Ninja from the command-line first. After that completes successfully you can compile/build individual targets from inside the Visual Studio IDE.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: How to generate a solution file and build from visual st

Postby mjha » Mon Mar 16, 2015 7:07 pm

I used the automate-git through which the Dbg and Rel version were build. I presume that it was build using ninja.

Do i need to build both release and debug for all platforms.

When i tried using ninja to build Debug_x64, I am getting these error


ninja: Entering directory `out/Debug_x64'
[1/12313] CC obj\third_party\pdfium\core\src\fxcodec\libjpeg\fxcodec.fpdfapi_jdmarker.obj
[2/12313] CC obj\third_party\pdfium\core\src\fxcodec\libjpeg\fxcodec.fpdfapi_jdtrans.obj
[3/12313] CC obj\third_party\pdfium\core\src\fxcodec\libjpeg\fxcodec.fpdfapi_jmemnobs.obj
[4/12313] CC obj\third_party\pdfium\core\src\fxcodec\libjpeg\fxcodec.fpdfapi_jmemmgr.obj
[5/12313] CC obj\third_party\pdfium\core\src\fxcodec\libjpeg\fxcodec.fpdfapi_jutils.obj
[6/12313] CC obj\third_party\pdfium\core\src\fxcodec\libjpeg\fxcodec.fpdfapi_jdphuff.obj
[7/12313] CC obj\third_party\pdfium\core\src\fxcodec\libjpeg\fxcodec.fpdfapi_jfdctfst.obj
[8/12313] CC obj\third_party\pdfium\core\src\fxcodec\libjpeg\fxcodec.fpdfapi_jfdctint.obj
[9/12313] CC obj\third_party\pdfium\core\src\fxcodec\libjpeg\fxcodec.fpdfapi_jidctfst.obj
[10/12313] ACTION build_promises_module: build_promises_module_bab91909905b56530afd9f49a86ed74d
[11/12313] CC obj\third_party\pdfium\core\src\fxcodec\libjpeg\fxcodec.fpdfapi_jerror.obj
[12/12313] ACTION modules_event_generated: event_interfaces_c9be018d0b6c6a2b86835a41dedf3e37
[13/12313] CC obj\third_party\pdfium\core\src\fxcodec\libjpeg\fxcodec.fpdfapi_jdpostct.obj
[14/12313] ACTION modules_event_generated: EventModulesFactory_c9be018d0b6c6a2b86835a41dedf3e37
[15/12313] ACTION modules_event_generated: EventModulesNames_c9be018d0b6c6a2b86835a41dedf3e37
[16/12313] ACTION modules_event_generated: EventTargetModulesNames_c9be018d0b6c6a2b86835a41dedf3e37
[17/12313] CC obj\third_party\pdfium\core\src\fxcodec\libjpeg\fxcodec.fpdfapi_jdmaster.obj
[18/12313] CC obj\third_party\libwebp\demux\libwebp_demux.demux.obj
[19/12313] CC obj\third_party\pdfium\core\src\fxcodec\libjpeg\fxcodec.fpdfapi_jidctint.obj
[20/12313] LIB obj\third_party\libwebp\libwebp_demux.lib
[21/12313] CC obj\third_party\pdfium\core\src\fxcodec\libjpeg\fxcodec.fpdfapi_jidctred.obj
[22/12313] CC obj\third_party\pdfium\core\src\fxcodec\libjpeg\fxcodec.fpdfapi_jdmerge.obj
[23/12313] CC obj\third_party\pdfium\core\src\fxcodec\libjpeg\fxcodec.fpdfapi_jdsample.obj
[24/12313] CXX obj\third_party\protobuf\src\google\protobuf\stubs\protobuf_lite.atomicops_internals_x86_msvc.obj
[25/12313] CXX obj\third_party\protobuf\src\google\protobuf\io\protobuf_lite.zero_copy_stream_impl_lite.obj
[26/12313] LIB obj\third_party\pdfium\fxcodec.lib
[27/12313] CXX obj\third_party\protobuf\src\google\protobuf\stubs\protobuf_lite.once.obj
[28/12313] CXX obj\v8\src\base\v8_libbase.atomicops_internals_x86_gcc.obj
FAILED: ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\v8\src\base\v8_libbase.atomicops_internals_x86_gcc.obj.rsp /c ..\..\v8\src\base\atomicops_internals_x86_gcc.cc /Foobj\v8\src\base\v8_libbase.atomicops_internals_x86_gcc.obj /Fdobj\v8\tools\gyp\v8_libbase.cc.pdb
cl : Command line warning D9002 : ignoring unknown option '/arch:SSE2'
e:\zs\chromium\src\v8\src\base\build_config.h(111) : fatal error C1189: #error : Target architecture ia32 is only supported on ia32 host
ninja: build stopped: subcommand failed.
mjha
Techie
 
Posts: 41
Joined: Fri Mar 13, 2015 3:47 pm

Re: How to generate a solution file and build from visual st

Postby mjha » Tue Mar 17, 2015 4:05 pm

I am facing a strange issue while doing the build.

1> i took the code 2171 using the automate script.
2> build it using ninja it build properly
3> then generated cef.sln
4> now when i try to build it from inside or from command line using ninja i am getting the below error

Error 3 error MSB3073: The command "call ninja.exe -C ..\out\Debug\ libcef" exited with code 1. E:\zs\chromium\src\cef\libcef.vcxproj 636 5 libcef

after doing a verbose out


FAILED: E:\zs\depot_tools\python276_bin\python.exe gyp-win-tool action-wrapper environment.x86 copy_compiler_dll_target_copy_dll_d5e7737f8056aa69e632ead4d36d2ac1..rsp ..\..\third_party\angle\src
ninja: build stopped: subcommand failed.


Any pointer what I am doing wrong.
mjha
Techie
 
Posts: 41
Joined: Fri Mar 13, 2015 3:47 pm

Re: How to generate a solution file and build from visual st

Postby magreenblatt » Wed Mar 18, 2015 9:31 am

mjha wrote:2> build it using ninja it build properly
3> then generated cef.sln

What did you do between these 2 steps to generate the SLN file?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: How to generate a solution file and build from visual st

Postby mjha » Thu Mar 19, 2015 12:43 pm

I had set the env variables , other than that nothing else.

And when i run cef_create_projects.bat to create the cef.sln, I get few warnings about missing files. Is this expected.

Is there a way to verify that there are no files missing when we e download? Even a simple file count against each build will be great.

Thx,
Mohit
mjha
Techie
 
Posts: 41
Joined: Fri Mar 13, 2015 3:47 pm

Re: How to generate a solution file and build from visual st

Postby magreenblatt » Thu Mar 19, 2015 12:50 pm

mjha wrote:And when i run cef_create_projects.bat to create the cef.sln, I get few warnings about missing files. Is this expected.

Maybe, it depends on what files are missing.

mjha wrote:Is there a way to verify that there are no files missing when we e download?

Not specifically, but you can re-run automate-git.py with the `--force-update` command-line flag.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: How to generate a solution file and build from visual st

Postby mjha » Thu Mar 19, 2015 1:28 pm

I am re-running the automate script.

But if feasible with the build no if we get the file and directory count in the build.
It will help us to verify if the downloads happened properly.
mjha
Techie
 
Posts: 41
Joined: Fri Mar 13, 2015 3:47 pm

Next

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 69 guests