Η σελίδα μας αναβαθμίστηκε, γι' αυτό τον λόγο τα μέλη μας θα πρέπει να ζητήσουν νέο κωδικό πρόσβασης από την υπηρεσία "Αποστολή κωδικού πρόσβασης".
Εάν το email με τον νέο κωδικό δεν έρθει στο inbox κοιτάξτε και στο spam folder. Ο server είναι φρέσκος και δεν έχει το reputation που του αξίζει.

Δεν κανει compile

Συζητήσεις για την γλώσσα C και C++

Συντονιστές: WebDev Moderators, Super-Moderators

Απάντηση
kekropas
Δημοσιεύσεις: 46
Εγγραφή: 25 Αύγ 2008 21:53

Δεν κανει compile

Δημοσίευση από kekropas » 18 Δεκ 2008 17:14

Παιδια ειναι ευκολο καποιος να μου πει τi φταιει που με γεμιζει με errors κατα την εγκατασταση αυτο το προγραμμα?

http://rapidshare.com/files/174566428/f ... n.zip.html

Σε ubuntu 8.10 64bit εχω εγκαταστησει gnu-make, g++ , δοκιμασα και manual compile συμφωνα με τις οδηγιες αλλα τπτ και λογικα επειδη ειναι δοκιμασμενο ισως να φταιει το συστημα.



Εμενα μου βγαζει τα erros

Κώδικας: Επιλογή όλων

g++ -o hallucinate -O3 -Wall -ansi -pedantic hallucinate.cc const.o mtherr.o ndtr.o ndtri.o polevl.o nr_ran1.o sjb_misc.o sjb_images.o sjb_pyramid.o sjb_flow.o nr_fourn.o -lm
hallucinate.cc:7:22: error: iostream.h: No such file or directory
hallucinate.cc:8:21: error: fstream.h: No such file or directory
In file included from sjb_flow.h:11,
                 from hallucinate.cc:13:
sjb_images.h:12:20: error: stream.h: No such file or directory
In file included from sjb_flow.h:11,
                 from hallucinate.cc:13:
sjb_images.h:35: error: ‘fImage’ has not been declared
sjb_images.h:64: error: ‘fImage’ has not been declared
sjb_images.h:64: error: ‘fImage’ has not been declared
sjb_images.h:64: error: ‘fImage’ has not been declared
sjb_images.h:64: error: ‘fImage’ has not been declared
sjb_images.h:65: error: ‘fImage’ has not been declared
sjb_images.h:65: error: ‘fImage’ has not been declared
sjb_images.h:65: error: ‘fImage’ has not been declared
sjb_images.h:65: error: ‘fImage’ has not been declared
sjb_images.h:77: error: ISO C++ forbids declaration of ‘istream’ with no type
sjb_images.h:77: error: ‘istream’ is neither function nor member function; cannot be declared friend
sjb_images.h:77: error: expected ‘;’ before ‘&’ token
sjb_images.h:79: error: ISO C++ forbids declaration of ‘ostream’ with no type
sjb_images.h:79: error: ‘ostream’ is neither function nor member function; cannot be declared friend
sjb_images.h:79: error: expected ‘;’ before ‘&’ token
sjb_images.h:166: error: ‘fConvKernel’ has not been declared
sjb_images.h:203: error: ‘ucSRPyramid’ has not been declared
sjb_images.h:209: error: ISO C++ forbids declaration of ‘istream’ with no type
sjb_images.h:209: error: ‘istream’ is neither function nor member function; cannot be declared friend
sjb_images.h:209: error: expected ‘;’ before ‘&’ token
sjb_images.h:211: error: ISO C++ forbids declaration of ‘ostream’ with no type
sjb_images.h:211: error: ‘ostream’ is neither function nor member function; cannot be declared friend
sjb_images.h:211: error: expected ‘;’ before ‘&’ token
hallucinate.cc: In function ‘int main(int, char**)’:
hallucinate.cc:32: error: ‘cerr’ was not declared in this scope
hallucinate.cc:59: error: ‘ifstream’ was not declared in this scope
hallucinate.cc:59: error: expected `;' before ‘input’
hallucinate.cc:60: error: ‘input’ was not declared in this scope
hallucinate.cc:62: error: ‘cerr’ was not declared in this scope
hallucinate.cc:97: error: ‘cerr’ was not declared in this scope
hallucinate.cc:108: error: no matching function for call to ‘ucImage::Convert(fImage&)’
sjb_images.h:35: note: candidates are: void ucImage::Convert(int&)
hallucinate.cc:258: error: no matching function for call to ‘ucImage::Convert(fImage&)’
sjb_images.h:35: note: candidates are: void ucImage::Convert(int&)
hallucinate.cc:343: error: no matching function for call to ‘ucImage::Convert(fImage&)’
sjb_images.h:35: note: candidates are: void ucImage::Convert(int&)
hallucinate.cc:347: warning: deprecated conversion from string constant to ‘char*’
hallucinate.cc:373: warning: deprecated conversion from string constant to ‘char*’
hallucinate.cc:374: warning: deprecated conversion from string constant to ‘char*’
make: *** [hallucinate] Error 1


Απάντηση

Επιστροφή στο “C, C++”

Μέλη σε σύνδεση

Μέλη σε αυτήν τη Δ. Συζήτηση: Δεν υπάρχουν εγγεγραμμένα μέλη και 0 επισκέπτες