Problem in building with VS c++ and DirectX

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
kavita_dubey
Posts: 22
Joined: Thu Oct 08, 2009 8:47 am

Problem in building with VS c++ and DirectX

Post by kavita_dubey »

--------------------Configuration: main - Win32 Debug--------------------
Compiling...
main.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
c:\irrlicht-1.5.1\include\scolor.h(279) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
c:\irrlicht-1.5.1\include\irrmath.h(120) : see declaration of 'min_'
c:\irrlicht-1.5.1\include\scolor.h(279) : error C2782: 'const T &__cdecl irr::core::min_(const T &,const T &)' : template parameter 'T' is ambiguous
could be 'unsigned int'
or 'unsigned __int32'
c:\irrlicht-1.5.1\include\scolor.h(280) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
c:\irrlicht-1.5.1\include\irrmath.h(120) : see declaration of 'min_'
c:\irrlicht-1.5.1\include\scolor.h(280) : error C2782: 'const T &__cdecl irr::core::min_(const T &,const T &)' : template parameter 'T' is ambiguous
could be 'unsigned int'
or 'unsigned __int32'
c:\irrlicht-1.5.1\include\scolor.h(281) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
c:\irrlicht-1.5.1\include\irrmath.h(120) : see declaration of 'min_'
c:\irrlicht-1.5.1\include\scolor.h(281) : error C2782: 'const T &__cdecl irr::core::min_(const T &,const T &)' : template parameter 'T' is ambiguous
could be 'unsigned int'
or 'unsigned __int32'
c:\irrlicht-1.5.1\include\scolor.h(282) : error C2780: 'const T &__cdecl irr::core::min_(const T &,const T &,const T &)' : expects 3 arguments - 2 provided
c:\irrlicht-1.5.1\include\irrmath.h(120) : see declaration of 'min_'
c:\irrlicht-1.5.1\include\scolor.h(282) : error C2782: 'const T &__cdecl irr::core::min_(const T &,const T &)' : template parameter 'T' is ambiguous
could be 'unsigned int'
or 'unsigned __int32'
c:\irrlicht-1.5.1\include\scolor.h(314) : error C2782: 'const T __cdecl irr::core::clamp(const T &,const T &,const T &)' : template parameter 'T' is ambiguous
could be 'int'
or '__int32'
c:\irrlicht-1.5.1\include\scolor.h(316) : error C2782: 'const T __cdecl irr::core::clamp(const T &,const T &,const T &)' : template parameter 'T' is ambiguous
could be 'int'
or '__int32'
c:\irrlicht-1.5.1\include\scolor.h(318) : error C2782: 'const T __cdecl irr::core::clamp(const T &,const T &,const T &)' : template parameter 'T' is ambiguous
could be 'int'
or '__int32'
c:\irrlicht-1.5.1\include\scolor.h(320) : error C2782: 'const T __cdecl irr::core::clamp(const T &,const T &,const T &)' : template parameter 'T' is ambiguous
could be 'int'
or '__int32'
c:\irrlicht-1.5.1\include\irrstring.h(58) : error C2535: '__thiscall irr::core::string<B,`template-parameter258'>::irr::core::string<B,`template-parameter258'>(const class irr::core::string<B,class irr::core::irrAllocator<B> > &)' : member function
already defined or declared
c:\irrlicht-1.5.1\include\irrstring.h(50) : see declaration of 'string<T,TAlloc>::string<T,TAlloc>'
c:\irrlicht-1.5.1\include\irrstring.h(914) : see reference to class template instantiation 'irr::core::string<T,TAlloc>' being compiled
c:\irrlicht-1.5.1\include\irrstring.h(213) : error C2535: 'class irr::core::string<B,class irr::core::irrAllocator<B> > &__thiscall irr::core::string<B,`template-parameter258'>::operator =(const class irr::core::string<B,class irr::core::irrAllocato
r<B> > &)' : member function already defined or declared
c:\irrlicht-1.5.1\include\irrstring.h(195) : see declaration of '='
c:\irrlicht-1.5.1\include\irrstring.h(914) : see reference to class template instantiation 'irr::core::string<T,TAlloc>' being compiled
c:\irrlicht-1.5.1\include\irrstring.h(845) : error C2440: 'default argument' : cannot convert from 'char [5]' to 'const class irr::core::string<T,class irr::core::irrAllocator<T> > &'
Reason: cannot convert from 'char [5]' to 'const class irr::core::string<T,class irr::core::irrAllocator<T> >'
The target type has no constructors
c:\irrlicht-1.5.1\include\irrstring.h(914) : see reference to class template instantiation 'irr::core::string<T,TAlloc>' being compiled
c:\irrlicht-1.5.1\include\irrstring.h(846) : error C2548: 'trim' : missing default parameter for parameter 1
c:\irrlicht-1.5.1\include\irrstring.h(914) : see reference to class template instantiation 'irr::core::string<T,TAlloc>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(41) : error C2653: 'core' : is not a class or namespace name
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(41) : error C2143: syntax error : missing ';' before '<'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(41) : error C2501: 'array' : missing storage-class or type specifiers
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(41) : error C2059: syntax error : '<'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(41) : error C2238: unexpected token(s) preceding ';'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(43) : error C2146: syntax error : missing ';' before identifier 'stride'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(43) : error C2433: 'u32' : 'virtual' not permitted on data declarations
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(43) : error C2501: 'u32' : missing storage-class or type specifiers
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(43) : error C2555: 'scene::CVertexBuffer::CSpecificVertexList<T>::stride' : overriding virtual function differs from 'scene::CVertexBuffer::IVertexList::stride' only by return type or calling convention
c:\irrlicht-1.5.1\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(43) : warning C4183: 'stride': member function definition looks like a ctor, but name does not match enclosing class
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(45) : error C2146: syntax error : missing ';' before identifier 'size'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(45) : error C2433: 'u32' : 'virtual' not permitted on data declarations
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(45) : error C2501: 'u32' : missing storage-class or type specifiers
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(45) : error C2555: 'scene::CVertexBuffer::CSpecificVertexList<T>::size' : overriding virtual function differs from 'scene::CVertexBuffer::IVertexList::size' only by return type or calling convention
c:\irrlicht-1.5.1\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(45) : warning C4183: 'size': member function definition looks like a ctor, but name does not match enclosing class
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(47) : error C2653: 'video' : is not a class or namespace name
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(47) : error C2143: syntax error : missing ',' before '&'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(47) : error C2059: syntax error : '&'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(50) : error C2653: 'video' : is not a class or namespace name
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(50) : error C2143: syntax error : missing ';' before '&'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(50) : error C2433: 'S3DVertex' : 'virtual' not permitted on data declarations
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(50) : error C2501: 'S3DVertex' : missing storage-class or type specifiers
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(50) : error C2146: syntax error : missing ',' before identifier 'index'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(50) : error C2061: syntax error : identifier 'index'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(51) : error C2501: '[]' : missing storage-class or type specifiers
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(53) : error C2653: 'video' : is not a class or namespace name
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(53) : error C2143: syntax error : missing ';' before '&'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(53) : error C2433: 'S3DVertex' : 'virtual' not permitted on data declarations
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(53) : error C2501: 'S3DVertex' : missing storage-class or type specifiers
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(54) : error C2501: 'getLast' : missing storage-class or type specifiers
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(54) : error C2555: 'scene::CVertexBuffer::CSpecificVertexList<T>::getLast' : overriding virtual function differs from 'scene::CVertexBuffer::IVertexList::getLast' only by return type or calling convention
c:\irrlicht-1.5.1\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(54) : warning C4183: 'getLast': member function definition looks like a ctor, but name does not match enclosing class
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(56) : error C2061: syntax error : identifier 'u32'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(59) : error C2061: syntax error : identifier 'u32'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(62) : error C2146: syntax error : missing ';' before identifier 'allocated_size'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(62) : error C2433: 'u32' : 'virtual' not permitted on data declarations
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(62) : error C2501: 'u32' : missing storage-class or type specifiers
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(63) : error C2555: 'scene::CVertexBuffer::CSpecificVertexList<T>::allocated_size' : overriding virtual function differs from 'scene::CVertexBuffer::IVertexList::allocated_size' only by return type or calling
convention
c:\irrlicht-1.5.1\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(65) : warning C4183: 'allocated_size': member function definition looks like a ctor, but name does not match enclosing class
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(67) : error C2653: 'video' : is not a class or namespace name
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(67) : error C2143: syntax error : missing ';' before '*'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(67) : error C2433: 'S3DVertex' : 'virtual' not permitted on data declarations
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(67) : error C2501: 'S3DVertex' : missing storage-class or type specifiers
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(67) : error C2501: 'pointer' : missing storage-class or type specifiers
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(67) : error C2555: 'scene::CVertexBuffer::CSpecificVertexList<T>::pointer' : overriding virtual function differs from 'scene::CVertexBuffer::IVertexList::pointer' only by return type or calling convention
c:\irrlicht-1.5.1\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(67) : warning C4183: 'pointer': member function definition looks like a ctor, but name does not match enclosing class
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(69) : error C2653: 'video' : is not a class or namespace name
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(69) : error C2146: syntax error : missing ';' before identifier 'getType'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(69) : error C2433: 'E_VERTEX_TYPE' : 'virtual' not permitted on data declarations
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(69) : error C2501: 'E_VERTEX_TYPE' : missing storage-class or type specifiers
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(69) : error C2555: 'scene::CVertexBuffer::CSpecificVertexList<T>::getType' : overriding virtual function differs from 'scene::CVertexBuffer::IVertexList::getType' only by return type or calling convention
c:\irrlicht-1.5.1\include\cvertexbuffer.h(19) : see declaration of 'IVertexList'
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(69) : warning C4183: 'getType': member function definition looks like a ctor, but name does not match enclosing class
c:\irrlicht-1.5.1\include\cvertexbuffer.h(70) : see reference to class template instantiation 'scene::CVertexBuffer::CSpecificVertexList<T>' being compiled
c:\irrlicht-1.5.1\include\cvertexbuffer.h(207) : fatal error C1506: unrecoverable block scoping error
Error executing cl.exe.

