On Mon, Oct 22, 2012 at 7:25 AM, hakan <hexi...@users.sourceforge.net>wrote:


> I also tried with 32 & 64 bit builds, just checking out the source and no
> modifications done by me.
>

Hmm, I'm out of town and only have access to a 64-bit system, so I haven't
tried on a 32-bit system.  I'll see if I can figure out that error.
 Otherwise, 32-bit might have to wait until the weekend.  Which version of
the compiler are you using.  Is it also 2012 like Staffan?


> For 32 bits I get this
>
> botan_all.cpp
> src\sqlite\botan_all.cpp(984) : warning C4163: '_umul128' : not available
> as an intrinsic function
> src\sqlite\botan_all.cpp(996) : error C3861: '_umul128': identifier not
> found
> src\sqlite\botan_all.cpp(1011) : error C3861: '_umul128': identifier not
> found
> src\sqlite\botan_all.cpp(22021) : warning C4244: 'initializing' :
> conversion from 'std::streamsize' to 's
> ize_t', possible loss of data
> src\sqlite\botan_all.cpp(22042) : warning C4244: '=' : conversion from
> 'std::streamsize' to 'size_t', pos
> sible loss of data
> src\sqlite\botan_all.cpp(22050) : warning C4244: '=' : conversion from
> 'std::streamsize' to 'size_t', pos
> sible loss of data
> src\sqlite\botan_all.cpp(24274) : warning C4244: 'argument' : conversion
> from 'std::streamsize' to 'size_
> t', possible loss of data
> src\sqlite\botan_all.cpp(36031) : warning C4244: '=' : conversion from
> 'Botan::word' to 'Botan::u32bit',
> possible loss of data
> NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual
> Studio 10.0\VC\Bin\cl.EXE"' : return
> code '0x2'
> Stop.
>
> For 64 bit I get this, it build binaries that works, but because of the
> messages below, does it work as it should ?
>


Yes, it will work as it should.  The warnings can be ignored.  I toyed with
fixing them in the Botan code, but decided against it for now.

--
Mark Miesfeld




