Home » Developing U++ » U++ Developers corner » Current porting state?
Re: Current porting state? [message #5298 is a reply to message #5283] |
Wed, 13 September 2006 03:27   |
lundman
Messages: 175 Registered: March 2006 Location: Tokyo
|
Experienced Member |
|
|
I do not know if I am doing it the correct way, but I exported the Makefile for HelloWorld and set to.
The flagUSEMALLOC, when enabled, created some undefined references MemoryDumpLeaks() in Core.h, which was easy to fix, but I took out USEMALLOC anyway.
Compiling HelloWorld failed due to:
StaticCriticalSection::Initialize
So I wrapped the prototype in #ifdef _MULTITHREADED in mt.h
Then we were linked. Still cores in identical memset(), commented out.
Cores in UnpackRLE, so I made it just return s;
Cores in memcpy:82 Util.h
Cores in memset:273 Image.cpp
At this point I get the Window comes up, with working menu bar.
Picking About will core again, this time in:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x36340834
0x000e14fc in BltAAMapRGBA4 (dest=0x6888c00, s=0x36340834, map=0x6377080) at /Users/lundman/uppsrc/uppsrc/Draw/ImageScale.cpp:278
278 dest[0] = (s[0].b + s[step].b + s[2 * step].b + s[3 * step].b) << 6;
(gdb) p s
$1 = (const RGBA *) 0x36340834
(gdb) p *s
Cannot access memory at address 0x36340834
Why is it that your RGBA's, which seem to be defined as "RGBA *" or, pointers to an RGBA, end up with the RGBA value "0x36340834" (which looks like a clean RGBA value to me) instead of a pointer to said value.
Almost like:
RGBA *rgba;
*rgba = value;
.. is interpreted as "*(rgba)=value;" instead of the correct
"(*rgba)=value;".
|
|
|
 |
|
Current porting state?
By: Werner on Fri, 25 August 2006 17:24
|
 |
|
Re: Current porting state?
By: mirek on Sun, 27 August 2006 19:13
|
 |
|
Re: Current porting state?
By: Werner on Sun, 27 August 2006 20:36
|
 |
|
Re: Current porting state?
By: masu on Sun, 27 August 2006 21:22
|
 |
|
Re: Current porting state?
By: Werner on Mon, 28 August 2006 21:38
|
 |
|
Re: Current porting state?
By: lundman on Mon, 11 September 2006 10:35
|
 |
|
Re: Current porting state?
By: mirek on Mon, 11 September 2006 10:41
|
 |
|
Re: Current porting state?
By: lundman on Mon, 11 September 2006 14:05
|
 |
|
Re: Current porting state?
By: mirek on Mon, 11 September 2006 14:16
|
 |
|
Re: Current porting state?
By: lundman on Tue, 12 September 2006 03:13
|
 |
|
Re: Current porting state?
By: lundman on Tue, 12 September 2006 06:01
|
 |
|
Re: Current porting state?
By: lundman on Tue, 12 September 2006 07:49
|
 |
|
Re: Current porting state?
By: lundman on Tue, 12 September 2006 11:03
|
 |
|
Re: Current porting state?
By: mirek on Tue, 12 September 2006 11:16
|
 |
|
Re: Current porting state?
By: lundman on Tue, 12 September 2006 12:06
|
 |
|
Re: Current porting state?
By: lundman on Tue, 12 September 2006 12:56
|
 |
|
Re: Current porting state?
By: mirek on Tue, 12 September 2006 13:00
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 03:27
|
 |
|
Re: Current porting state?
By: mirek on Wed, 13 September 2006 08:10
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 08:51
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 09:21
|
 |
|
Re: Current porting state?
By: mirek on Wed, 13 September 2006 10:01
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 11:15
|
 |
|
Re: Current porting state?
By: mirek on Wed, 13 September 2006 11:23
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 11:42
|
 |
|
Re: Current porting state?
By: mirek on Wed, 13 September 2006 11:52
|
 |
|
Re: Current porting state?
By: mirek on Wed, 13 September 2006 11:39
|
 |
|
Re: Current porting state?
By: mirek on Wed, 13 September 2006 11:45
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 11:53
|
 |
|
Re: Current porting state?
By: mirek on Wed, 13 September 2006 11:59
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 12:03
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 12:11
|
 |
|
Re: Current porting state?
By: mirek on Wed, 13 September 2006 12:13
|
 |
|
Re: Current porting state?
By: mirek on Wed, 13 September 2006 12:27
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 12:27
|
 |
|
Re: Current porting state?
By: mirek on Wed, 13 September 2006 12:29
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 12:33
|
 |
|
Re: Current porting state?
By: mirek on Wed, 13 September 2006 12:42
|
 |
|
Re: Current porting state?
By: mirek on Wed, 13 September 2006 12:46
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 12:59
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 13:05
|
 |
|
Re: Current porting state?
By: mirek on Wed, 13 September 2006 13:19
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 13:26
|
 |
|
Re: Current porting state?
By: mirek on Wed, 13 September 2006 13:28
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 13:32
|
 |
|
Re: Current porting state?
By: mirek on Wed, 13 September 2006 14:10
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 14:12
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 14:11
|
 |
|
Re: Current porting state?
By: lundman on Wed, 13 September 2006 15:36
|
 |
|
Re: Current porting state?
By: mirek on Sun, 27 August 2006 22:52
|
Goto Forum:
Current Time: Sun Jun 08 00:31:27 CEST 2025
Total time taken to generate the page: 0.03861 seconds
|