As i said earlier, there is no Arm option under Active Solution Platform > new. any idea ?
You are in the manager for .net there, which is CLR and does not need to be set to arm
As i said earlier, there is no Arm option under Active Solution Platform > new. any idea ?
You are in the manager for .net there, which is CLR and does not need to be set to arm
are you willing to explain about that ?, where do i know my application can be used on windows RT ?, thanks
.net applications are platform independent as they are built on a common language runtime (CLR) which is interpreted at runtime and converted into machine code.
Silverlight apps are also CLR but they will not run on Windows RT due to it not being present.
It is fairly difficult to "guess" which of the CLR types you are trying to compile without knowing more about the project, but if it is .net converting it to pure .net 4.5 should be enough providing it isn't WPF.
Where the ARM libs and compiler come in is for C/C++ projects as these turn out native executables.
Thanks. Also, one more question. As you may already know a person can build there own arm base device to test code on. I wish to do this for the rt. Is there a list of requirements for building for rt. ( the device could be made with Adriano and arm. How do a attain a development copy of rt or rt embedded?
Sent from my SGH-T999 using xda premium
According to http://msdn.microsoft.com/en-us/library/bb432254(VS.85).aspx, EncodePointer is in kernel32.lib. Typically this library is included by default, I believe, but for ARM projects it must be added manually under Project Properties -> Linker -> Input.
In the future, when you encounter such messages, just go look on MSDN for the .LIB that you need to use.
Error 2 error MSB6006: "cmd.exe" exited with code 9009. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 172 5 scummvm
31>------ Rebuild All started: Project: scummvm, Configuration: Release ARM ------
31> Performing Custom Build Tools
31> 'nasm.exe' is not recognized as an internal or external command,
31> operable program or batch file.
31> Performing Custom Build Tools
31> 'nasm.exe' is not recognized as an internal or external command,
31> operable program or batch file.
31>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6006: "cmd.exe" exited with code 9009.
========== Rebuild All: 30 succeeded, 1 failed, 0 skipped ==========
31>C:\Program Files (x86)\Windows Kits\8.0\Include\um\winnt.h(1182): warning C4005: 'ARRAYSIZE' : macro redefinition
31> ..\..\common/util.h(58) : see previous definition of 'ARRAYSIZE'
31>D:\Programy\VS2011\VC\include\setjmp.h(122): warning C4005: 'setjmp' : macro redefinition
31> ..\..\common/forbidden.h(189) : see previous definition of 'setjmp'
31>D:\Programy\VS2011\VC\include\setjmp.h(175): error C2146: syntax error : missing ';' before identifier 'SYMBOL'
31>D:\Programy\VS2011\VC\include\setjmp.h(175): warning C4229: anachronism used : modifiers on data are ignored
31>D:\Programy\VS2011\VC\include\setjmp.h(175): error C2182: 'FORBIDDEN_look_at_common_forbidden_h_for_more_info' : illegal use of type 'void'
31>D:\Programy\VS2011\VC\include\setjmp.h(175): error C2495: 'FORBIDDEN_look_at_common_forbidden_h_for_more_info' : '__declspec(noreturn)' can only be applied to function declarations or definitions
31>D:\Programy\VS2011\VC\include\setjmp.h(175): error C2143: syntax error : missing ';' before '!'
31>D:\Programy\VS2011\VC\include\setjmp.h(175): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
31>D:\Programy\VS2011\VC\include\setjmp.h(175): error C2059: syntax error : '%'
Hi, I'm trying to recompile ScummVM for Windows RT
'FORBIDDEN_look_at_common_forbidden_h_for_more_info'
Also, unless those assembly files were merely optional optimizations for C/C++ code that you can use instead, simply "removing" chunks of assembly is likely to break things. You havne't gotten to the linker, yet; it may conlain of missing program entry points when you do unless you have substitutes for those assembly functions.
C:\Users\Bartek\Desktop\scummvm-1.5.0\dists\msvc10>create_project.exe ..\.. --ms
vc --disable-nasm --disable-mad --disable-freetype
Enabled engines:
SCUMM
v7 & v8 games
HE71+ games
AGI
AGOS
AGOS 2 games
CGE
Cinematique evo 1
Magic Composer
Cinematique evo 2
Dragon History
Drascula: The Vampire Strikes Back
Dreamweb
Gobli*ns
Groovie
Hugo Trilogy
Legend of Kyrandia
Lands of Lore
Lure of the Temptress
MADE
Mohawk
Parallaction
Flight of the Amazon Queen
SAGA
IHNM
SCI
Beneath a Steel Sky
Broken Sword
Broken Sword II
Teen Agent
Tinsel
Toonstruck
Touche: The Adventures of the Fifth Musketeer
TsAGE
Bud Tucker in Double Trouble
Disabled engines:
Groovie 2 games
Eye of the Beholder
The Last Express
Where in Time is Carmen Sandiego?
Riven: The Sequel to Myst
Myst
SAGA 2 games
SCI32 games
Broken Sword 2.5
TestBed: the Testing framework
3 Skulls of the Toltecs
Enabled features:
zlib (compression) support
Ogg Vorbis support
FLAC support
libpng support
Theora decoding support
Bink video support
Scalers
HQ scalers
16bit color support
integrated MT-32 emulator
Taskbar integration support
Translation support
System language detection support
Disabled features:
libmad (MP3) support
FreeType support
IA-32 assembly support
OpenGL support
Virtual keyboard support
Keymapper support
C:\Users\Bartek\Desktop\scummvm-1.5.0\dists\msvc10>
_CRTIMP __declspec(noreturn) void __cdecl longjmp(_In_ jmp_buf _Buf, _In_ int _Value) throw(...);
scummvm make use of libmad - MPEG audio decoder library which has some inline assembly so I was forced to get rid of it.
libmad builds fine - it just needs to be built with /D FPM_DEFAULT or /D FPM_64BIT instead of any other potential option. scummvm probably has a config.h for libmad that has:
#define FPM_INTEL
in it (or similar in the C/C++ macro list in VS), which causes x86 assembler to be used in the fixed-point routines.
Error 11 error LNK1169: one or more multiply defined symbols found C:\Users\Bartek\Desktop\scummvm-1.5.0\dists\msvc10\Release32\scummvm.exe 1 1 scummvm
Error 9 error LNK2005: "private: __cdecl type_info::type_info(class type_info const &)" (??0type_info@@AAA@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj) C:\Users\Bartek\Desktop\scummvm-1.5.0\dists\msvc10\MSVCRT.lib(ti_inst.obj) scummvm
Error 10 error LNK2005: "private: class type_info & __cdecl type_info::operator=(class type_info const &)" (??4type_info@@AAAAAV0@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj) C:\Users\Bartek\Desktop\scummvm-1.5.0\dists\msvc10\MSVCRT.lib(ti_inst.obj) scummvm
Error 8 error LNK2005: free already defined in LIBCMT.lib(free.obj) C:\Users\Bartek\Desktop\scummvm-1.5.0\dists\msvc10\MSVCRT.lib(MSVCR110.dll) scummvm
Error 7 error LNK2005: malloc already defined in LIBCMT.lib(malloc.obj) C:\Users\Bartek\Desktop\scummvm-1.5.0\dists\msvc10\MSVCRT.lib(MSVCR110.dll) scummvm
There is no MFC library for ARM in Visual Studio, though DLL is present on the device.
We can't use dll2lib to create our own import library from mfc110u.dll as it exports only ordinals, but I was managed to recompile MFC from sources as a static library. As MS provided incomplete sources - some features are not present, for example using OLE controls and MFC controls embedded in dialogs designed in visual studio dialog editor. Creating those controls dynamically would work fine.
More information is here.
LIB sizes are huge (157 Mb debug and 1.2 Gb release builds) as I have not stripped the debug information. Don't be afraid of that - the produced EXE files would be small.
You can recompile MFC yourself like I did, or download LIBs here: http://www.multiupload.nl/FJEYPW5M26
Compressed with 7Zip as it gave the smallest archive size.
For installation - uncompress them into: "\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\lib\arm\" directory, add "#define _AFX_NO_MFC_CONTROLS_IN_DIALOGS" to your stdafx.h and select "use MFC in static library" in your project settings.
The problem I had is with the mfc static part, maybe you could figure that out and we'll have MFC
rawdllmainproxy.obj
stdafx.obj
nolib.obj
appmodul.obj
dumpstak.obj
oleexp.obj
sockexp.obj
dllmodul.obj
dllmodulx.obj
A lot of cross-platform apps will use 'nmake' or the like. For the most part, these apps can be cross compiled using the VS 2012 ARM Cross Tools - you can find that in your start menu- In Windows 8 just type "ARM" and it should show up.
/D _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE
Did you manage to run anything in 2017? Please reply even if you didn't