> botan_all.cpp
> src\sqlite\botan_all.cpp(10973) : warning C4267: 'initializing' :
> conversion from 'size_t' to 'Botan::s32bit', possible loss of data
> src\sqlite\botan_all.cpp(11110) : warning C4267: 'initializing' :
> conversion from 'size_t' to 'Botan::s32bit', possible loss of data
> src\sqlite\botan_all.cpp(11266) : warning C4267: 'initializing' :
> conversion from 'size_t' to 'Botan::s32bit', possible loss of data
> src\sqlite\botan_all.cpp(11417) : warning C4267: 'initializing' :
> conversion from 'size_t' to 'Botan::s32bit', possible loss of data
> src\sqlite\botan_all.cpp(15369) : warning C4267: 'argument' : conversion
> from 'size_t' to 'Botan::u32bit', possible loss of data
> src\sqlite\botan_all.cpp(15706) : warning C4267: 'argument' : conversion
> from 'size_t' to 'Botan::u32bit', possible loss of data
> src\sqlite\botan_all.cpp(16085) : warning C4267: 'argument' : conversion
> from 'size_t' to 'Botan::u32bit', possible loss of data
> src\sqlite\botan_all.cpp(16106) : warning C4267: 'argument' : conversion
> from 'size_t' to 'Botan::u32bit', possible loss of data
> src\sqlite\botan_all.cpp(19144) : warning C4267: 'initializing' :
> conversion from 'size_t' to 'const Botan::u32bit', possible loss of data
> src\sqlite\botan_all.cpp(19186) : warning C4267: 'initializing' :
> conversion from 'size_t' to 'const Botan::u32bit', possible loss of data
> src\sqlite\botan_all.cpp(44642) : warning C4267: '=' : conversion from
> 'size_t' to 'Botan::u32bit', possible loss of data
> link /nologo /SUBSYSTEM:Windows rexx.lib rexxapi.lib user32.lib
> Advapi32.lib -def:src\platform\windows\ooSQLite.def /DLL
> build\release\sqlite3.obj build
> \release\ooSQLite.obj build\release\APICommon.obj build\release\codec.obj
> build\release\botan_all.obj -out:build\release\oosqlite.dll
> Creating library build\release\oosqlite.lib and object
> build\release\oosqlite.exp
> copy build\release\oosqlite.dll bin\windows 1>nul 2>&1
> cl /nologo /EHsc /O2 /Gr /Gs /Gy /FAs /Fabuild\release\ /MT /W3
> /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
> /DOOSQLITE_VER_MAJOR=1 /DOOSQLITE
> _VER_MINOR=0 /DOOSQLITE_VER_LEVEL=0 /DOOSQLITE_VER_BUILD=8528
> /DOOSQLITE_VER_STRING="1.0.0.8528"
> /DOOSQLITE_COPYRIGHT_YEAR=\""2012-2012"\" /I src\sqlite /DSQLIT
> E_ENABLE_COLUMN_METADATA /DSQLITE_ENABLE_MEMORY_MANAGEMENT
> /DSQLITE_HAS_CODEC=1 /D:_X86_ /DWIN32 /DNDEBUG /DNULL=0 /c
> /Fo.\build\release\ src\sqlite\shell.c
> shell.c
> link /nologo /SUBSYSTEM:Console rexx.lib rexxapi.lib user32.lib
> Advapi32.lib build\release\sqlite3.obj build\release\shell.obj
> build\release\codec.obj b
> uild\release\botan_all.obj -out:build\release\ooSQLite3.exe
> copy build\release\ooSQLite3.exe bin\windows 1>nul 2>&1
> copy src\rexx\ooSQLite.cls bin\windows 1>nul 2>&1
>
> ----- Ursprungligt Meddelande -----
> *Från:* Staffan Tylen <staffan.ty...@gmail.com> <staffan.ty...@gmail.com>
> *Till:* Open Object Rexx Users 
> <oorexx-users@lists.sourceforge.net><oorexx-users@lists.sourceforge.net>
> *Kopia:*
> *Datum:* måndag, 22 oktober 2012 12:56
> *Ämne:* Re: [Oorexx-users] ooSQLite with integrated encryption
>
>>
>> To build, cd to the root directory where you checked out the code into.
>> The nmake command is: nmake /NOLOGO /F Makefile.win
>>
>>
> Thanks for this Mark. Unfortunately nothing works as one hopes. I've had
> to implement the following changes to the makefile:
>
> - added ;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\crt\src to
> the INCLUDE = statement in order to find intrin.h
> - added OOSQLITE_BLD_LVL = 1 because the default value NONE causes compile
> errors
>
> But now I get this and I'm not sure what to do with it:
>
> botan_all.cpp
> src\sqlite\botan_all.cpp(984) : warning C4163: '_umul128' : not available
> as an intrinsic function
> src\sqlite\botan_all.cpp(996) : error C3861: '_umul128': identifier not
> found
> src\sqlite\botan_all.cpp(1011) : error C3861: '_umul128': identifier not
> found
> src\sqlite\botan_all.cpp(22021) : warning C4244: 'initializing' :
> conversion from 'std::streamsize' to 'size_t', possible loss of data
> src\sqlite\botan_all.cpp(22042) : warning C4244: '=' : conversion from
> 'std::streamsize' to 'size_t', possible loss of data
> src\sqlite\botan_all.cpp(22050) : warning C4244: '=' : conversion from
> 'std::streamsize' to 'size_t', possible loss of data
> src\sqlite\botan_all.cpp(24274) : warning C4244: 'argument' : conversion
> from 'std::streamsize' to 'size_t', possible loss of data
> src\sqlite\botan_all.cpp(36031) : warning C4244: '=' : conversion from
> 'Botan::word' to 'Botan::u32bit', possible loss of data
> NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual
> Studio 10.0\VC\Bin\cl.EXE"' : return code '0x2'
>
> I have MS Visual Studio Express 2012 for Windows Desktop and MS Windows
> SDK for Windows 7 (7.1) installed and use a shortcut as suggested by Hakan
> in an earlier discussion with the following values:
>
> Target: C:\Windows\System32\cmd.exe /E:ON /V:ON /T:0E /K "C:\Program
> Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /release /win7 /x86
> Start in: C:\MinGW64\msys\home\Staffan\oorexx\ooSQLite
>
> i.e. I'm trying to create a 32bit version, as I'm still partly depending
> on RexxSQL, which is 32bit, so I cannot yet run ooRexx 64bit.
>
> I'm sure you have a cure for this ;)
>
> Staffan
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> Oorexx-users mailing list
> Oorexx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> Oorexx-users mailing list
> Oorexx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to