[Dev-C++] Help compiling a FOX program, please!!!
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Maya <Esc...@ne...> - 2003-12-12 00:46:08
|
Yes, you are absolutely right!
The compiler message I meant to show was:
===================================================
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing make clean
rm -f Templates/main.o Project1_private.res Project1.exe
g++.exe -c Templates/main.cpp -o Templates/main.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" -I"C:\DEV-CPP\\include\fox"
Templates/main.cpp: In constructor `MainWindow::MainWindow(FXApp*)':
Templates/main.cpp:54: error: `FXMenuBar' undeclared (first use this
function)
Templates/main.cpp:54: error: (Each undeclared identifier is reported
only once
for each function it appears in.)
Templates/main.cpp:54: error: `menubar' undeclared (first use this
function)
Templates/main.cpp:56: error: `FXToolBarShell' undeclared (first use this
function)
Templates/main.cpp:56: error: `dragshell1' undeclared (first use this
function)
Templates/main.cpp:56: error: parse error before `(' token
Templates/main.cpp:57: error: parse error before `(' token
Templates/main.cpp:60: error: `FXStatusBar' undeclared (first use this
function)
Templates/main.cpp:60: error: `statusbar' undeclared (first use this
function)
Templates/main.cpp:61: error: parse error before `(' token
make: *** [Templates/main.o] Error 1
Execution terminated
=============================================================
I am sorry for the confusion
ly...@kn... wrote:
> On Thu, 11 Dec 2003 17:46:16 -0800, Maya
> <Esc...@ne...> wrote :
>
>
>
>> Selecting New Project --> GUI --> FOX in DevCpp I started a FOX
>> project, but I get the following errors:
>> [...]
>> 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*)'
>>
>
>
> <snip>
>
> I think what you have demonstrated is that in order to compile FLTK
> programs, you want to link against the FLTK libraries.
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Foxgui-users mailing list
> Fox...@li...
> https://lists.sourceforge.net/lists/listinfo/foxgui-users
>
>
--
Jorge Escalante
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
* "Innocent until proven guilty", no... not in Canada!!
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Foxgui-users mailing list
Fox...@li...
https://lists.sourceforge.net/lists/listinfo/foxgui-users
|