![]() ![]() |
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). |
|
|
|
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).
|
|
|
|
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
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)
|
|
|
|
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).
|
|
|
|
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 ...
... ok, except perhaps rigging up a simple app on facebook ... but that doesn't really count as coding ... |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th June 2013 - 10:12 AM |