我的程序编译发生了这样一个问题:
c:\dxsdk\include\d3dvec.inl(20) : error C2511: '_D3DVECTOR::_D3DVECTOR' : overloaded member function 'void (float)' not found in '_D3DVECTOR'
        c:\dxsdk\include\dsound.h(42) : see declaration of '_D3DVECTOR'
这样的错误是什么原因呢?请指教

解决方案 »

  1.   

    Ensure that the correct arguments are being passed when calling the function.
    Make sure the arguments are in the correct order when calling the function.
    Make sure the argument names are spelled correctly.
      

  2.   

    not found in '_D3DVECTOR'
    没有找到这个宏定义
      

  3.   

    _D3DVECTOR  的定义没有找到
      

  4.   

    rebuild all ,看看能不能找到对应的头文件,可能你引用的路径不对
      

  5.   

    头文件和cpp文件中的函数参数不一样