Inspired by the prop picker,I have put together a standalone property
browser using fltk. 
I actually have two versions, the first (which works) is just
meant to be a proof of concept, is not OO at all, and mixes 
fltk and JSBSim code.  In other words, it's real ugly code.  
I found this useful enough, however, that I thought it might be useful
to other folks, so I wrote a class to separate the JSBSim and fltk code.
This could be useful to anyone using David's property code.

The thing about it is that I keep getting a very weird seg fault
when I try to run it.  It doesn't seem correspond to a line of my code
(it happens between the end of the constructor call below and an output
statement, and AFAICT, the constructor does complete execution) 
This is what gdb says:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 25296)]
0x0804bec7 in main (argc=Cannot access memory at address 0xd0
) at browse.cpp:47
47        pb= new PropertyBrowser(window,PropertyManager);

Does anyone understand the argc= message above?  Any other ideas?

I'd be happy to share this code with folks, just let me know.

-- 
Tony Peden
[EMAIL PROTECTED]
We all know Linux is great ... it does infinite loops in 5 seconds. 
-- attributed to Linus Torvalds

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to