Re: [Factor-talk] Build Factor on Windows with Win7 SDK

2016-05-27 Thread Alexander Ilin
Hi again! 27.05.2016, 02:10, "Alexander Ilin" :That I'll have to try tomorrow, I'm afraid. 2:30 a.m. here. VS 2015 Community Edition did the trick, although not before I fixed a C4800 warning (treated as error, thus failing the build).My first successful bootstrap! Pull request with the fix is posted. ---=---Александр 

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Build Factor on Windows with Win7 SDK

2016-05-26 Thread Björn Lindqvist
The one you download here is what I'm using:
https://go.microsoft.com/fwlink/?LinkId=691978=0x409

2016-05-27 0:05 GMT+02:00 Alexander Ilin :
> Hey, Doug!
>
> 27.05.2016, 00:54, "Doug Coleman" :
>
> We started using C++11 or C++14 features and this requires a newer compiler.
> Can you try with the latest Visual Studio?
>
>
>
> I don't have anything installed, and I kinda liked the idea of only having
> an SDK.
> I'm not big on C++ or Visual Studios, so I'm not sure what to install. VS
> 2015 SP2 Enterprise? Is there a free version?
> Or is there maybe a bare minimum command-line package this would work on?
>
>
> The wiki is outdated and I can change it but I'm not sure why new users
> can't or why the email/password reset system is broken. I can check it out
> later.
>
>
> It seems to be working for me now.
>
> ---=---
> Александр
>
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>



-- 
mvh/best regards Björn Lindqvist

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Build Factor on Windows with Win7 SDK

2016-05-26 Thread John Benediktsson
Well maybe Doug can tell you how to get a smaller disk footprint for the few 
things we need. I just know how to reliably get it built! :-)

> On May 26, 2016, at 4:09 PM, Alexander Ilin  wrote:
> 
> Hi!
>  
> 27.05.2016, 01:11, "John Benediktsson" :
>> The only thing you need is a recent Visual Studio (the community free one is 
>> fine).
>  
> OK, got it. Goodbye, 12.5Gb off my SSD, *sigh*, you will be missed.
>  
>> Then just run:
>>  
>> build.cmd latest
>  
> That I'll have to try tomorrow, I'm afraid. 2:30 a.m. here.
>  
> ---=---
> Александр
>  
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity 
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Build Factor on Windows with Win7 SDK

2016-05-26 Thread Alexander Ilin
Hi! 27.05.2016, 01:11, "John Benediktsson" :The only thing you need is a recent Visual Studio (the community free one is fine).  OK, got it. Goodbye, 12.5Gb off my SSD, *sigh*, you will be missed. Then just run:     build.cmd latest That I'll have to try tomorrow, I'm afraid. 2:30 a.m. here. ---=---Александр 

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Build Factor on Windows with Win7 SDK

2016-05-26 Thread John Benediktsson
The only thing you need is a recent Visual Studio (the community free one
is fine).

Then just run:

build.cmd latest




On Thu, May 26, 2016 at 3:05 PM, Alexander Ilin  wrote:

> Hey, Doug!
>
> 27.05.2016, 00:54, "Doug Coleman" :
>
> We started using C++11 or C++14 features and this requires a newer
> compiler. Can you try with the latest Visual Studio?
>
>
>
> I don't have anything installed, and I kinda liked the idea of only having
> an SDK.
> I'm not big on C++ or Visual Studios, so I'm not sure what to install. VS
> 2015 SP2 Enterprise? Is there a free version?
> Or is there maybe a bare minimum command-line package this would work on?
>
>
> The wiki is outdated and I can change it but I'm not sure why new users
> can't or why the email/password reset system is broken. I can check it out
> later.
>
>
> It seems to be working for me now.
>
> ---=---
> Александр
>
>
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Build Factor on Windows with Win7 SDK

2016-05-26 Thread Alexander Ilin
Hey, Doug! 27.05.2016, 00:54, "Doug Coleman" :We started using C++11 or C++14 features and this requires a newer compiler. Can you try with the latest Visual Studio?  I don't have anything installed, and I kinda liked the idea of only having an SDK.I'm not big on C++ or Visual Studios, so I'm not sure what to install. VS 2015 SP2 Enterprise? Is there a free version?Or is there maybe a bare minimum command-line package this would work on? The wiki is outdated and I can change it but I'm not sure why new users can't or why the email/password reset system is broken. I can check it out later. It seems to be working for me now. ---=---Александр 

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Build Factor on Windows with Win7 SDK

2016-05-26 Thread Doug Coleman
Hey Alexander,

We started using C++11 or C++14 features and this requires a newer
compiler. Can you try with the latest Visual Studio?

The wiki is outdated and I can change it but I'm not sure why new users
can't or why the email/password reset system is broken. I can check it out
later.

Doug

On Thu, May 26, 2016 at 2:47 PM, Alexander Ilin  wrote:

> Hello!
>
>   I wanted to build Factor, so I downloaded and installed the Win 7 SDK as
> suggested here:
> https://concatenative.org/wiki/view/Factor/Requirements
>   I only selected two items during the installation: "Windows Headers and
> Libraries" and "Visual C++ Compilers". The nmake was in the latter package,
> I'm not sure I needed the first one.
>
>   Then I went to c:\Program Files (x86)\Microsoft Visual Studio
> 9.0\VC\bin\ and started "Visual Studio 2008 x64 Win64 Command Prompt.lnk",
> because I'm on a 64-bit Win 8.1 PC. Here's what happened next:
> ---start-console-dump---
> Setting environment for using Microsoft Visual Studio 2008 x64 tools.
>
> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin>cd
> c:\Programs\Dev\factor.git\
>
> c:\Programs\Dev\factor.git>build.cmd
> x86-64 cl.exe detected.
> Deleting staging images from temp/...
> The system cannot find the file specified.
> Updating working copy from master...
> From git://factorcode.org/git/factor
>  * branchmaster -> FETCH_HEAD
> Already up-to-date.
> Building vm...
> del vm\*.obj
> Could Not Find c:\Programs\Dev\factor.git\vm\*.obj
> if exist factor.lib del factor.lib
> if exist factor.res del factor.res
> if exist factor.com del factor.com
> if exist factor.exe del factor.exe
> if exist factor.dll del factor.dll
> if exist factor.dll.lib del factor.dll.lib
> if exist libfactor-ffi-test.dll del libfactor-ffi-test.dll
> if exist libfactor-ffi-test.exp del libfactor-ffi-test.exp
> if exist libfactor-ffi-test.lib del libfactor-ffi-test.lib
> nmake /nologo PLATFORM=x86-64 /f Nmakefile all
> cl /EHsc /nologo /O2 /WX /W3 /D_CRT_SECURE_NO_WARNINGS
> /DFACTOR_VERSION=0.98
> /DFACTOR_GIT_LABEL=heads/fix-file-readable-add-422cd37698ae5c05dc0f4e1b7a17bbe59dc35f51
> /Fovm\main-windows.obj /c vm\main-windows.cpp main-windows.cpp
> c:\programs\dev\factor.git\vm\master.hpp(23) : fatal error C1083: Cannot
> open include file: 'stdint.h': No such file or directory
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 9.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 9.0\VC\BIN\amd64\nmake.EXE"' : return code '0x2'
> Stop.
> Build failed.
> ---end-console-dump---
>
>   Looks like nmake can't locate the 'stdint.h'.
>
>   What's the deal with that?
>
>   Googling a bit, it looks like that I need a later version of the
> toolkit. Something with "Microsoft Visual Studio 10.0" in it, not
> "Microsoft Visual Studio 9.0":
>
> https://stackoverflow.com/questions/126279/c99-stdint-h-header-and-ms-visual-studio
>
>   So, at least the build instructions on
> https://concatenative.org/wiki/view/Factor/Requirements are incorrect,
> right? Win 7 SDK is not good enough.
>
>   Anyway, I followed one of the links on StackOverflow to download the
> portable version of stdint.h: http://www.azillionmonkeys.com/qed/pstdint.h
>   I renamed it and placed in c:\Program Files (x86)\Microsoft Visual
> Studio 9.0\VC\include\stdint.h
>
>   That moved me on to the next error:
> ---start-console-dump---
> c:\Programs\Dev\factor.git>build.cmd
> x86-64 cl.exe detected.
> Deleting staging images from temp/...
> The system cannot find the file specified.
> Updating working copy from master...
> From git://factorcode.org/git/factor
>  * branchmaster -> FETCH_HEAD
> Already up-to-date.
> Building vm...
> del vm\*.obj
> Could Not Find c:\Programs\Dev\factor.git\vm\*.obj
> if exist factor.lib del factor.lib
> if exist factor.res del factor.res
> if exist factor.com del factor.com
> if exist factor.exe del factor.exe
> if exist factor.dll del factor.dll
> if exist factor.dll.lib del factor.dll.lib
> if exist libfactor-ffi-test.dll del libfactor-ffi-test.dll
> if exist libfactor-ffi-test.exp del libfactor-ffi-test.exp
> if exist libfactor-ffi-test.lib del libfactor-ffi-test.lib
> nmake /nologo PLATFORM=x86-64 /f Nmakefile all
> cl /EHsc /nologo /O2 /WX /W3 /D_CRT_SECURE_NO_WARNINGS
> /DFACTOR_VERSION=0.98
> /DFACTOR_GIT_LABEL=heads/fix-file-readable-add-4ec338b43d4ad9e9ec4af657876ac9244bffe17a
> /Fovm\main-windows.obj /c vm\main-windows.cpp
> main-windows.cpp
> c:\programs\dev\factor.git\vm\free_list.hpp(167) : error C4430: missing
> type specifier - int assumed. Note: C++ does not support default-int
> c:\programs\dev\factor.git\vm\free_list.hpp(166) : while compiling
> class 

[Factor-talk] Build Factor on Windows with Win7 SDK

2016-05-26 Thread Alexander Ilin
Hello!

  I wanted to build Factor, so I downloaded and installed the Win 7 SDK as 
