• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem Using StandardLibrary in XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem Using StandardLibrary in XCode


  • Subject: Problem Using StandardLibrary in XCode
  • From: Alex Flecher <email@hidden>
  • Date: Sat, 18 Jun 2011 03:01:25 +0530

Hi,

I am working on a kext based on SoundFlower and have used the source from
http:[//]anonymous@soundflower [dot] googlecode [dot] com[/]svn

However i am not able to use the standard c++ library. The compiler throws error
#include<iostream> gives error-> iostream: no such file or directory.
However if i create a new c++ based project from template, it works fine.

i have selected compile source as c++ also and the build results log shows
gcc-4.0 -x c++ also. still the <iostream> is not accessible.
here is Build Result that i get:
CompileC build/Soundflower.build/Development/SoundflowerDriver.build/Objects-normal/i386/SoundflowerEngine.o
/Users/alexflecher/svnrepos/soundflower_svn/Source/SoundflowerEngine.cpp
normal i386 c++ com.apple.compilers.gcc.4_0
    cd /Users/alexflecher/svnrepos/soundflower_svn/Source
    /Developer/usr/bin/gcc-4.0 -x c++ -arch i386 -fmessage-length=0
-pipe -nostdinc -fno-builtin -Wno-trigraphs -fno-exceptions -fno-rtti
-fcheck-new -fasm-blocks -force_cpusubtype_ALL -static -msoft-float
-O0 -fno-common -mkernel -finline -fno-keep-inline-functions -DDEBUG
-DKERNEL -DKERNEL_PRIVATE -DDRIVER_PRIVATE -DAPPLE -DNeXT -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -fapple-kext -mfix-and-continue
-mmacosx-version-min=10.4 -gdwarf-2
-I/Users/alexflecher/svnrepos/soundflower_svn/Source/build/Soundflower.build/Development/SoundflowerDriver.build/Soundflower.hmap
-Wmost -Wno-four-char-constants -Wno-unknown-pragmas
-F/Users/alexflecher/svnrepos/soundflower_svn/Source/build/Development
-I/Users/alexflecher/svnrepos/soundflower_svn/Source/build/Development/include
-I/Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/backward
-I/System/Library/Frameworks/Kernel.framework/PrivateHeaders
-I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Headers
-I/Users/alexflecher/svnrepos/soundflower_svn/Source/build/Soundflower.build/Development/SoundflowerDriver.build/DerivedSources/i386
-I/Users/alexflecher/svnrepos/soundflower_svn/Source/build/Soundflower.build/Development/SoundflowerDriver.build/DerivedSources
-c /Users/alexflecher/svnrepos/soundflower_svn/Source/SoundflowerEngine.cpp
-o /Users/alexflecher/svnrepos/soundflower_svn/Source/build/Soundflower.build/Development/SoundflowerDriver.build/Objects-normal/i386/SoundflowerEngine.o
/Users/alexflecher/svnrepos/soundflower_svn/Source/SoundflowerEngine.cpp:22:20:
error: iostream: No such file or directory

Can anybody tell why is XCode showing the error??

Thanks
Alex
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Problem Using StandardLibrary in XCode
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Making NSCache evict only unreferenced objects
  • Next by Date: Weird Crash in
  • Previous by thread: Re: Making NSCache evict only unreferenced objects
  • Next by thread: Re: Problem Using StandardLibrary in XCode
  • Index(es):
    • Date
    • Thread