On 09/30/11 07:45, Paul R wrote:
> I just linked back to a build of 1.3 rc2
> It worked fine, i am thinking i might need to rebuild the 1.3
> library, i used msys and no errors were reported but i think i looked
> around for a snapshot that included the config and used that instead
> of the actual final release..
I'd agree with Ian, sounds like you might be linking
against one version of FLTK, but #include'ing against
another. This kind of mixup can cause weird crashes.
Try this test: go into the 'examples' subdirectory
of the FLTK release you're trying to work with,
and paste the contents of the 'simple x' program
into a file called foo.cxx in that directory. Then
run 'make foo; ./foo' and see if it works.
While in the examples subdir with the above foo.cxx,
maybe also try building with:
../fltk-config -compile foo.cxx
..and again, run the resulting binary.
If those all work, it's likely your tests that crash
are building against the wrong libs or include files
or both.
Be sure your app's compile/link flags for -I and -L
are all referring to the correct location of FLTK,
and be sure you don't have an old install of FLTK
lying around in /usr/include/FL that the compiler
might be picking up.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk