解决方案 »

  1.   

    会报这个错
    Compiling...
    rsadt.cpp
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(17) : error C2143: syntax error : missing ';' before '<'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(17) : error C2501: 'RSTValOrderedVector' : missing storage-class or type specifiers
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(17) : error C2059: syntax error : ';'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(17) : error C2143: syntax error : missing ';' before '<'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(24) : error C2588: '::~RSTValOrderedVector' : illegal global destructor
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(24) : fatal error C1903: unable to recover from previous error(s); stopping compilation
    singleton.cpp
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(19) : error C2086: 'singleton_' : redefinition
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(22) : error C2086: 'singletonMutex_' : redefinition
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(49) : error C2953: 'PDExceptionSafeResettingOfThreadId' : template class has already been defined
            C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(49) : see declaration of 'PDExceptionSafeResettingOfThreadId'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(96) : error C2995: 'instance' : template function has already been defined
            c:\documents and settings\administrator\desktop\scales\scales\c\src\singleton.hpp(146) : see declaration of 'instance'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(126) : error C2995: 'registerForCleanup' : template function has already been defined
            c:\documents and settings\administrator\desktop\scales\scales\c\src\singleton.hpp(165) : see declaration of 'registerForCleanup'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(134) : error C2995: 'cleanup' : template function has already been defined
            c:\documents and settings\administrator\desktop\scales\scales\c\src\singleton.hpp(141) : see declaration of 'cleanup'
    Error executing cl.exe.Sc.dll - 12 error(s), 0 warning(s)
      

  2.   

    会报这个错
    Compiling...
    rsadt.cpp
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(17) : error C2143: syntax error : missing ';' before '<'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(17) : error C2501: 'RSTValOrderedVector' : missing storage-class or type specifiers
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(17) : error C2059: syntax error : ';'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(17) : error C2143: syntax error : missing ';' before '<'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(24) : error C2588: '::~RSTValOrderedVector' : illegal global destructor
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(24) : fatal error C1903: unable to recover from previous error(s); stopping compilation
    singleton.cpp
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(19) : error C2086: 'singleton_' : redefinition
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(22) : error C2086: 'singletonMutex_' : redefinition
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(49) : error C2953: 'PDExceptionSafeResettingOfThreadId' : template class has already been defined
            C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(49) : see declaration of 'PDExceptionSafeResettingOfThreadId'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(96) : error C2995: 'instance' : template function has already been defined
            c:\documents and settings\administrator\desktop\scales\scales\c\src\singleton.hpp(146) : see declaration of 'instance'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(126) : error C2995: 'registerForCleanup' : template function has already been defined
            c:\documents and settings\administrator\desktop\scales\scales\c\src\singleton.hpp(165) : see declaration of 'registerForCleanup'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(134) : error C2995: 'cleanup' : template function has already been defined
            c:\documents and settings\administrator\desktop\scales\scales\c\src\singleton.hpp(141) : see declaration of 'cleanup'
    Error executing cl.exe.Sc.dll - 12 error(s), 0 warning(s) 这些文件应该是没错的 在文件夹中用ant 直接编译可以编译出正确的32bit的dll  现在需要编译出64bit的 dll   请问有什么好办法吗?看网上说vc6.0写的貌似不支持64bit,把源码导入vs2005编译也会出错
      

  3.   

    会报这个错
    Compiling...
    rsadt.cpp
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(17) : error C2143: syntax error : missing ';' before '<'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(17) : error C2501: 'RSTValOrderedVector' : missing storage-class or type specifiers
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(17) : error C2059: syntax error : ';'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(17) : error C2143: syntax error : missing ';' before '<'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(24) : error C2588: '::~RSTValOrderedVector' : illegal global destructor
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(24) : fatal error C1903: unable to recover from previous error(s); stopping compilation
    singleton.cpp
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(19) : error C2086: 'singleton_' : redefinition
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(22) : error C2086: 'singletonMutex_' : redefinition
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(49) : error C2953: 'PDExceptionSafeResettingOfThreadId' : template class has already been defined
            C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(49) : see declaration of 'PDExceptionSafeResettingOfThreadId'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(96) : error C2995: 'instance' : template function has already been defined
            c:\documents and settings\administrator\desktop\scales\scales\c\src\singleton.hpp(146) : see declaration of 'instance'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(126) : error C2995: 'registerForCleanup' : template function has already been defined
            c:\documents and settings\administrator\desktop\scales\scales\c\src\singleton.hpp(165) : see declaration of 'registerForCleanup'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(134) : error C2995: 'cleanup' : template function has already been defined
            c:\documents and settings\administrator\desktop\scales\scales\c\src\singleton.hpp(141) : see declaration of 'cleanup'
    Error executing cl.exe.Sc.dll - 12 error(s), 0 warning(s) 这些文件应该是没错的 在文件夹中用ant 直接编译可以编译出正确的32bit的dll  现在需要编译出64bit的 dll   请问有什么好办法吗?看网上说vc6.0写的貌似不支持64bit,把源码导入vs2005编译也会出错

    你还是需要升级到vs2005,然后修改错误后再编译
      

  4.   

    会报这个错
    Compiling...
    rsadt.cpp
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(17) : error C2143: syntax error : missing ';' before '<'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(17) : error C2501: 'RSTValOrderedVector' : missing storage-class or type specifiers
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(17) : error C2059: syntax error : ';'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(17) : error C2143: syntax error : missing ';' before '<'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(24) : error C2588: '::~RSTValOrderedVector' : illegal global destructor
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\rsadt.cpp(24) : fatal error C1903: unable to recover from previous error(s); stopping compilation
    singleton.cpp
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(19) : error C2086: 'singleton_' : redefinition
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(22) : error C2086: 'singletonMutex_' : redefinition
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(49) : error C2953: 'PDExceptionSafeResettingOfThreadId' : template class has already been defined
            C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(49) : see declaration of 'PDExceptionSafeResettingOfThreadId'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(96) : error C2995: 'instance' : template function has already been defined
            c:\documents and settings\administrator\desktop\scales\scales\c\src\singleton.hpp(146) : see declaration of 'instance'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(126) : error C2995: 'registerForCleanup' : template function has already been defined
            c:\documents and settings\administrator\desktop\scales\scales\c\src\singleton.hpp(165) : see declaration of 'registerForCleanup'
    C:\Documents and Settings\Administrator\Desktop\Scales\Scales\c\src\singleton.cpp(134) : error C2995: 'cleanup' : template function has already been defined
            c:\documents and settings\administrator\desktop\scales\scales\c\src\singleton.hpp(141) : see declaration of 'cleanup'
    Error executing cl.exe.Sc.dll - 12 error(s), 0 warning(s) 这些文件应该是没错的 在文件夹中用ant 直接编译可以编译出正确的32bit的dll  现在需要编译出64bit的 dll   请问有什么好办法吗?看网上说vc6.0写的貌似不支持64bit,把源码导入vs2005编译也会出错

    你还是需要升级到vs2005,然后修改错误后再编译
    oh no 牙买碟  那就是个大工程了 最主要的是我对c++一窍不通