This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Gapi Emulation Build Error!


Gapi Emulation Build Error!

Postby vikrambk » Feb 13, 2003 @ 2:50pm

Hi!

I have just downloaded GAPI emulator for Pocket PC and have copied the files to the following folders:
gx.lib - Lib directory
gx.dll - emulator/palm300/windows directory
gx.h - include directory

When I try to build a small project I get the following errors:

--------------------Configuration: Project01 - Win32 (WCE x86em) Release--------------------
Compiling...
StdAfx.cpp
Compiling...
Project01.cpp
Linking...
Project01.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXCloseDisplay(void)" (__imp_?GXCloseDisplay@@YGHXZ) referenced in function "int __stdcall InitInstance(struct HINSTANCE__ *,int)" (?InitInstance@@YGHPAUH
INSTANCE__@@H@Z)
Project01.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) struct GXDisplayProperties __stdcall GXGetDisplayProperties(void)" (__imp_?GXGetDisplayProperties@@YG?AUGXDisplayProperties@@XZ) referenced in function "int __stdcall I
nitInstance(struct HINSTANCE__ *,int)" (?InitInstance@@YGHPAUHINSTANCE__@@H@Z)
Project01.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXOpenDisplay(struct HWND__ *,unsigned long)" (__imp_?GXOpenDisplay@@YGHPAUHWND__@@K@Z) referenced in function "int __stdcall InitInstance(struct HINSTANC
E__ *,int)" (?InitInstance@@YGHPAUHINSTANCE__@@H@Z)
Project01.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXResume(void)" (__imp_?GXResume@@YGHXZ) referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAU
HWND__@@IIJ@Z)
Project01.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXSuspend(void)" (__imp_?GXSuspend@@YGHXZ) referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJP
AUHWND__@@IIJ@Z)
Project01.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXEndDraw(void)" (__imp_?GXEndDraw@@YGHXZ) referenced in function "bool __stdcall ClearScreen(struct COLOR)" (?ClearScreen@@YG_NUCOLOR@@@Z)
Project01.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void * __stdcall GXBeginDraw(void)" (__imp_?GXBeginDraw@@YGPAXXZ) referenced in function "bool __stdcall ClearScreen(struct COLOR)" (?ClearScreen@@YG_NUCOLOR@@@Z)
X86EMRel/Project01.exe : fatal error LNK1120: 7 unresolved externals
Error executing link.exe.

Project01.exe - 8 error(s), 0 warning(s)
-----------------------------------------------------

Can anyone tell me what I am doing wrong. Is the gx.dll file supposed to go into some other folder.

Thanks

Vikram
vikrambk
 


linker errors

Postby Conan » Feb 13, 2003 @ 3:07pm

Just guessing but I don't think your problem is connected with GAPI.

Are you building one of the sample projects contained within the PocketFrog project ? If not you may not have everything set up correctly within your project.

I don't understand why you are downloading the GAPI emulator btw, are you not using PocketFrog and just trying to use the emulator with your own code?
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


PocketFrog Error!

Postby vikrambk » Feb 13, 2003 @ 3:46pm

Hi!

I am getting the following error while compiling the PocketFrog project "Blit". I have included all the folders etc.(Stlport and PocketFrog) in the Options for the project.I get the following error.
--------------------Configuration: Blit - Win32 (WCE ARM) Debug--------------------
Compiling resources...
Compiling...
blit.cpp
Linking...
LINK : fatal error LNK1104: cannot open file "PocketFrog_ARM_Debug.lib"
Error executing link.exe.

Blit.exe - 1 error(s), 0 warning(s)
-----------------------------------------------------

I get this error for all the configurations. Pocket PC 2002 ARM & x86.

Thanks

Vikram
vikrambk
 


building the PF lib

Postby Conan » Feb 13, 2003 @ 4:12pm

What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby damian » Feb 14, 2003 @ 2:13am

damian
pm Insider
 
Posts: 3960
Joined: Sep 3, 2002 @ 7:59pm
Location: Acton, MA (home), NYC (school)


Postby adde » Feb 14, 2003 @ 4:39am

User avatar
adde
pm Member
 
Posts: 152
Joined: Oct 9, 2002 @ 1:42pm
Location: Stockholm / Sweden


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron