PocketMatrix forums

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

cannot open file 'PocketFrog_ARM.lib'

When i try to compile code that uses pocketfrog i get "cannot open file 'PocketFrog_ARM.lib'" error. What should i do?
I use evc++ 4.0.
The most likely errors are:-

1. You have not built the .lib file
(project, set active project & build pocketfrog.lib for the required platform/s)

or

2. Your tools/options/directories/libraries settings don't include the path to the lib.
Ok, i solved that problem.
Now i have another one. I built the "blit" sample, but it is always in portrait orientation, no matter what i set to m_config.orientation. How to make it work correctly? Maybe that's because i use ipaq 1940 which is not in list of supported machines?
Hopefully someone who has worked on orientation can answer. I looked at the source for display.cpp & it looks like it should be ok for most devices even those not listed in the source. You could debug & watch what happens within display.cpp
Code:
#if defined(_WIN32_WCE)

// Look up desired backbuffer's orientation relative to GAPI
static const Orientation table[4][4] =
{
{ ORIENTATION_NORTH, ORIENTATION_EAST, ORIENTATION_SOUTH, ORIENTATION_WEST },
{ ORIENTATION_WEST, ORIENTATION_NORTH, ORIENTATION_EAST, ORIENTATION_SOUTH },
{ ORIENTATION_SOUTH, ORIENTATION_WEST, ORIENTATION_NORTH, ORIENTATION_EAST },
{ ORIENTATION_EAST, ORIENTATION_SOUTH, ORIENTATION_WEST, ORIENTATION_NORTH }
};

m_orientationBB = table[m_driver->GetOrientation()][m_orientation];

#else

m_orientationBB = ORIENTATION_NORTH;

if (orientation == ORIENTATION_EAST || orientation == ORIENTATION_SOUTH)
m_orientationBB = ORIENTATION_SOUTH;

#endif