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

Blitting scaled RGBA surfaces + loading a mod file


Blitting scaled RGBA surfaces + loading a mod file

Postby Nacho84 » Nov 10, 2008 @ 4:18pm

Nacho84
pm Member
 
Posts: 82
Joined: Dec 15, 2007 @ 12:00pm
Location: Buenos Aires, Argentina


Postby edge » Nov 11, 2008 @ 10:13am

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Nacho84 » Nov 14, 2008 @ 1:25am

Nacho84
pm Member
 
Posts: 82
Joined: Dec 15, 2007 @ 12:00pm
Location: Buenos Aires, Argentina


Postby edge » Nov 14, 2008 @ 1:51pm

Hi Nacho,

The breakpoint problem is similar to a problem we've experienced with Hekkus. It was caused by a mismatch of libraries (for example, combining a DLL with a static library definition).

Please check your code, it should be either the following:
- Define HSS_STATICLIB before including HSS.h and use the library inside /HekkusSoundSystem/lib_static/xp
- Don't define HSS_STATICLIB, use the library inside /HekkusSoundSystem/lib/xp

If it fixes the breakpoint problem, it may also fix the other issue. Please check this.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Nacho84 » Nov 15, 2008 @ 9:46pm

Hi edge,

I've checked the directory where I decompressed Hekkus but it seems that there's no longer an "xp" subdirectory inside "lib_static". I only have the following two: "gp2x" and "psp" (I'm using the 0.99.6.2 version of the library).

Another question: Do I have to include "hss.h"? I'm following this and it saids that if I want to use Hekkus all I need to do is define ESOUND_HEKKUS before including edgemain.h.

Thanks again for all your answers.

--Nacho
Nacho84
pm Member
 
Posts: 82
Joined: Dec 15, 2007 @ 12:00pm
Location: Buenos Aires, Argentina


Postby edge » Nov 17, 2008 @ 3:49pm

Hi Nacho,

Static libraries are only provided to donators of Hekkus, the only option would be to use the DLL. Please make sure HSS_STATICLIB is defined nowhere in your code. Also check the hekkus.h headerfile in the EDGELIB SDK for this definition (it shouldn't be there).

If you use the ClassESound sound wrapper, you don't need to include HSS.h, because it is already included by EDGELIB when defining ESOUND_HEKKUS.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Nacho84 » Nov 21, 2008 @ 3:12am

Hi edge,

I've checked all around my code and, apparently, HSS_STATICLIB hasn't been defined at all. What else can I do?

--Nacho
Nacho84
pm Member
 
Posts: 82
Joined: Dec 15, 2007 @ 12:00pm
Location: Buenos Aires, Argentina


Postby edge » Nov 21, 2008 @ 11:54am

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Nacho84 » Nov 21, 2008 @ 2:52pm

Nacho84
pm Member
 
Posts: 82
Joined: Dec 15, 2007 @ 12:00pm
Location: Buenos Aires, Argentina


Postby edge » Nov 21, 2008 @ 4:37pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Nacho84 » Nov 23, 2008 @ 3:58am

Nacho84
pm Member
 
Posts: 82
Joined: Dec 15, 2007 @ 12:00pm
Location: Buenos Aires, Argentina


Postby edge » Nov 24, 2008 @ 10:19am

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

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