>
> > I am having trouble with FLTK displaying a window for a=20
> > helloWorld program, and I was hoping that someone could help.=20
> >  I am running Win7 with VC++ 2008 Express Edition, and I have=20
> > the following code:
> >=20
> > #include <FL/Fl.h>
> > #include <FL/Fl_Box.h>
> > #include <FL/Fl_Window.h>
> >=20
> > int main()
> > {
> >     Fl_Window window(200,200,"Window Title");
> >     Fl_Box box(0,0,200,200,"Hello World!");
> >     window.end();
> >=20
> >     window.show();
> >     return Fl::run();
> >=20
> > }
> >=20
> > It compiles no problem, but no window is shown at all. =20
> > Anyone have a clue? =20
>
> Your code is fine - works OK for me (tested on winXP with mingw - don't
> have win7 or VC).
>
> Not sure what to suggest - do the examples in the test folder all work
> OK? If not, I'd have to guess that something is hosed in your set up...
>
> If you run the exe from the debugger, does that indicate anything?
>
> Is the behaviour the same if you launch the exe from within VC as it is
> when you launch it by double-clicking from explorer?
>
> I'm not familiar with recent versions of VC - but I presume there is
> still an output window somewhere that logs the results of running your
> application? If so, is it saying anything interesting?
>
>
>
>
>
>
> SELEX Sensors and Airborne Systems Limited
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS=
> 14 3EL
> A company registered in England & Wales.  Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>

Yeah I get output, but nothing seems out of place:

1>------ Build started: Project: Chapter12, Configuration: Debug Win32 ------
1>Linking...
1>Embedding manifest...
1>Build log was saved at "file://c:\Users\Derrick\Documents\Visual Studio 
2008\Projects\Chapter12\Chapter12\Debug\BuildLog.htm"
1>Chapter12 - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========


One thing I didn't mention is that I am running Win7 x64.  Can FLTK run on 
64-bit systems?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to