FLTK (Fast Light Toolkit)

This is a discussion on FLTK (Fast Light Toolkit) within the C++ Programming forums, part of the General Programming Boards category; I'm using Windows Vista - Visual C++ IDE, and I want to install and use this FLTK with my Visual ...

  1. #1
    Registered User
    Join Date
    Apr 2008
    Location
    Haddock, GA, United States
    Posts
    13

    FLTK (Fast Light Toolkit)

    I'm using Windows Vista - Visual C++ IDE, and I want to install and use this FLTK with my Visual C++ IDE. I followed the steps, but when I try to compile and run something this window appears. It says: Unable to start program 'C:\Users\Adrian G. Mowrey\Documents\Visual Studio 2008\Projects\ExampleFLTK\Debug\ExampleFLTK.exe'. The system cannot find the file specified.

    What should I do to make it work? Thank you.

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,265
    Does that file exist?
    bit∙hub [bit-huhb] n. A source and destination for information.

  3. #3
    Registered User
    Join Date
    Apr 2008
    Location
    Haddock, GA, United States
    Posts
    13
    I have followed the steps in the book I have (Programming Principles and Practice using C++), but when I tried to create a Win32 empty project...I added a C++ file where I added the following code:
    Code:
    #include <FL/Fl.h>
    #include <Fl/Fl_Box.h>
    #include <Fl/Fl_Window.h>
    
    int main()
    {
    	Fl_Window window(200, 200, "Window title");
    	Fl_Box box(0, 0, 200, 200, "Hey, I mean, Hello, World!");
    	window.show();
    	return Fl::run();
    }
    to be able to test and see if FLTK works, but it won't work when I try to Start Debugging the project.

  4. #4
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,265
    I meant to ask if the file ExampleFLTK.exe exists on your system at the path specified.
    bit∙hub [bit-huhb] n. A source and destination for information.

  5. #5
    Registered User
    Join Date
    Apr 2008
    Location
    Haddock, GA, United States
    Posts
    13
    No, it does not exist at that path... :-(

  6. #6
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,265
    Are you sure the compile succeeded then? Were there any build errors?
    bit∙hub [bit-huhb] n. A source and destination for information.

  7. #7
    Dae
    Dae is offline
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Sometimes this happens to me when the project has a non-default output folder, or Visual Studio decides to put the binary a couple folders up when the solution has multiple projects, etc. In which case it's easy to just go up a few folders (C:\Users\Adrian G. Mowrey\Documents\Visual Studio 2008\) and search for "ExampleFLTK". Look for the executable, open containing folder.
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Light and Fast OS
    By siavoshkc in forum Tech Board
    Replies: 17
    Last Post: 09-13-2007, 09:03 AM
  2. Critique my lighting model.
    By psychopath in forum Game Programming
    Replies: 4
    Last Post: 08-12-2006, 07:23 PM
  3. geometry won't display!?
    By psychopath in forum Game Programming
    Replies: 17
    Last Post: 09-21-2004, 11:10 AM
  4. How many forums members to change a lightbulb.
    By adrianxw in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 01-01-2004, 08:31 PM
  5. A Common Scientific Belief
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 03-29-2002, 05:54 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21