[fossil-users] Problems with Fossil 1.26 for Windows

2013-06-18 Thread Richie Adler
Trying to run the Windows version in Windows XP SP3 gives the error Not a
valid Win32 application.


-- 
   o-= Marcelo =-o
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Problems with Fossil 1.26 for Windows

2013-06-18 Thread Richard Hipp
On Tue, Jun 18, 2013 at 8:05 PM, Richie Adler richiead...@gmail.com wrote:

 Trying to run the Windows version in Windows XP SP3 gives the error Not a
 valid Win32 application.



Ugh.  I compiled it using a VS2012 x86 Native Tools Command Prompt on
Win8.  Anybody have a guess what might have gone wrong?

-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Problems with Fossil 1.26 for Windows

2013-06-18 Thread og
Maybe:


Project-Application Properties-Compile

Set Target CPU to *x86*



https://blogs.msdn.com/b/vcblog/archive/2012/10/08/10357555.aspx?Redirected=true

t+

og


On Tue, Jun 18, 2013 at 9:53 PM, Richard Hipp d...@sqlite.org wrote:



 On Tue, Jun 18, 2013 at 8:05 PM, Richie Adler richiead...@gmail.comwrote:

 Trying to run the Windows version in Windows XP SP3 gives the error Not a
 valid Win32 application.



 Ugh.  I compiled it using a VS2012 x86 Native Tools Command Prompt on
 Win8.  Anybody have a guess what might have gone wrong?

 --
 D. Richard Hipp
 d...@sqlite.org
 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Problems with Fossil 1.26 for Windows

2013-06-18 Thread Richard Hipp
On Tue, Jun 18, 2013 at 9:25 PM, og ogil...@gmail.com wrote:

 Maybe:


 Project-Application Properties-Compile

 Set Target CPU to *x86*

 The build was done from the *Command Line Prompt* not from a MSVC GUI, so
there is no Project-Application Properties-Compile menu.  If I update to
http://www.fossil-scm.org/fossil/info/340711f48c and recompile in the same
shell, it tells me that sizeof(void*)==4.  So it really does seem to be
building a 32-bit binary.
-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Problems with Fossil 1.26 for Windows

2013-06-18 Thread Edward Berner

On 6/18/2013 5:53 PM, Richard Hipp wrote:



On Tue, Jun 18, 2013 at 8:05 PM, Richie Adler richiead...@gmail.com 
mailto:richiead...@gmail.com wrote:


Trying to run the Windows version in Windows XP SP3 gives the
error Not a
valid Win32 application.



Ugh.  I compiled it using a VS2012 x86 Native Tools Command Prompt 
on Win8.  Anybody have a guess what might have gone wrong?




It looks like the initial release of Visual Studio 2012 did not support 
targeting XP and that Update 1 added that capability.  The following 
blog article has more information including a raindance for targeting XP 
from the command line.  (Note that I haven't used VS2012 myself.)


Windows XP Targeting with C++ in Visual Studio 2012
http://blogs.msdn.com/b/vcblog/archive/2012/10/08/10357555.aspx

--
Edward Berner

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users