Home » Developing U++ » U++ Developers corner » Current porting state?
Re: Current porting state? [message #5299 is a reply to message #5298] |
Wed, 13 September 2006 08:10   |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
Quote: |
I do not know if I am doing it the correct way, but I exported the Makefile for HelloWorld and set to.
|
HelloWorld is still too big. First thing that you should make working when porting is logging (LOG and DUMP).
Quote: |
The flagUSEMALLOC, when enabled, created some undefined references MemoryDumpLeaks() in Core.h, which was easy to fix, but I took out USEMALLOC anyway.
|
Rather stay with malloc. If there is something highly platform sensitive, it is heap allocator implementation.
Quote: |
Compiling HelloWorld failed due to:
StaticCriticalSection::Initialize
|
Error?
Quote: |
(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;".
|
Actually, I believe that debugger and compiler are correct. Just somehow s contains invalid address.
|
|
|
 |
|
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: Thu Aug 14 02:13:30 CEST 2025
Total time taken to generate the page: 0.07461 seconds
|