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

Help !


Help !

Postby Franck » Oct 29, 2001 @ 7:19am

Hi !<br>I try to compile my sources and easyce put me this error... Please help me ! Thanks !<br>Franck<br><br>Compiling...<br>toto.cpp<br>EasyCE.cpp<br>Compiling for PocketPC (3.0, using GAPI)<br>C:\toto\toto\EasyCE.cpp(1215) : fatal error C1010: unexpected end of file while looking for precompiled header directive<br>Generating Code...<br>Error executing cl.exe.<br><br>Dames.exe - 1 error(s), 0 warning(s)
Franck
 


Re: Help !

Postby Anders » Oct 29, 2001 @ 9:00am

Hi...<br><br>Choose Project->Settings in the embedded visual environment. Enter the category precompiled headers and choose "Not using precompiled headers". <br><br>/Anders
Anders
pm Member
 
Posts: 13
Joined: Oct 4, 2001 @ 9:49am


Re: Help !

Postby Franck » Oct 29, 2001 @ 11:32am

Thanks !
Franck
 


Re: Help !

Postby Franck » Oct 30, 2001 @ 6:40am

Hups ! Sorry !<br>I can't find the category precompiled headers in<br>project settings !!!<br>Where is it ?<br>I have Embedded Visaul C++ 3.0...<br>Thanks !<br>Franck
Franck
 


Re: Help !

Postby Franck » Oct 30, 2001 @ 9:35am

Pffff !<br>I think I look like a baby...<br>OK for precompiled header... But now I have some new errors...<br>All are in the linking : unresolved external symbol !! (and 2 warnings) What's this ??<br><br>H E L P !<br><br>(I thank it was easy to place EasyCE in my sources!..but it isn't ! :(<br><br>-----------------------------------------------<br>Compiling for PocketPC (3.0, using GAPI)<br>DamesView.cpp<br>EasyCE.cpp<br>Compiling for PocketPC (3.0, using GAPI)<br>C:\Dames\Dames\EasyCE.cpp(70) : warning C4007: 'main' : must be '__cdecl'<br>MainFrm.cpp<br>Generating Code...<br>Linking...<br>LINK : warning LNK4031: no subsystem specified; CONSOLE assumed<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXCloseDisplay(void)" (__imp_?GXCloseDisplay@@YGHXZ) referenced in function _WinMain@16<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXCloseInput(void)" (__imp_?GXCloseInput@@YGHXZ) referenced in function _WinMain@16<br>EasyCE.obj : error LNK2019: unresolved external symbol _main referenced in function _WinMain@16<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXIsDisplayDRAMBuffer(void)" (__imp_?GXIsDisplayDRAMBuffer@@YGHXZ) referenced in function _WinMain@16<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) struct GXDisplayProperties  __stdcall GXGetDisplayProperties(void)" (__imp_?GXGetDisplayProperties@@YG?AUGXDisplayProperties@@XZ) referenced in function _WinMain@16<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) struct GXKeyList  __stdcall GXGetDefaultKeys(int)" (__imp_?GXGetDefaultKeys@@YG?AUGXKeyList@@H@Z) referenced in function _WinMain@16<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXOpenInput(void)" (__imp_?GXOpenInput@@YGHXZ) referenced in function _WinMain@16<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXOpenDisplay(struct HWND__ *,unsigned long)" (__imp_?GXOpenDisplay@@YGHPAUHWND__@@K@Z) referenced in function _WinMain@16<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXEndDraw(void)" (__imp_?GXEndDraw@@YGHXZ) referenced in function "void __stdcall updatedisplay(void)" (?updatedisplay@@YGXXZ)<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void * __stdcall GXBeginDraw(void)" (__imp_?GXBeginDraw@@YGPAXXZ) referenced in function "void __stdcall updatedisplay(void)" (?updatedisplay@@YGXXZ)<br>X86EMDbg/Dames.exe : fatal error LNK1120: 10 unresolved externals<br>Error executing link.exe.<br><br>Dames.exe - 11 error(s), 2 warning(s)<br>----------------------------------------------<br><br>Is someone know what sort of problem is it ?<br>THANKS A LOT !!!!<br>Franck
Franck
 


Re: Help !

Postby Dan East » Oct 30, 2001 @ 10:03am

You need to link to gx.lib.  I don't know if the GAPI is included in Jacco's distribution. If not then you will need to download it from Microsoft.<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: Help !

