[Dev-C++] Re: [Foxgui-users]Cannot find -lfox
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Maya <Esc...@ne...> - 2003-12-13 00:46:01
|
I tried what you suggested, or at least I think I did. This how I did it: =========================================================================== Tools --> Compiler Options --> Compiler --> Add the following command when calling compiler => -D__GNUWIN32__ Tools --> Compiler Options --> Compiler --> Add this commands to the linker command line => -lFOX-1.1 Tools --> Compiler Options --> Directories --> Binaries --> c:\cygwin\bin Tools --> Compiler Options --> Directories --> Libraries --> c:\cygwin\lib Tools --> Compiler Options --> Directories --> Includes --> c:\cygwin\include Tools --> Compiler Options --> Directories --> C++ Includes -->c:\cygwin\include Tools --> Compiler Options --> Directories --> C++ Includes -->c:\cygwin\include\c++ Tools --> Compiler Options --> Directories --> C++ Includes -->c:\cygwin\include\c++\3.2 Tools --> Compiler Options --> Directories --> C++ Includes -->c:\cygwin\include\c++\3.3.1 Tools --> Compiler Options --> Directories --> C++ Includes -->c:\cygwin\include\c++\3.3.1\backward Tools --> Compiler Options --> Directories --> C++ Includes -->c:\cygwin\include\c++\3.3.1\i386-pc-cygwin =========================================================================== But I still CAN'T link, I get this error message: =========================================================================== 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 -D__DEBUG__ -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:\DEV-CPP\\include\fox" -D__GNUWIN32__ -g3 windres.exe -i Project1_private.rc -I rc -o Project1_private.res -O coff Option -I is deprecated for setting the input format, please use -J instead. g++.exe -D__DEBUG__ Templates/main.o Project1_private.res -o "Project1.exe" -L"C:/cygwin/lib" -lFOX-1.1 -mwindows -lfox -lwinspool -lwsock32 -lpng -ltiff -ljpeg -lz /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find -lFOX-1.1 collect2: ld returned 1 exit status make: *** [Project1.exe] Error 1 Execution terminated =========================================================================== As I said in my original message, the version of FOX I am using is the one that came with the Fox.devpa; I am afraid that the problem might be due to incompatible versions of GCC. Now, I have another copy of FOX, that I compiled installed '--prefix = c:\cygwin\usr'. This copy I am sure will not have any incompatibilities with the compiler; since I use GCC 3.3.1 to compile it. The only problem is that I don't know how to setup Dev-Cpp to seek for this version of FOX. If someone would take me through the steps to set it up.. that would be VERY MUCH appreciated. Thanks in advance fro...@ko... wrote: > > Try linking against -lFOX-1.1 > > -=Frode=- > > > > > > Maya <Esc...@ne...> > Tel: > Sent by: fox...@li... > > 12.12.2003 15:08 > 12.12.2003 06:08 PST > > > To: Foxgui Users <fox...@li...>, > Dev - C++ <dev...@li...> > cc: > Subject: [Foxgui-users]Cannot find -lfox > > > > > I am using FOX version = FOX_MAJOR 1, FOX_MINOR 1, FOX_LEVEL 30. > When compiling I get this message: > > -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:\DEV-CPP\\include\fox" > windres.exe -i Project1_private.rc -I rc -o Project1_private.res -O coff > Option -I is deprecated for setting the input format, please use -J > instead. > g++.exe Templates/main.o Project1_private.res -o "Project1.exe" > -L"C:/cygwin/lib" -L"C:/cygwin/usr/fox" -mwindows -lfox -lwinspool > -lwsock32 -lpng -ltiff -ljpeg -lz > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: > cannot find -lfox > collect2: ld returned 1 exit status > make: *** [Project1.exe] Error 1 > Execution terminated > > I installed fox using Fox.devpak, what else should I d? > > -- > > 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 > > -- 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!! |