View Single Post

   
  #2 (permalink)  
Old 01-04-2008, 09:21 PM
Nicholas Dronen
 
Posts: n/a
Default Re: Compillation problem ?

Chorbalan <chorbalan@dont.go.to> wrote:

C> AIX4.3 with vac 5:

C> prog.C text:
C> // -------------------------------------------------------
C> // these or their .h version
C> #include <vector>
C> #include <list>
C> #include <deque>
C> #include <queue>
C> #include <stack>
C> #include <set>
C> #include <bitset>
C> #include <functional>
C> #include <iterator>
C> #include <algorithm>
C> #include <exception>
C> #include <ios>
C> #include <iostream>
C> #include <complex>

C> int main () {}
C> // ------------------------------------------

C> bash-2.05b# xlc test.C
C> "/home/simulphy/shtsai/test_Cpp/hk.C", line 3.10: 1540-008: (S) Source file <vector> cannot be opened.

[ snip ]

C> Why ?

If you know the files are installed, good. If not, better confirm
that they are.

I believe that xlc is the equivalent of cc and that you should be
running xlC instead.

Regards,

Nicholas


--
http://www.faqs.org/rfcs/rfc1855.html
3.1.1 General Guidelines for mailing lists and NetNews
3.1.3 NetNews Guidelines
Reply With Quote