I have installed FOX in "c:/cygwin/usr/"; I see that the header files
are installed in "c:/cygwin/usr/include/fox"
I added FOX path in the in the DevCpp as: Tools --> Compiler Options
--> Directories --> C++ Includes --> [c:/cygwin/user/include/fox]
I downloaded and installed the DevFox package.
Selecting New Project --> GUI --> FOX in DevCpp I started a FOX project,
but I get the following errors:
-------------
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing make clean
rm -f man.o Project1.exe
g++.exe -c man.cpp -o man.o -I"C:/cygwin/usr/include"
-I"C:/cygwin/usr/include/c++" -I"C:/cygwin/usr/include/c++/3.2"
-I"C:/cygwin/usr/include/c++/3.3.1"
-I"C:/cygwin/usr/include/c++/3.3.1/backward"
-I"C:/cygwin/usr/include/c++/3.3.1/i686-pc-cygwin"
-I"C:/cygwin/usr/include/fox"
g++.exe man.o -o "Project1.exe" -L"C:/cygwin/lib" -L"C:/cygwin/usr/fox"
man.o(.text+0x9b):man.cpp: undefined reference to
`Fl_Window::Fl_Window[in-charge](int, int, char const*)'
man.o(.text+0x1bb):man.cpp: undefined reference to
`fl_define_FL_SHADOW_LABEL()'
man.o(.text+0x1d5):man.cpp: undefined reference to `Fl_Group::end()'
man.o(.text+0x1ee):man.cpp: undefined reference to `Fl_Window::show(int,
char**)'
man.o(.text+0x1f3):man.cpp: undefined reference to `Fl::run()'
man.o(.text$_ZN6Fl_BoxC1EiiiiPKc+0x30):man.cpp: undefined reference to
`Fl_Widget::Fl_Widget[not-in-charge](int, int, int, int, char const*)'
man.o(.text$_ZN6Fl_BoxC1EiiiiPKc+0x39):man.cpp: undefined reference to
`vtable for Fl_Box'
collect2: ld returned 1 exit status
make: *** [Project1.exe] Error 1
Execution terminated
------------
Can anyone help?
What else do I have to do?
--
FYI
http://www.astro.umd.edu/~marshall/abbrev.html
E-Mail Policy
http://www.vif.com/users/escalante/Email_Policy.html
* You cannot exercise your power to a point of humiliation.
- Jean Chretien
* The media's the most powerful entity on earth. They have the
power to make the innocent guilty and to make the guilty
innocent, and that's power.
- Malcom X
|