main.exe - 63 error(s), 6 warning(s)
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

Sorry but Visual Studio 6.0 is no longer supported. Upgrade to Visual Studio 2008. (There is an Express Version available for free)
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
kavita_dubey
Posts: 22
Joined: Thu Oct 08, 2009 8:47 am

solved

Post by kavita_dubey »

this problem is solved..
but still i m getting a warning that DX9 is not enabled.
can u help me out
kavita_dubey
Posts: 22
Joined: Thu Oct 08, 2009 8:47 am

Post by kavita_dubey »

hey Sylence i m getting the same error as i got fr Eclispe
--------------------Configuration: Demo - Win32 Debug--------------------
Linking...
Demo.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class irr::IrrlichtDevice * __cdecl irr::createDevice(enum irr::video::E_DRIVER_TYPE,class irr::core::dimension2d<int> const &,unsigned int,bool,bool,bool,class irr::IEventR
eceiver *,char const *)" (__imp_?createDevice@irr@@YAPAVIrrlichtDevice@1@W4E_DRIVER_TYPE@video@1@ABV?$dimension2d@H@core@1@I_N22PAVIEventReceiver@1@PBD@Z)
Debug/Demo.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

Demo.exe - 2 error(s), 0 warning(s)


please help
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

You get the warning that Dx9 is disabled because it is disabled. Microsoft dropped support for Visual Studio 6 and DirectX9 some years ago.

