Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error c2084: include STL library files



Hi Ingo, all,
Thanks for your help with that, but I have added in the include path etc.
and tried calling
#include <vector>
I get the following error - C2084
Compiling...
QTSSFileModule.cpp
c:\ss41\darwinstreamingserversrc\commonutilitieslib\osmemory.h(124) : error
C2084: function 'void *__cdecl operator new(unsigned int,void *)' already
has
a body
Error executing cl.exe.
Creating browse info file...

Maybe there is something I should change in teh project settings/options?

Thanks, rgds,
Nikki

----- Original Message -----
From: "Ingo Elsen (EED)" <email@hidden>
To: "'Nikki Cranley'" <email@hidden>
Sent: Monday, October 21, 2002 11:28 AM
Subject: RE: include STL library files


> Hi Nikki,
>
> you need to add the path in the project where to find vector.h
>
> BTW, if you intend to use STL: This is not <vector.h> but <vector> w/o the
'.h'
>
> NR & HTH
> Ingo
>
> -----Original Message-----
> From: Nikki Cranley [mailto:email@hidden]
> Sent: Monday, October 21, 2002 12:18 PM
> To: DSS Devel
> Subject: include STL library files
>
>
> Hi all,
> Im trying to add in some code to the DSS4.1 However when I try to add in
the
> header files, for example, vector.h from the STL (Standard Template
Library).
>
> Has anyone any idea what I should do to include these files?
> Thanks, rgds,
> Nikki
>
> #include <vector>
>
> I get the following error!
>
> Compiling...
> QTSSFileModule.cpp
> c:\ss41\darwinstreamingserversrc\commonutilitieslib\osmemory.h(124) :
error
> C2084: function 'void *__cdecl operator new(unsigned int,void *)' already
has
> a body
> Error executing cl.exe.
> Creating browse info file...
>
> DSS.exe - 1 error(s), 0 warning(s)
>
> Then if I try
> #include <vector.h>
> --------------------Configuration: StreamingServer - Win32
> Debug--------------------
> Compiling...
> QTSSFileModule.cpp
>
c:\ss41\darwinstreamingserversrc\apimodules\qtssfilemodule\qtssfilemodule.cp
p
> (15) : fatal error C1083: Cannot open include file: 'vector.h': No such
file
> or directory
> Error executing cl.exe.
> Creating browse info file...
> BSCMAKE: error BK1506 : cannot open file '.\Debug\QTSSFileModule.sbr': No
such
> file or directory
> Error executing bscmake.exe.
>
> DSS.exe - 2 error(s), 0 warning(s)
> _______________________________________________
> streaming-server-developers mailing list |
email@hidden
> Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/streaming-server-developers
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
streaming-server-developers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-developers
Do not post admin requests to the list. They will be ignored.



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.