Help - Search - Members - Calendar
Full Version: Would Somebody Please Look At Some Code For Me?
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > Linux Applications
Capn_Fish
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).
Capn_Fish
I got it figured out (it was a stupid error in the order I initialized things FWIW).
Capn_Fish
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.
Capn_Fish
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).
Snappy
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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.