Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Beginner compiling C++ question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Beginner compiling C++ question...



I am in the process of compling a C++ program ...
it tells me it's lacking the major standard libraries of C++,
like <string> or <iostream> or <vector> but these are, I believe, standard libraries.
Should I include these headers somewhere ?

On Beta:
./System/Library/Frameworks/System.framework/Versions/B/Headers/c++/iostream
./System/Library/Frameworks/System.framework/Versions/B/Headers/c++/iostream.
h

On 1.0 and beyond:
/usr/include/gcc/darwin/2.95.2/g++/iostream
/usr/include/gcc/darwin/2.95.2/g++/iostream.h

One clumsy way to find things is with "find / -name 'iostream*'".
A faster method is "lsbom -s /Library/Receipts/Developer.pkg/Contents/Resources/Developer.bom | grep iostream" which will list the bill of materials for the locally installed "Developer" package and search the listed contents.

ChristianM


References: 
 >Beginner compiling C++ question... (From: Paul Libbrecht <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.