[Interest] How to run a WinRT app on a Window 8 intel tablet?
Nuno Santos
nunosantos at imaginando.pt
Mon Jun 8 16:25:14 CEST 2015
Thiago,
Nope, it was not defined... Had to define it. Did it like this on
qhostaddress.h
#define INADDR_ANY ((unsigned long int) 0x00000000)
#define INADDR_BROADCAST ((unsigned long int) 0xffffffff)
#define INADDR_LOOPBACK 0x7f000001 /* 127.0.0.1 */
The winsock2.h that I edited was on: C:\Program Files (x86)\Windows
Kits\8.1\include\um
From config:
Environment:
INCLUDE=
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ATLMFC\INCLUDE
C:\Program Files (x86)\Windows Kits\8.1\include\shared
C:\Program Files (x86)\Windows Kits\8.1\include\um
C:\Program Files (x86)\Windows Kits\8.1\include\winrt
LIB=
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\LIB
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ATLMFC\LIB
C:\Program Files (x86)\Windows Kits\8.1\lib\winv6.3\um\x86
PATH=
C:\Program Files (x86)\Microsoft Visual Studio
12.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow
C:\Program Files (x86)\Microsoft SDKs\F#\3.1\Framework\v4.0\
C:\Program Files (x86)\MSBuild\12.0\bin
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\VCPackages
C:\Program Files (x86)\HTML Help Workshop
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Team
Tools\Performance Tools
C:\Program Files (x86)\Windows Kits\8.1\bin\x86
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX
4.5.1 Tools\
C:\Perl64\site\bin
C:\Perl64\bin
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\
C:\Qt\Qt5.3.1-32\5.3\msvc2013_opengl\bin
C:\Program Files (x86)\Skype\Phone\
C:\Program Files\Microsoft SQL Server\110\Tools\Binn\
C:\Program Files (x86)\QuickTime\QTSystem\
On 08/06/2015 14:50, Thiago Macieira wrote:
> On Monday 08 June 2015 14:43:26 Nuno Santos wrote:
>> kernel\qhostaddress.cpp(786) : error C2065: 'INADDR_BROADCAST' :
>> undeclared identifier
>> kernel\qhostaddress.cpp(789) : error C2065: 'INADDR_LOOPBACK' :
>> undeclared identifier
> Check if they are defined in winsock2.h, as they should be.
More information about the Interest
mailing list