Problem with compile
test, says i have a URL?
* ok, i guess I did, but not knowingly... grrrr, stupid buttons up ^^ should have a PRE option! |
ok, second try....
[root@linux1 Fl_Envelope]# make c++ -Isrc -Iimages -O2 -Wall -Wno-return-type -g -O2 -c example.cxx -o example.o example.cxx: In function `int main()': example.cxx:75: `cos' undeclared (first use this function) example.cxx:75: (Each undeclared identifier is reported only once for each function it appears in.) example.cxx:75: `sin' undeclared (first use this function) make: *** [example.o] Error 1 [root@linux1 Fl_Envelope]# Here's the deal. I've got a loosely based Redhat 9 (2.4.20-28.9) with apt-get sources** to CCRMA (stanford.edu's extensions for gui/multimedia dev) I <em>have</em> /usr/include/math.h , ie, the standard math library include for gcc (oh yeah, gcc= gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux Thread model: posix gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) so i know the line #include <math.h> should be valid in the Fl_Envolope -> example.cxx build! but it says it cannot find cos or sin? Damn... I mean how the heck can I type this is cos and sin aint there, k'no whaddeye me'an??? LOL! Well, this is frustrating but fun at the same time. If anyone can help, I would MUCH appreciate it. Thanks, noe. **see aptsources below: [root@linux1 Fl_Envelope]# apt-get update Get:1 http://www-ccrma.stanford.edu redhat/9/en/i386 release [1779B] Get:2 http://www-ccrma.stanford.edu redhat/all/en/i386 release [510B] Get:3 http://ayo.freshrpms.net redhat/9/i386 release [1170B] Fetched 3459B in 0s (5808B/s) Hit http://www-ccrma.stanford.edu redhat/9/en/i386/os pkglist Hit http://www-ccrma.stanford.edu redhat/9/en/i386/os release Hit http://www-ccrma.stanford.edu redhat/9/en/i386/updates pkglist Hit http://www-ccrma.stanford.edu redhat/9/en/i386/updates release Hit http://www-ccrma.stanford.edu redhat/all/en/i386/planetccrma pkglist Hit http://www-ccrma.stanford.edu redhat/all/en/i386/planetccrma release Hit http://www-ccrma.stanford.edu redhat/9/en/i386/planetcore pkglist Hit http://www-ccrma.stanford.edu redhat/9/en/i386/planetcore release Hit http://www-ccrma.stanford.edu redhat/9/en/i386/planetccrma pkglist Hit http://www-ccrma.stanford.edu redhat/9/en/i386/planetccrma release Hit http://ayo.freshrpms.net redhat/9/i386/os pkglist Hit http://ayo.freshrpms.net redhat/9/i386/os release Hit http://ayo.freshrpms.net redhat/9/i386/updates pkglist Hit http://ayo.freshrpms.net redhat/9/i386/updates release Hit http://ayo.freshrpms.net redhat/9/i386/freshrpms pkglist Hit http://ayo.freshrpms.net redhat/9/i386/freshrpms release Reading Package Lists... Done Building Dependency Tree... Done |
not sure what board unwritten rules on self bumps are, but this will be my first and last if its frowned on
=) |
All times are GMT -5. The time now is 02:35 PM. |