Dolphin, the GameCube and Wii emulator - Forums

Full Version: Dolphin x64 inputcommon is not compiling. Any help?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I got this error:
Code:
27>LINK : fatal error LNK1181: cannot open input file '..\..\core\inputcommon\x64\release\inputcommon.lib'
27>Build log was saved at "file://c:\Users\Gebruiker\Documents\Emulators\Dolphin\Up-To-Date\Source\Plugins\Plugin_VideoOGL\x64\Release\BuildLog.htm"
27>Plugin_VideoOGL - 1 error(s), 0 warning(s)
And:
Code:
Build Log
         
Build started: Project: InputCommon, Configuration: Release|x64


Command Lines
         
Creating temporary file "c:\Users\Gebruiker\Documents\Emulators\Dolphin\Up-To-Date\Source\Core\InputCommon\x64\Release\RSP00006244123192.rsp" with contents
[
/O2 /Oi /Ot /I "../../../Externals/SDL/Include_1.2" /I "../../Core/Common/Src" /I "../../PluginSpecs" /I "..\..\..\Externals\wxWidgets\include" /I "..\..\..\Externals\wxWidgets\lib\vc_lib\msw" /I "..\..\..\Externals\wxWidgets\include\msvc" /D "WIN32" /D "NDEBUG" /D "_LIB" /D "_SECURE_SCL=0" /D "_CRT_SECURE_NO_WARNINGS" /D "_CRT_SECURE_NO_DEPRECATE" /D "_UNICODE" /D "UNICODE" /FD /EHsc /MT /GS- /Fo"x64\Release\\" /Fd"x64\Release\vc90.pdb" /W3 /c /Zi /TP ".\Src\XInput_Util.cpp"

".\Src\SDL_Util.cpp"

".\Src\InputConfig.cpp"

".\Src\DirectInputBase.cpp"

".\Src\ControllerEmu.cpp"

".\Src\Configuration.cpp"

".\Src\ControllerInterface\XInput\XInput.cpp"

".\Src\ControllerInterface\SDL\SDL.cpp"

".\Src\ControllerInterface\DirectInput\DirectInputMouse.cpp"

".\Src\ControllerInterface\DirectInput\DirectInputKeyboard.cpp"

".\Src\ControllerInterface\DirectInput\DirectInputJoystick.cpp"

".\Src\ControllerInterface\DirectInput\DirectInput.cpp"

".\Src\ControllerInterface\ControllerInterface.cpp"
]
Creating command line "cl.exe @"c:\Users\Gebruiker\Documents\Emulators\Dolphin\Up-To-Date\Source\Core\InputCommon\x64\Release\RSP00006244123192.rsp" /nologo /errorReport:prompt"
Output Window
         
