In this case make you sure to use .mm as extension for your module and, as
Jean-Daniel Dupas has said, try to link against libstdc++ lib Luca.
_
See the most popular videos on the web
http://clk.atdmt.com/GBL/go/115454061/direct/01/
Le 24 nov. 08 à 13:27, BirdSong a écrit :
Hi all,I want to use c++ STL in a empty project, but there are some
linking errors... Does anyone know how to fix it?Are there any pre-
steps to setup the environment (such as set include path, or include
some framework, etc).Thanks in advance.Bes
Could you please give to me more info? Which compiler are you using? What kind
of project are you attempting to build (Obj-C,/Obj-C++/C/C++)?
Luca.> From: [EMAIL PROTECTED]> To: cocoa-dev@lists.apple.com> Date: Mon, 24
Nov 2008 12:27:22 +> Subject: using C++ STL in Empty Pro
Hi all,I want to use c++ STL in a empty project, but there are some linking
errors... Does anyone know how to fix it?Are there any pre-steps to setup the
environment (such as set include path, or include some framework, etc).Thanks
in advance.Best Wishes!
Shuo SongSchool of Software Engineering