For the second problem: Put

Code: Select all

#pragma comment( lib, "Irrlicht.lib" )
somewhere in your code or add the library to the linker dependencies (properties -> Linker -> input -> additional libraries or something like that. Should be self explaining)

Anyway you really should consider upgrading to Visual Studio 2008.
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
kavita_dubey
Posts: 22
Joined: Thu Oct 08, 2009 8:47 am

i still have the problm

Post by kavita_dubey »

still there is same problem
plzz help dear
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

Then you should start reading the tutorials:
Start with the first one:
http://irrlicht.sourceforge.net/docu/example001.html

It will show you how to setup Visual Studio for Irrlicht applications.
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
kavita_dubey
Posts: 22
Joined: Thu Oct 08, 2009 8:47 am

Post by kavita_dubey »

that link doesnt explain to link the dll lib and all realted files
problem is with linking the files
can u tell me problem which files to add and wer?
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Post by randomMesh »

kavita_dubey wrote:that link doesnt explain to link the dll lib and all realted files
Sure it does.
Tutorial 1 wrote:...select the Menu Extras -> Options. Select the directories tab, and select the 'Include' Item in the combo box. Add the include directory of the irrlicht engine folder to the list of directories. Now the compiler will find the Irrlicht.h header file. We also need the irrlicht.lib to be found, so stay in that dialog, select 'Libraries' in the combo box and add the lib/VisualStudio directory.
"Whoops..."
kavita_dubey
Posts: 22
Joined: Thu Oct 08, 2009 8:47 am

Post by kavita_dubey »

u told me to upgrade Visual Studio but while searching around I found that different likning error was taken as bug in 1.5.1 and fixed in 1.6
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

Visual Studio 6 shipped with a pretty crappy version of the C++ compiler. It has many, many, known bugs. Not only that, but Microsoft stopped supporting Direct3D9 with Visual Studio 6, and they stopped providing Direct3D8 with their Direct3D SDK. That would mean no Direct3D support for you if you needed to rebuild the Irrlicht library.

You are better off using the Visual Studio 9 compiler. Trust me.

Travis
Post Reply