pinkshirt / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

Compilation failed on window -DWITH_SYSTEM_BOOST=on #134

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.source code from git master branch hash:  
8a80c94993400ded3e30c47ad0c3017168163bc0
2. prep2008.cmd examples buildex "-DWITH_SYSTEM_BOOST=OFF" 
"-DBoost_ADDITIONAL_VERSIONS='1.44;1.44.0'" "-DBoost_USE_STATIC_LIBS=ON" 
"-DBOOST_ROOT='%BOOST_ROOT%'" "-DBoost_DEBUG=OFF" "-DCMAKE_BUILD_TYPE=Debug" 
browsers?

What version of your compiler or IDE are you using?
VS 2008, Windows 7 32bit

Please provide any additional information below.
compilation log: 

------ Build started: Project: NpapiCore, Configuration: Debug Win32 ------
Compiling...
------ Build started: Project: EPL_PluginAuto, Configuration: Debug Win32 ------
Generating ../gen/FireBreathWin.tlb, ../gen/FireBreathWin_i.h, 
../gen/FireBreathWin_i.c
Processing E:\Projects\firebreath\build\projects\eSign\gen\FireBreathWin.idl
FireBreathWin.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\oaidl.idl
oaidl.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\objidl.idl
objidl.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\unknwn.idl
unknwn.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\wtypes.idl
wtypes.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\basetsd.h
basetsd.h
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\guiddef.h
guiddef.h
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\ocidl.idl
ocidl.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\oleidl.idl
oleidl.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\servprov.idl
servprov.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\urlmon.idl
urlmon.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\msxml.idl
msxml.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\dispex.idl
dispex.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\oaidl.acf
oaidl.acf
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\ocidl.acf
ocidl.acf
Compiling...
NullLogger.cpp
dllmain.cpp
NpapiPluginWin.cpp
e:\projects\firebreath\src\scriptingcore\apitypes.h(31) : error C2874: 
using-declaration causes a multiple declaration of 'boost::int32_t'
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(260) : see declaration of 'boost::int32_t'
e:\projects\firebreath\src\scriptingcore\apitypes.h(35) : error C2874: 
using-declaration causes a multiple declaration of 'boost::uint32_t'
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(263) : see declaration of 'boost::uint32_t'
np_winmain.cpp
e:\projects\firebreath\src\scriptingcore\apitypes.h(31) : error C2874: 
using-declaration causes a multiple declaration of 'boost::int32_t'
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(260) : see declaration of 'boost::int32_t'
e:\projects\firebreath\src\scriptingcore\apitypes.h(35) : error C2874: 
using-declaration causes a multiple declaration of 'boost::uint32_t'
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(263) : see declaration of 'boost::uint32_t'
PluginWindowlessWin.cpp
PluginWindowWin.cpp
axmain.cpp
axPluginObjects.cpp
FireBreathWin.cpp
PluginInfo.cpp
Generating Code...
Build Time 1:59
Build log was saved at 
"file://e:\Projects\firebreath\build\projects\eSign\PluginAuto\EPL_PluginAuto.di
r\Debug\BuildLog.htm"
EPL_PluginAuto - 4 error(s), 0 warning(s)
------ Build started: Project: ScriptingCore, Configuration: Debug Win32 ------
Compiling...
Element.cpp
Node.cpp
Window.cpp
JSFakeArray.cpp
JSAPI.cpp
JSAPIAuto.cpp
JSAPIProxy.cpp
JSAPISimple.cpp
BrowserHost.cpp
JSObject.cpp
JSArray.cpp
CrossThreadCall.cpp
JSFunction.cpp
JSEvent.cpp
variant.cpp
utf8_tools.cpp
URI.cpp
Document.cpp
Generating Code...
Compiling...
utf8.c
Creating library...
Build Time 2:53
Build log was saved at 
"file://e:\Projects\firebreath\build\src\ScriptingCore\ScriptingCore.dir\Debug\B
uildLog.htm"
ScriptingCore - 0 error(s), 0 warning(s)
------ Build started: Project: NpapiCore, Configuration: Debug Win32 ------
Compiling...
NPObjectAPI.cpp
e:\projects\firebreath\src\scriptingcore\apitypes.h(31) : error C2874: 
using-declaration causes a multiple declaration of 'boost::int32_t'
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(260) : see declaration of 'boost::int32_t'
e:\projects\firebreath\src\scriptingcore\apitypes.h(35) : error C2874: 
using-declaration causes a multiple declaration of 'boost::uint32_t'
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(263) : see declaration of 'boost::uint32_t'
NpapiBrowserHost.cpp
e:\projects\firebreath\src\scriptingcore\apitypes.h(31) : error C2874: 
using-declaration causes a multiple declaration of 'boost::int32_t'
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(260) : see declaration of 'boost::int32_t'
e:\projects\firebreath\src\scriptingcore\apitypes.h(35) : error C2874: 
using-declaration causes a multiple declaration of 'boost::uint32_t'
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(263) : see declaration of 'boost::uint32_t'
NpapiPlugin.cpp
e:\projects\firebreath\src\scriptingcore\apitypes.h(31) : error C2874: 
using-declaration causes a multiple declaration of 'boost::int32_t'
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(260) : see declaration of 'boost::int32_t'
e:\projects\firebreath\src\scriptingcore\apitypes.h(35) : error C2874: 
using-declaration causes a multiple declaration of 'boost::uint32_t'
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(263) : see declaration of 'boost::uint32_t'
NpapiPluginModule.cpp
e:\projects\firebreath\src\3rdparty\gecko-sdk\includes\nptypes.h(54) : error 
C2371: 'boost::int32_t' : redefinition; different basic types
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(260) : see declaration of 'boost::int32_t'
e:\projects\firebreath\src\3rdparty\gecko-sdk\includes\nptypes.h(55) : error 
C2371: 'boost::uint32_t' : redefinition; different basic types
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(263) : see declaration of 'boost::uint32_t'
NpapiPluginModule_NPP.cpp
e:\projects\firebreath\src\3rdparty\gecko-sdk\includes\nptypes.h(54) : error 
C2371: 'boost::int32_t' : redefinition; different basic types
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(260) : see declaration of 'boost::int32_t'
e:\projects\firebreath\src\3rdparty\gecko-sdk\includes\nptypes.h(55) : error 
C2371: 'boost::uint32_t' : redefinition; different basic types
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(263) : see declaration of 'boost::uint32_t'
NpapiStream.cpp
e:\projects\firebreath\src\scriptingcore\apitypes.h(31) : error C2874: 
using-declaration causes a multiple declaration of 'boost::int32_t'
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(260) : see declaration of 'boost::int32_t'
e:\projects\firebreath\src\scriptingcore\apitypes.h(35) : error C2874: 
using-declaration causes a multiple declaration of 'boost::uint32_t'
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(263) : see declaration of 'boost::uint32_t'
NpapiTypes.cpp
e:\projects\firebreath\src\scriptingcore\apitypes.h(31) : error C2874: 
using-declaration causes a multiple declaration of 'boost::int32_t'
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(260) : see declaration of 'boost::int32_t'
e:\projects\firebreath\src\scriptingcore\apitypes.h(35) : error C2874: 
using-declaration causes a multiple declaration of 'boost::uint32_t'
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(263) : see declaration of 'boost::uint32_t'
NpapiBrowserHostAsyncWin.cpp
e:\projects\firebreath\src\scriptingcore\apitypes.h(31) : error C2874: 
using-declaration causes a multiple declaration of 'boost::int32_t'
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(260) : see declaration of 'boost::int32_t'
e:\projects\firebreath\src\scriptingcore\apitypes.h(35) : error C2874: 
using-declaration causes a multiple declaration of 'boost::uint32_t'
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(263) : see declaration of 'boost::uint32_t'
NPJavascriptObject.cpp
e:\projects\firebreath\src\3rdparty\gecko-sdk\includes\nptypes.h(54) : error 
C2371: 'boost::int32_t' : redefinition; different basic types
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(260) : see declaration of 'boost::int32_t'
e:\projects\firebreath\src\3rdparty\gecko-sdk\includes\nptypes.h(55) : error 
C2371: 'boost::uint32_t' : redefinition; different basic types
        e:\program files\boost\boost_1_44\include\boost-1_44\boost\cstdint.hpp(263) : see declaration of 'boost::uint32_t'
Generating Code...
Build Time 2:06
Build log was saved at 
"file://e:\Projects\firebreath\build\src\NpapiCore\NpapiCore.dir\Debug\BuildLog.
htm"
NpapiCore - 18 error(s), 0 warning(s)
------ Build started: Project: PluginCore, Configuration: Debug Win32 ------

Original issue reported on code.google.com by bignikita on 27 Jan 2011 at 1:38

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
right prep script param is   -DWITH_SYSTEM_BOOST=ON

 prep2008.cmd examples buildex "-DWITH_SYSTEM_BOOST=ON" "-
DBoost_ADDITIONAL_VERSIONS='1.44;1.44.0'" "-DBoost_USE_STATIC_LIBS=ON" 
"-DBOOST_ROOT='%BOOST_ROOT%'" "-DBoost_DEBUG=OFF" "-DCMAKE_BUILD_TYPE=Debug" 

Original comment by bignikita on 27 Jan 2011 at 1:43

GoogleCodeExporter commented 9 years ago
I don't have a good way to test this, but I hope this is now fixed.  Please 
test it and let me know.

Original comment by richarda...@gmail.com on 29 Jan 2011 at 1:37