Windows compilation question

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
glucz
Posts: 6
Joined: Mon Apr 21, 2014 2:36 pm

Windows compilation question

Post by glucz » Mon Apr 21, 2014 2:50 pm

I'm trying to compile the latest source. I have Visual Studio 2008 SP1.

After running the buildall.cmd I'm getting compilation errors

Executing 'C:\Windows\system32\cmd.exe /C "j:\visualstudioprojects\softether\v4.06-9437\src\tmp\exec_mt.cmd"'...
System.ApplicationException: mt.exe Manifest Processing for 'j:\visualstudioprojects\softether\v4.06-9437\src\bin\hamcore\vpncmdsys.exe' Failed.
at: BuildUtil.PEUtil.SetManifest(String exe, String manifestName)
at: BuildUtil.BuildUtilCommands.SetManifest(ConsoleService c, String cmdName, String str)
BuildUtil : fatal error C0001: mt.exe Manifest Processing for 'j:\visualstudioprojects\softether\v4.06-943\src\bin\hamcore\vpncmdsys.exe' Failed.
Project : error PRJ0019: A tool returned an error code from "Performing Post-Build Event..."
Build log was saved at "file://j:\visualstudioprojects\softether\v4.06-9437\src\vpncmdsys\Win32_Release\BuildLog.htm"

vpncmdsys - 2 error(s), 0 warning(s)
The command exited with code 1.

Done executing task "VCBuild" -- FAILED.

Other versions give the same compile errors. After this there are hundreds of more errors, but I think they all result from this problem.
----------

D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\atlcom.h(431): error C2146: syntax error : missing ';' before identifier 'rgclsidAllowed'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\atlcom.h(431): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\atlcom.h(4
31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\atlcom.h(6053): error C2039: 'rgclsidAllowed' : is not a member of 'ATL::ATL_PROPMAP_ENTR

------
Has anyone run into this or had been able to compile the source on Windows?

Thanks

glucz
Posts: 6
Joined: Mon Apr 21, 2014 2:36 pm

Re: Windows compilation question

Post by glucz » Tue Apr 22, 2014 3:10 pm

After my previous post I tried to compile it on Windows 7. It almost compiled, but gave another error at the end:

No Errors.
Executing 'C:\work\softether\v4.06-9437\src\bin\BuildUtil.exe /CMD:CopyRelease'.
..
BuildUtil command - VPN Build Utility

Copyright (c) SoftEther VPN Project. All Rights Reserved.

CopyRelease command - Copies all release files.
softether_open-vpnclient-v4.06-9437-beta-2014.04.22-windows-x86_x64-intel.exe
softether_open-vpnserver_vpnbridge-v4.06-9437-beta-2014.04.22-windows-x86_x64-in
tel.exe
System.FormatException: Nem megfelelő a bemeneti karakterlánc formátuma.
a következő helyen: System.Number.StringToNumber(String str, NumberStyles opt
ions, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
a következő helyen: System.Number.ParseDouble(String value, NumberStyles opti
ons, NumberFormatInfo numfmt)
a következő helyen: System.Double.Parse(String s, NumberStyles style, NumberF
ormatInfo info)
a következő helyen: System.Double.Parse(String s)
a következő helyen: BuildUtil.BuildSoftware..ctor(String filename)
a következő helyen: BuildUtil.BuildUtilCommands.CopyRelease(ConsoleService c,
String cmdName, String str)

BuildUtil: fatal error C0001: Nem megfelelő a bemeneti karakterlánc formátuma.
System.ApplicationException: Child process 'C:\work\softether\v4.06-9437\src\bin
\BuildUtil.exe' returned error code 1.
a következő helyen: BuildUtil.Win32BuildUtil.ExecCommand(String exe, String a
rg, Boolean shell_execute)
a következő helyen: BuildUtil.Win32BuildUtil.ExecCommand(String exe, String a
rg)
a következő helyen: BuildUtil.BuildUtilCommands.All(ConsoleService c, String
cmdName, String str)

BuildUtil: fatal error C0001: Child process 'C:\work\softether\v4.06-9437\src\bi
n\BuildUtil.exe' returned error code 1.




Is it even possible to compile on Windows? Are we getting a dummed down version? Where can I purchase the full, working source code?

Post Reply