Compiling...
XInput_Util.cpp
SDL_Util.cpp
InputConfig.cpp
DirectInputBase.cpp
ControllerEmu.cpp
Configuration.cpp
XInput.cpp
SDL.cpp
DirectInputMouse.cpp
DirectInputKeyboard.cpp
DirectInputJoystick.cpp
DirectInput.cpp
ControllerInterface.cpp
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(40) : error C2679: binary '==' : no operator found which takes a right-hand operand of type 'const ControllerInterface::DeviceQualifier' (or there is no acceptable conversion)
        could be 'built-in C++ operator==(ControllerInterface::Device *, ControllerInterface::Device *)'
        while trying to match the argument list '(ControllerInterface::Device *const , const ControllerInterface::DeviceQualifier)'
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(74) : see reference to function template instantiation '_InIt std::_Find<_InIt,_Ty>(_InIt,_InIt,const _Ty &)' being compiled
        with
        [
            _InIt=std::_Vector_const_iterator>,
            _Ty=ControllerInterface::DeviceQualifier
        ]
        .\Src\ControllerInterface\ControllerInterface.cpp(394) : see reference to function template instantiation '_InIt std::find<_Ty,_Alloc>,ControllerInterface::DeviceQualifier>(_InIt,_InIt,const ControllerInterface::DeviceQualifier &)' being compiled
        with
        [
            _InIt=std::_Vector_const_iterator>,
            _Ty=ControllerInterface::Device *,
            _Alloc=std::allocator
        ]
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(40) : error C2679: binary '==' : no operator found which takes a right-hand operand of type 'const std::string' (or there is no acceptable conversion)
        could be 'built-in C++ operator==(ControllerInterface::Device::Input *, ControllerInterface::Device::Input *)'
        while trying to match the argument list '(ControllerInterface::Device::Input *const , const std::string)'
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(74) : see reference to function template instantiation '_InIt std::_Find<_InIt,_Ty>(_InIt,_InIt,const _Ty &)' being compiled
        with
        [
            _InIt=std::_Vector_const_iterator>,
            _Ty=std::string
        ]
        .\Src\ControllerInterface\ControllerInterface.cpp(406) : see reference to function template instantiation '_InIt std::find<_Ty,_Alloc>,std::string>(_InIt,_InIt,const std::basic_string<_Elem,_Traits,_Ax> &)' being compiled
        with
        [
            _InIt=std::_Vector_const_iterator>,
            _Ty=ControllerInterface::Device::Input *,
            _Alloc=std::allocator,
            _Elem=char,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(40) : error C2679: binary '==' : no operator found which takes a right-hand operand of type 'const std::string' (or there is no acceptable conversion)
        could be 'built-in C++ operator==(ControllerInterface::Device::Output *, ControllerInterface::Device::Output *)'
        while trying to match the argument list '(ControllerInterface::Device::Output *const , const std::string)'
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(74) : see reference to function template instantiation '_InIt std::_Find<_InIt,_Ty>(_InIt,_InIt,const _Ty &)' being compiled
        with
        [
            _InIt=std::_Vector_const_iterator>,
            _Ty=std::string
        ]
        .\Src\ControllerInterface\ControllerInterface.cpp(416) : see reference to function template instantiation '_InIt std::find<_Ty,_Alloc>,std::string>(_InIt,_InIt,const std::basic_string<_Elem,_Traits,_Ax> &)' being compiled
        with
        [
            _InIt=std::_Vector_const_iterator>,
            _Ty=ControllerInterface::Device::Output *,
            _Alloc=std::allocator,
            _Elem=char,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
Generating Code...
Results
         
Build log was saved at "file://c:\Users\Gebruiker\Documents\Emulators\Dolphin\Up-To-Date\Source\Core\InputCommon\x64\Release\BuildLog.htm"
InputCommon - 3 error(s), 0 warning(s)
Try rebuild, rather than build.
Tried that, I also try to clean (that worked) but then the same error Sad.
Billiard, your recent commit broke compilation, I and others confirmed the Windows build is broken.
r5760 is working fine, built Win32 Release x86/x64 and OSX universal just a few minutes ago for my uploads.
Well it's not building for me:

Code:
Error    1  error C2679: binary '==' : no operator found which takes a right-hand operand of type 'const ControllerInterface::DeviceQualifier' (or there is no acceptable conversion)  C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm  40

Error    4  error C2679: binary '==' : no operator found which takes a right-hand operand of type 'const ControllerInterface::DeviceQualifier' (or there is no acceptable conversion)  C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm  40

Error    2  error C2679: binary '==' : no operator found which takes a right-hand operand of type 'const std::string' (or there is no acceptable conversion)  C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm  40

Error    3  error C2679: binary '==' : no operator found which takes a right-hand operand of type 'const std::string' (or there is no acceptable conversion)  C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm  40

Error    5  fatal error LNK1181: cannot open input file '..\..\core\inputcommon\win32\release\inputcommon.lib'    Plugin_VideoOGL

Error    6  fatal error LNK1181: cannot open input file '..\..\core\inputuicommon\win32\release\inputuicommon.lib'    Plugin_Wiimote

Error    9  fatal error LNK1181: cannot open input file '..\..\core\inputuicommon\win32\release\inputuicommon.lib'    Plugin_WiimoteNew

Error    7  fatal error LNK1181: cannot open input file '..\core\inputcommon\win32\release\inputcommon.lib'    UnitTests

Error    10  fatal error LNK1181: cannot open input file '..\inputcommon\win32\release\inputcommon.lib'    Dolphin

I've already tried building and rebuilding the project, still fails no matter what. I have the latest DirectX SDK (June 2010), and the latest Windows SDK, I wasn't having any trouble with compiling until Billiards commit.
Did you try cleaning first? Solution > Clean Solution.
Also, if it doesnt help, clean up all object files that might be left.
Yes, already tried all that, clearly something is broken in the code and even XTra.KrazzY confirmed this:

http://code.google.com/p/dolphin-emu/source/detail?r=5757

No matter what I do, it won't compile, I wasn't having any problems compiling until Billiard's commit. If I knew how to code and knew what was wrong, I'd fix it myself. Unfortunately I only know the basics of coding and structure, but not how to actually code, wish I could help you guys out though. Wink
Tried XK's latest commit?
Yep, XTra.KrazzY's commit fixed compilation issues, I'm not quite sure how some Dolphin users were able to compile without any problems or errors though.. :o
Pages: 1 2