PocketMatrix forums

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

LNK1104: cannot open file "stlport_vc6_static.lib"

Seems I forgot to specify that C++ IO streams need to be disabled when using STLport, particularly on Windows CE (STLport doesn't compile for WinCE).

You do this by editing STLport's user config file "STL_USER_CONFIG.H" and defining the "_STLP_NO_IOSTREAMS" macro.
I've edited as your post but still get error as following..
------------------
Compiling...
display.cpp
E:\DATA\eVC\Tools\PocketFrog_0_5_0\src\foreign/boost/scoped_ptr.hpp(15) : fatal error C1083: Cannot open include file: 'cassert': No such file or directory
image.cpp
E:\DATA\eVC\Tools\PocketFrog_0_5_0\src\foreign/boost/scoped_ptr.hpp(15) : fatal error C1083: Cannot open include file: 'cassert': No such file or directory
....
many same errors (I delete to save space here.)
....
Blit.exe - 16 error(s), 0 warning(s)
-----------------

How to resolve these errors?
This means that your STLport is not included properly in your include search path. I will remove dependency on <cassert> in the next release (so that STLport is not required for using the library, as opposed to building it).

For now: installing STLport is easy, take a look at the following link:

http://frog.flipcode.com/PocketFrog/install.html

If you have any other question, let me know!
Ok..I can compile "Blit" sample now.
Thank you for your help.
BurningSheep · 22 May 2002, 22:39 UTC
Did you compile it under VC++ as well? when I do, it creates the window in landscape but also rotates the entire image so it doesn't fit in the window and is displayed sideways
BurningSheep wrote:
Did you compile it under VC++ as well? when I do, it creates the window in landscape but also rotates the entire image so it doesn't fit in the window and is displayed sideways


I seem unable to reproduce this on my XP desktop. What OS are you using? Did you modify anything? Can you send me a screenshot?
BurningSheep · 23 May 2002, 06:33 UTC
Image

I'm (forced) using Windows 98, as you can see the left part of the window just isn't updated and everything is rotated counter clockwise. I read somewhere in the pocketfrog code that some rotate functions only work under NT. But it runs fine when I set the orientation to north and as you can see from the screenshot some rotation function seem to work fine :)
I really need to find my Visual Studio CD, so I can install vc++ on my xp or win2k machine.
Indeed something is wrong... The problem is that PocketFrog is resizing the window to 320x240 for landscape mode and the emulator doesn't support it on non-NT systems (no rotation available).

Open "GAPI_Emu.cpp" and look for the following line:

Code:

Config l_config = SIMPLE_565;


Change the configuration to landscape. For example:

Code:

Config l_config = LANDSCAPE_565;


This should work because the emulator won't need to rotate the image anymore.
BurningSheep · 23 May 2002, 07:27 UTC
WOW, that was fast :D

unfortunately it doesn't seem to help, it gives the exact same result
Definitely a "problem" of the emulator. It is meant to be used on the Pocket PC emulators (2000 and 2002) and I assumed NT was always available (which is the case when using a PPC emulator anyways).

I will try to come with a fix for the next release.
Or.. You can do as I have planned a long time.. And probably WILL implement in GD102 as well.. ;)

Code:
if (!dwOperatingSystem || (dwOperatingSystem & ~(_WIN32_WCE | WINXP | WIN2000)))
{
return GDERR_UPGRADEYOUROLDOSBECAUSEITISCRAP;
}


Perhaps I'm not the guy with an opinion though, creating all my sample apps in vs.net and so on.. :)
Right on SBL =)