suggested here:
https://concatenative.org/wiki/view/Factor/Requirements
  I only selected two items during the installation: "Windows Headers and 
Libraries" and "Visual C++ Compilers". The nmake was in the latter package, I'm 
not sure I needed the first one.

  Then I went to c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\ and 
started "Visual Studio 2008 x64 Win64 Command Prompt.lnk", because I'm on a 
64-bit Win 8.1 PC. Here's what happened next:
---start-console-dump---
Setting environment for using Microsoft Visual Studio 2008 x64 tools.

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin>cd 
c:\Programs\Dev\factor.git\

c:\Programs\Dev\factor.git>build.cmd
x86-64 cl.exe detected.
Deleting staging images from temp/...
The system cannot find the file specified.
Updating working copy from master...
From git://factorcode.org/git/factor
 * branchmaster -> FETCH_HEAD
Already up-to-date.
Building vm...
del vm\*.obj
Could Not Find c:\Programs\Dev\factor.git\vm\*.obj
if exist factor.lib del factor.lib
if exist factor.res del factor.res
if exist factor.com del factor.com
if exist factor.exe del factor.exe
if exist factor.dll del factor.dll
if exist factor.dll.lib del factor.dll.lib
if exist libfactor-ffi-test.dll del libfactor-ffi-test.dll
if exist libfactor-ffi-test.exp del libfactor-ffi-test.exp
if exist libfactor-ffi-test.lib del libfactor-ffi-test.lib
nmake /nologo PLATFORM=x86-64 /f Nmakefile all
cl /EHsc /nologo /O2 /WX /W3 /D_CRT_SECURE_NO_WARNINGS 
/DFACTOR_VERSION=0.98 
/DFACTOR_GIT_LABEL=heads/fix-file-readable-add-422cd37698ae5c05dc0f4e1b7a17bbe59dc35f51
 /Fovm\main-windows.obj /c vm\main-windows.cpp main-windows.cpp
c:\programs\dev\factor.git\vm\master.hpp(23) : fatal error C1083: Cannot open 
include file: 'stdint.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 
9.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 
9.0\VC\BIN\amd64\nmake.EXE"' : return code '0x2'
Stop.
Build failed.
---end-console-dump---

  Looks like nmake can't locate the 'stdint.h'.

  What's the deal with that?

  Googling a bit, it looks like that I need a later version of the toolkit. 
Something with "Microsoft Visual Studio 10.0" in it, not "Microsoft Visual 
Studio 9.0":
https://stackoverflow.com/questions/126279/c99-stdint-h-header-and-ms-visual-studio

  So, at least the build instructions on 
https://concatenative.org/wiki/view/Factor/Requirements are incorrect, right? 
Win 7 SDK is not good enough.

  Anyway, I followed one of the links on StackOverflow to download the portable 
version of stdint.h: http://www.azillionmonkeys.com/qed/pstdint.h
  I renamed it and placed in c:\Program Files (x86)\Microsoft Visual Studio 
9.0\VC\include\stdint.h

  That moved me on to the next error:
---start-console-dump---
c:\Programs\Dev\factor.git>build.cmd
x86-64 cl.exe detected.
Deleting staging images from temp/...
The system cannot find the file specified.
Updating working copy from master...
From git://factorcode.org/git/factor
 * branchmaster -> FETCH_HEAD
Already up-to-date.
Building vm...
del vm\*.obj
Could Not Find c:\Programs\Dev\factor.git\vm\*.obj
if exist factor.lib del factor.lib
if exist factor.res del factor.res
if exist factor.com del factor.com
if exist factor.exe del factor.exe
if exist factor.dll del factor.dll
if exist factor.dll.lib del factor.dll.lib
if exist libfactor-ffi-test.dll del libfactor-ffi-test.dll
if exist libfactor-ffi-test.exp del libfactor-ffi-test.exp
if exist libfactor-ffi-test.lib del libfactor-ffi-test.lib
nmake /nologo PLATFORM=x86-64 /f Nmakefile all
cl /EHsc /nologo /O2 /WX /W3 /D_CRT_SECURE_NO_WARNINGS 
/DFACTOR_VERSION=0.98 
/DFACTOR_GIT_LABEL=heads/fix-file-readable-add-4ec338b43d4ad9e9ec4af657876ac9244bffe17a
 /Fovm\main-windows.obj /c vm\main-windows.cpp
main-windows.cpp
c:\programs\dev\factor.git\vm\free_list.hpp(167) : error C4430: missing type 
specifier - int assumed. Note: C++ does not support default-int
c:\programs\dev\factor.git\vm\free_list.hpp(166) : while compiling 
class template member function 'void 
factor::free_list_allocator::sweep(void)'

with
[
Block=factor::object
]
c:\programs\dev\factor.git\vm\tenured_space.hpp(3) : see reference to 
class template instantiation 'factor::free_list_allocator' being compiled
with
[
Block=factor::object
]
c:\programs\dev\factor.git\vm\free_list.hpp(167) : error C2059: syntax error : 
'['
c:\programs\dev\factor.git\vm\free_list.hpp(167) : error C2143: syntax error : 
missing ';' before '{'
NMAKE