'WinCE'에 해당되는 글 1건

  1. 2013.06.25 Build SDK of WinCE 6.0 in Windows 7 64 bit

원문(source): http://geekswithblogs.net/WindowsEmbeddedCookbook/archive/2010/08/31/installing-windows-ce-6.0-tools-on-a-windows7-64bit-pc.aspx


WinCE 6.0 SDK를 Windows7 64 bit version에서 빌드할 경우 오류가 발생한다. 이는 빌드를 위한 툴이 32bit 용으로 제작되어서 동작하지 않기 때문이다. 이 문제는 SDK 빌드 시 사용되는 GenSdk.exe 32bit로 실행하게 해 주는 간단한 프로그램을 제작하여 해결할 수 있다. 제작 방법은 원문에 자세히 설명되어 있다.


제작한 프로그램 GenSdk32.exe을 첨부하며, 이를 c:\Program Files (x86)\Microsoft Platform Builder\6.00\cepb\IdeVS 폴더에 카피한 이후, WinCE 명령창을 열고, Visual Studio에서 SDK 빌드 시 표시되는 명령에서 GenSdk.exe 을 GenSdk32.exe로 변경하여 빌드하면 된다.


GenSdk32.exe

"C:\Program' Files (x86)\Microsoft Platform Builder\6.00\cepb\IdeVS\GenSdk32.exe" "D:\CE600\PLATFORM\MyProj\OSDesigns\MyProj\SDKs\SDK1\obj\BuildSDK1.xml" 


추가로, PBXMLUtils.exe, LicenseTool.exe(Run-Time License Assessment Tool)은 Visual Studio 명령창을 열어서, 아래 명령을 입력하여 32 bit 모드에서 동작하게 설정할 수 있다.


CorFlags “C:\Program Files (x86)\Microsoft Platform Builder\6.00\cepb\IdeVS\PBXMLUtils.exe” /32BIT+

CorFlags "c:\Program Files (x86)\Microsoft Platform Builder\6.00\cepb\IdeVS\LicenseTool.exe" /32BIT+ /Force


그런데, 개인적으로는 GenSdk32.exe을 제작하여 사용하는 방법보다 GenSdk.exe 또한 아래 명령으로 32bit 모드로 실행되게 설정하여, Visual Studio 내에서 또한 SDK을 빌드할 수 있게 설정하는 것이 더 편리하다.


CorFlags "c:\Program Files (x86)\Microsoft Platform Builder\6.00\cepb\IdeVS\GenSdk.exe" /32BIT+ /Force

 

'Programming' 카테고리의 다른 글

Micro Mouse Simulator with python  (2) 2013.06.04
Double Commander  (0) 2013.06.03
Posted by 장손1
,