OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Would Somebody Please Look At Some Code For Me?, Another question, now C++ & FLTK
Capn_Fish
post Aug 23 2007, 05:09 PM
Post #1





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



I'm writing an SDL app, and it is segfaulting during making an instance of a class for reasons I cannot seem to determine. Could somebody look at the code for me? I'd rather not just post it, so please PM me if you can/are willing to help.

Thanks.

EDIT: It's C++ code, and probably some stupid little omission that is causing the issue (that tends to be the case with me).
Go to the top of the page
 
+Quote Post
Capn_Fish
post Aug 29 2007, 04:58 PM
Post #2





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



I got it figured out (it was a stupid error in the order I initialized things FWIW).
Go to the top of the page
 
+Quote Post
Capn_Fish
post Nov 10 2007, 07:48 PM
Post #3





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



OK, I've hit another error (different program, this one in C++/FLTK). It compiles with no errors, and through my tests I have concluded that it segfaults when it tries to show the window, not during some function leading up to it. I'm out of ideas. Could somebody look at the code for me (the tarball has the .hpp and .cpp files, the Fluid file, and a diff of the current code and the previous, non-segfaulting version)? It's the source for CelestialConfig, if it makes more people look at it smile.gif, and it compiles with:

CODE
fltk-config --compile celestialconfig.cpp


Thanks.

EDIT: You can PM me or post here if you have questions, comments, suggestions, or a solution. Thanks.

This post has been edited by Capn_Fish: Nov 10 2007, 07:49 PM
Attached File(s)
Attached File  celestialconfig.tar.gz ( 19.77K ) Number of downloads: 0
 
Go to the top of the page
 
+Quote Post
Capn_Fish
post Nov 13 2007, 07:42 PM
Post #4





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



OK, I have incentive to rewrite the code anyway, so I guess I don't need help anymore (but if I hit the same unknown issue as before I will).
Go to the top of the page
 
+Quote Post
Snappy
post Nov 17 2007, 10:00 AM
Post #5





Group: Members
Posts: 793
Joined: 28-November 04
From: NM, US, sometimes Asia
Member No.: 5,633



Keep it going ... glad you got it going and somewhat fixed ... smile.gif ... I'm in coder's block ... just cannot get myself into the momentum to code anything ... sad.gif

... ok, except perhaps rigging up a simple app on facebook ... but that doesn't really count as coding ... biggrin.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2014 - 10:24 AM