PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

issues with EasyCE/openPTC/zlib

hi there, i finnaly decided ti try to dev under VC++ with easyce1.6 and openptc. i succeeded in making a working w32 .exe i don't know how :') anyway that was under older easyCE.

i've got the following probleme now:

asyCE.obj : error LNK2001: unresolved external symbol _gzclose
EasyCE.obj : error LNK2001: unresolved external symbol _gzread
EasyCE.obj : error LNK2001: unresolved external symbol _gzopen
EasyCE.obj : error LNK2001: unresolved external symbol _ptc_key_create@16
EasyCE.obj : error LNK2001: unresolved external symbol __imp__sndPlaySoundA@8
Debug/wrun.exe : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.

well i suppose i missed some lib file from zlib ? (i set a path to all .c & .h zlib folder)

i think that's the last problem i have to solve :') please help
Lewil · 03 Apr 2002, 15:28 UTC — hmmm
well ... if u link with newer openptc lib tahn headers ok doesn't work well :) sorry

remaining this one:

Linking...
EasyCE.obj : error LNK2001: unresolved external symbol __imp__sndPlaySoundA@8
Release/wrun.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe
Lewil · 03 Apr 2002, 15:55 UTC — .
i'm not sure to understand why it works now ... but... it does ! sorry for bothering :/

this way of coding is much faster, but it's a "different" way of doing from the start and needs some practice i guess... and if u have an ipaq 37xx u can see your 65000 colors programs for the first time :') (instead of 4096). on a 733Mhz the speed is much higher than on ppc, i think i'll have to care about this ... well let's go back to my tiling/scrolling/fractal/ai stuff ... thx

a newbye is a newbye ... :')
Yeah, you really can't go by the emulation speed at all. My laptop that I do all my development on is only 300 mhz, which is less than 50% faster than my iPaq. However, un-optimized debug builds run much faster in the emuilator than optimized release builds on my iPaq. That just goes to show the Pentium's robust instruction set, coupled with its large cache, greatly boosts its performance. Hopefully the XScale processor will increase performance, in addition to only increasing MHZ.

Dan East
Lewil · 04 Apr 2002, 08:57 UTC — .
ok :)
i have to give details:
what would i like to do ?

i'd like to have some organised folders to make things clear - not so easy because of paths u have to declare everywhere in VC++...

this is how i'd like to work:

1/ a folder easy CE where i unzip the easyce 1.6 pack, including openptc and zlib - ok (i always have some issues in release mode - unresolved external from ptc - but it works with debug mode, don't know why)

2/ a folder project with a workspace in it. in this workspace, two projects: easyCE from the 1/ folder and myproject where i put my .cpp files with #include "easyce.h" in header. the myproject.dsw an my .cpp files should be in this folder.

in fact i'm trying not to add files to the easyce.dsw to let it as transparent as possible...

god that's not easy(ce) to explain :")

may be if someone gives an idea of "how to organize your work with easyce/ptc under W32" this could be very usefull for newbies cause:

a newbie is a newbie :) (is this newbYe or newbIe ??)
laurnet · 07 Apr 2002, 16:36 UTC — hey lewil
sorry out of subject
:roll: lewil i am searching for good graphics effects
if you have other effects than storm and water,..
send it to marchofthepigs@noos.fr