Postby Phantom » Oct 30, 2001 @ 12:12pm

It doesn't come with most of the samples, I believe, but it is in the Lemmings source code package.
Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Re: Help !

Postby Franck » Oct 31, 2001 @ 5:39am

:(((((<br><br>I input gx.lib in "project->settings" but i have the same problem...<br>Maybe the problem is that I compile it in WCE x86em mode ?!<br><br>It's like sampleapp, I try todo it working with the emulation...and... it's impossible ?!<br><br>Please help me !<br>I WANT TO USE EASYCE !!<br>Franck<br>(am I so bad ?)<br><br><br>--------------------Configuration: Dames - Win32 (WCE x86em) Release--------------------<br>Linking...<br>LINK : warning LNK4031: no subsystem specified; CONSOLE assumed<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXCloseDisplay(void)" (__imp_?GXCloseDisplay@@YGHXZ) referenced in function _WinMain@16<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXCloseInput(void)" (__imp_?GXCloseInput@@YGHXZ) referenced in function _WinMain@16<br>EasyCE.obj : error LNK2019: unresolved external symbol _main referenced in function _WinMain@16<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXIsDisplayDRAMBuffer(void)" (__imp_?GXIsDisplayDRAMBuffer@@YGHXZ) referenced in function _WinMain@16<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) struct GXDisplayProperties  __stdcall GXGetDisplayProperties(void)" (__imp_?GXGetDisplayProperties@@YG?AUGXDisplayProperties@@XZ) referenced in function _WinMain@16<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) struct GXKeyList  __stdcall GXGetDefaultKeys(int)" (__imp_?GXGetDefaultKeys@@YG?AUGXKeyList@@H@Z) referenced in function _WinMain@16<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXOpenInput(void)" (__imp_?GXOpenInput@@YGHXZ) referenced in function _WinMain@16<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXOpenDisplay(struct HWND__ *,unsigned long)" (__imp_?GXOpenDisplay@@YGHPAUHWND__@@K@Z) referenced in function _WinMain@16<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __stdcall GXEndDraw(void)" (__imp_?GXEndDraw@@YGHXZ) referenced in function "void __stdcall updatedisplay(void)" (?updatedisplay@@YGXXZ)<br>EasyCE.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void * __stdcall GXBeginDraw(void)" (__imp_?GXBeginDraw@@YGPAXXZ) referenced in function "void __stdcall updatedisplay(void)" (?updatedisplay@@YGXXZ)<br>X86EMRel/Dames.exe : fatal error LNK1120: 10 unresolved externals<br>Error executing link.exe.<br><br>Dames.exe - 11 error(s), 1 warning(s)
Franck
 


Re: Help !

Postby pat7787 » Nov 1, 2001 @ 12:44am

Did you put your required library files into your project/workspace directory?<br><br>Like for jornada, I have lib_pc and lib_sh3 directories inside. I believe you also have to go to Project/Settings, then under one of the drop down combo boxes (I can't remember either C/C++ or Linker or something), you will find this path for Additional Source files, then you must add lib_sh3, etc.<br><br>I can't really remember coz all my files are in another comp which is not on at the moment. When I'm using it, I'll see if I can find it.<br><br>Patrick
pat7787
pm Member
 
Posts: 11
Joined: Oct 12, 2001 @ 2:40am


Re: Help !

Postby pat7787 » Nov 1, 2001 @ 12:48am

I take it that you could compile the sampleapp application, and you are trying to use easyCE for your own application?<br><br>I found the instructions for my previous post in the first few commented lines of sampleapp.cpp. It says:<br><br>// To use EasyCE, we need to include EasyCE.h. Note<br>// that we also need to add gx.lib to our project.<br>// This can be done in project settings/linker/General/<br>// Object&Library modules. Embedded visual tools needs<br>// to know where it can find gx.lib; since we need<br>// a different version for each target platform,<br>// it's best to store them in their own subdir. <br>// Specify these dirs for each platform in Project<br>// settings/linker/input/Additional library path.<br><br>Hope this helps.<br><br>Patrick
pat7787
pm Member
 
Posts: 11
Joined: Oct 12, 2001 @ 2:40am


Return to Phantom's Forum


Sort


Forum Description

Discuss any of Phantom's projects here (Operation Nutcracker, etc.)

Moderators:

sponge, RICoder, Phantom

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