Re: Problem Using StandardLibrary in XCode
Re: Problem Using StandardLibrary in XCode
- Subject: Re: Problem Using StandardLibrary in XCode
- From: Kyle Sluder <email@hidden>
- Date: Fri, 17 Jun 2011 14:55:18 -0700
Your question is not related to Cocoa. You should either ask on the
xcode-users forum, or in a forum related to SoundFlower.
--Kyle Sluder
On Fri, Jun 17, 2011 at 2:31 PM, Alex Flecher <email@hidden> wrote:
> 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
>
_______________________________________________
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