vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| AIX4.3 with vac 5: prog.C text: // ------------------------------------------------------- // these or their .h version #include <vector> #include <list> #include <deque> #include <queue> #include <stack> #include <set> #include <bitset> #include <functional> #include <iterator> #include <algorithm> #include <exception> #include <ios> #include <iostream> #include <complex> int main () {} // ------------------------------------------ bash-2.05b# xlc test.C "/home/simulphy/shtsai/test_Cpp/hk.C", line 3.10: 1540-008: (S) Source file <vector> cannot be opened. "/home/simulphy/shtsai/test_Cpp/hk.C", line 4.10: 1540-008: (S) Source file <list> cannot be opened. "/home/simulphy/shtsai/test_Cpp/hk.C", line 5.10: 1540-008: (S) Source file <deque> cannot be opened. "/home/simulphy/shtsai/test_Cpp/hk.C", line 6.10: 1540-008: (S) Source file <queue> cannot be opened. "/home/simulphy/shtsai/test_Cpp/hk.C", line 7.10: 1540-008: (S) Source file <stack> cannot be opened. "/home/simulphy/shtsai/test_Cpp/hk.C", line 9.10: 1540-008: (S) Source file <set> cannot be opened. "/home/simulphy/shtsai/test_Cpp/hk.C", line 10.10: 1540-008: (S) Source file <bitset> cannot be opened. "/home/simulphy/shtsai/test_Cpp/hk.C", line 11.10: 1540-008: (S) Source file <functional> cannot be opened. "/home/simulphy/shtsai/test_Cpp/hk.C", line 12.10: 1540-008: (S) Source file <iterator> cannot be opened. "/home/simulphy/shtsai/test_Cpp/hk.C", line 13.10: 1540-008: (S) Source file <algorithm> cannot be opened. "/home/simulphy/shtsai/test_Cpp/hk.C", line 14.10: 1540-008: (S) Source file <exception> cannot be opened. "/home/simulphy/shtsai/test_Cpp/hk.C", line 15.10: 1540-008: (S) Source file <ios> cannot be opened. "/home/simulphy/shtsai/test_Cpp/hk.C", line 16.10: 1540-008: (S) Source file <iostream> cannot be opened. "/home/simulphy/shtsai/test_Cpp/hk.C", line 17.10: 1540-008: (S) Source file <complex> cannot be opened. bash-2.05b# Why ? |
| |||
| 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 |
| |||
| Nicholas Dronen wrote: > 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> 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. > Aren't those STL files? If so, V5 of the compiler doesn't come with an implementation of STL. V6 does, IIRC. You might try downloading a try-and-buy version of VAC++ V6 and seeing if you have more success. -- Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE __________________________________________________ ______________________ |
| ||||
| Gary R. Hook wrote: > Nicholas Dronen wrote: >> 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> 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. >> > Aren't those STL files? If so, V5 of the compiler doesn't come with > an implementation of STL. V6 does, IIRC. You might try downloading > a try-and-buy version of VAC++ V6 and seeing if you have more success. Yes, these are STL files and I needed info of what version of vac supports it. Thanx alot :-) > |