[Scons-users] Error using scons on Windows XP

Andrew Featherstone andrew.featherstone at gmail.com
Sun Jul 27 18:29:58 EDT 2014


Hi Freddy,

Have you read the MongoDB documentation on Github 
https://github.com/mongodb/mongo/blob/master/docs/building.md? It looks 
like your requirements for Windows are using Visual Studio 2010 Express, 
which is available here 
http://www.visualstudio.com/downloads/download-visual-studio-vs#DownloadFamilies_4.

These sorts of problems are not related to SCons (the output is from 
your compiler and not SCons itself). They will probably be answered 
quicker by contacting people within the MongoDB community. If you do 
find problems within SCons itself please do email this list.

Regards,
Andrew

On 27/07/14 22:47, Freddy Martinez Garcia wrote:
> Hi again Andrew and thanks for yours advices
>
> I had download the .Net framework from the link that you share me.... 
> but the scons now give me the following error:
>
> scons: Reading SConscript files ...
> scons version: 2.3.2
> python version: 2 7 8 'final' 0
> Checking whether the C++ compiler works... (cached) yes
> Checking whether the C compiler works... (cached) yes
> Checking if C++ compiler "$CC" is MSVC... (cached) yes
> Checking if C compiler "cl" is MSVC... (cached) yes
> Checking if toolchain is in 64-bit mode... (cached) no
> Checking if we are using libstdc++... (cached) no
> WARNING: Cannot disable C++11 features when using MSVC
> Checking if we are on a POSIX system... (cached) no
> Checking for VS 2013 Update 2 or Later... (cached) no
> Checking for __declspec(thread)... (cached) yes
> Checking for C++11 <atomic> support... (cached) no
> Checking for C++ header file boost/version.hpp... (cached) yes
> Checking for C header file unistd.h... (cached) no
> Checking whether timegm is declared... (cached) no
> scons: done reading SConscript files.
> scons: Building targets ...
> cl /Fobuild\win32\normal\mongo\client\examples\arrayExample.obj /c 
> src\mongo\client\examples\arrayExample.cpp /TP /nologo /EHsc /W3 
> /wd4244 /wd4251 /wd4267 /wd4275 /wd4290 /wd4355 /wd4800 /WX /Z7 
> /errorReport:none /MT /O2 /Oy- /D_UNICODE /DUNICODE /DNOMINMAX 
> /D_CONSOLE /D_CRT_NONSTDC_NO_WARNINGS /D_CRT_SECURE_NO_WARNINGS 
> /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_WARNINGS 
> /D_SCL_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0501 
> /DNTDDI_VERSION=0x05010300 /DMONGO_HAVE___DECLSPEC_THREAD 
> /D_VARIADIC_MAX=10 /DBOOST_THREAD_USES_DATETIME 
> /DSTATIC_LIBMONGOCLIENT 
> /Ibuild\win32\normal\third_party\gtest-1.7.0\include 
> /Isrc\third_party\gtest-1.7.0\include /Ibuild\win32\normal /Isrc 
> /Ibuild\win32\normal\mongo /Isrc\mongo /IC:\Boost\include\boost-1_55 /Z7
> arrayExample.cpp
> C:\Documents and Settings\freddy\My 
> Documents\mongo-cxx-driver\src\mongo/platform/cstdint.h(24) : fatal 
> error C1083: Cannot open include file: 'cstdint': No such file or 
> directory
> scons: building terminated because of errors.
>
> sorry for ask, but I'm not Windows user... I just need made a deploy 
> on Windows, and my application run well over Linux and Mac... but I 
> can't compile mongo-client-cxx yet for windows...
>
> best regard bro
>
>
> Freddy Martinez Garcia
> Lic. Ciencia de la Computacion
> C++ and Qt Senior Developer
> freddy311082 at gmail.com <mailto:freddy311082 at gmail.com>
>
>> On Jul 27, 2014, at 4:40 PM, Freddy Martinez Garcia 
>> <freddy311082 at gmail.com <mailto:freddy311082 at gmail.com>> wrote:
>>
>> Hi again Andrew...
>>
>> I had download and installed the link that you give me and I can 
>> start the compilation but now i have other error...
>>
>>
>>
>>
>> Freddy Martinez Garcia
>> Lic. Ciencia de la Computacion
>> C++ and Qt Senior Developer
>> freddy311082 at gmail.com <mailto:freddy311082 at gmail.com>
>>
>>> On Jul 24, 2014, at 10:33 PM, Freddy Martinez Garcia 
>>> <freddy311082 at gmail.com <mailto:freddy311082 at gmail.com>> wrote:
>>>
>>> Hi Andrew....
>>>
>>> Thanks for the answer, because I have 2 days searching how compile 
>>> mongo-client-xxx with support for MinGW.
>>>
>>> I hope that some day mongo-client-cxx driver will support MinGW over 
>>> Windows...
>>>
>>> i we'll download the framework which you give me
>>>
>>> and i'll see if it's work for me
>>>
>>> regards my friend
>>>
>>> Freddy Martinez Garcia
>>> Lic. Ciencia de la Computacion
>>> C++ and Qt Senior Developer
>>> Software Manager at Eulerideas
>>> www.eulerideas.com <http://www.eulerideas.com/>
>>> freddy311082 at gmail.com <mailto:freddy311082 at gmail.com>
>>>
>>> On Jul 24, 2014, at 9:13 PM, Andrew C. Morrow 
>>> <andrew.c.morrow at gmail.com <mailto:andrew.c.morrow at gmail.com>> wrote:
>>>
>>>>
>>>> Hi Freddy -
>>>>
>>>> You posted a similar question to the mongodb-user mailing list.
>>>>
>>>> The mongo-cxx-driver project SCons build system does not currently 
>>>> support MinGW, as I believe you are attempting here. We do have an 
>>>> open feature request for MinGW support. Native windows builds with 
>>>> the Microsoft toolchain are supported.
>>>>
>>>> Thanks,
>>>> Andrew
>>>>
>>>>
>>>> On Thu, Jul 24, 2014 at 7:13 PM, Andrew Featherstone 
>>>> <andrew.featherstone at gmail.com 
>>>> <mailto:andrew.featherstone at gmail.com>> wrote:
>>>>
>>>>     Hi Freddy,
>>>>
>>>>     cl.exe is the compiler provided by Microsoft. It's normally
>>>>     part of an installation of Microsoft's Visual Studio IDE. I
>>>>     think the last version of Visual Studio that supports Windows
>>>>     XP is Visual Studio 2010. You can obtain the cl.exe compiler
>>>>     for free as part of the Windows SDK
>>>>     http://www.microsoft.com/en-us/download/details.aspx?id=24826 .
>>>>     Hopefully this will get you started. It's probably worth trying
>>>>     to compile a simple "hello world" application first before
>>>>     trying to build anything larger.
>>>>
>>>>     Cheers,
>>>>     Andrew
>>>>
>>>>
>>>>     On 24/07/14 23:33, Freddy Martinez Garcia wrote:
>>>>
>>>>         Hi guys.... i'm new using scons and I need to compile de
>>>>         mongo-client-cxx driver for windows. I had use scons with
>>>>         linux and mac, but in windows i don't have the same result.
>>>>
>>>>         when I run scons -Q to compile my library, scons say the
>>>>         following:
>>>>
>>>>         scons version: 2.3.2
>>>>         python version: 2 7 8 'final' 0
>>>>         NOTE: Tool configuration did not find 'cl' compiler,
>>>>         falling back to os environment
>>>>         C++ compiler g++ does not work
>>>>
>>>>         How can I fix this ??
>>>>
>>>>         best regards
>>>>
>>>>
>>>>         Freddy Martinez Garcia
>>>>         Lic. Ciencia de la Computacion
>>>>         C++ and Qt Senior Developer
>>>>         Software Manager at Eulerideas
>>>>         www.eulerideas.com <http://www.eulerideas.com/>
>>>>         freddy311082 at gmail.com <mailto:freddy311082 at gmail.com>
>>>>
>>>>         _______________________________________________
>>>>         Scons-users mailing list
>>>>         Scons-users at scons.org <mailto:Scons-users at scons.org>
>>>>         http://four.pairlist.net/mailman/listinfo/scons-users
>>>>
>>>>
>>>>     _______________________________________________
>>>>     Scons-users mailing list
>>>>     Scons-users at scons.org <mailto:Scons-users at scons.org>
>>>>     http://four.pairlist.net/mailman/listinfo/scons-users
>>>>
>>>>
>>>> _______________________________________________
>>>> Scons-users mailing list
>>>> Scons-users at scons.org <mailto:Scons-users at scons.org>
>>>> http://four.pairlist.net/mailman/listinfo/scons-users
>>>
>>
>
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140727/5c6af233/attachment-0001.html>


More information about the Scons-users mailing list