Giter Site home page Giter Site logo

Comments (16)

adriweb avatar adriweb commented on July 17, 2024

In the .pro file, can you try to remove the -W from GLOBAL_FLAGS? (Then, clean and re-qmake the project before make)
MSVC isn't known to be the best compiler out there, and we've used lots of gcc/clang flags, which you may have to remove to make MSVC happy :P

Note that an MSVC hasn't been tested at all on CEmu, so you'll be the first to try that build environment... let us know how that goes.

from cemu.

Eeems avatar Eeems commented on July 17, 2024

Next error: cl : Command line error D8021 : invalid numeric argument '/Wno-unused-parameter'


Alright, stripped down GLOBAL_FLAGS to GLOBAL_FLAGS = -Wall -fno-strict-overflow -ffunction-sections -fdata-sections to get it to start the compile. I'm now getting the following output:

11:05:24: Running steps for project CEmu...
11:05:24: Configuration unchanged, skipping qmake step.
11:05:24: Starting: "C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe" 
    C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
    cl -c -nologo -Zc:wchar_t -FS -Wall -fno-strict-overflow -ffunction-sections -fdata-sections -fno-exceptions -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\main.obj.8280.47.jom
cl : Command line warning D9002 : ignoring unknown option '-fno-strict-overflow'
cl : Command line warning D9002 : ignoring unknown option '-ffunction-sections'
main.cpp
cl : Command line warning D9002 : ignoring unknown option '-fdata-sections'
cl : Command line warning D9002 : ignoring unknown option '-fno-exceptions'
    cl -c -nologo -Zc:wchar_t -FS -Wall -fno-strict-overflow -ffunction-sections -fdata-sections -Zi -MDd -W3 /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\asic.obj.8280.62.jom
asic.c
cpu.c
..\CEmu\core\cpu.c(86) : warning C4242: 'function' : conversion from 'uint32_t' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(112) : warning C4242: 'function' : conversion from 'uint32_t' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(123) : error C2054: expected '(' to follow 'inline'
..\CEmu\core\cpu.c(123) : error C2085: 'cpu_read_in' : not in formal parameter list
..\CEmu\core\cpu.c(123) : error C2143: syntax error : missing ';' before '{'
cl : Command line warning D9002 : ignoring unknown option '-fno-strict-overflow'
cl : Command line warning D9002 : ignoring unknown option '-ffunction-sections'
cl : Command line warning D9002 : ignoring unknown option '-fdata-sections'
..\CEmu\core\cpu.c(127) : error C2054: expected '(' to follow 'inline'
..\CEmu\core\cpu.c(127) : error C2085: 'cpu_write_out' : not in formal parameter list
..\CEmu\core\cpu.c(127) : error C2143: syntax error : missing ';' before '{'
..\CEmu\core\cpu.c(271) : warning C4242: '=' : conversion from 'uint32_t' to 'uint16_t', possible loss of data
..\CEmu\core\cpu.c(344) : warning C4242: '=' : conversion from 'uint32_t' to 'uint16_t', possible loss of data
..\CEmu\core\cpu.c(575) : warning C4013: 'cpu_read_in' undefined; assuming extern returning int
..\CEmu\core\cpu.c(575) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(586) : warning C4013: 'cpu_write_out' undefined; assuming extern returning int
..\CEmu\core\cpu.c(597) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(610) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(632) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(645) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(671) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(674) : warning C4242: '=' : conversion from 'uint32_t' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(687) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(713) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(716) : warning C4242: '=' : conversion from 'uint32_t' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(750) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(801) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(859) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(884) : warning C4242: '=' : conversion from 'uint32_t' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(926) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(951) : warning C4242: '=' : conversion from 'uint32_t' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(1276) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(1325) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(1377) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(1573) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(1575) : warning C4242: '=' : conversion from 'uint32_t' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(1586) : warning C4242: '=' : conversion from 'uint32_t' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(1594) : warning C4242: '=' : conversion from 'uint32_t' to 'uint16_t', possible loss of data
..\CEmu\core\cpu.c(1601) : warning C4242: '=' : conversion from 'int' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(1603) : warning C4242: '=' : conversion from 'uint32_t' to 'uint8_t', possible loss of data
..\CEmu\core\cpu.c(1614) : warning C4242: '=' : conversion from 'uint32_t' to 'uint8_t', possible loss of data
keypad.c
lcd.c
..\CEmu\core\lcd.c(143) : error C2059: syntax error : 'bad suffix on number'
..\CEmu\core\lcd.c(143) : error C2146: syntax error : missing ')' before identifier 'b11'
..\CEmu\core\lcd.c(143) : error C2059: syntax error : ')'
..\CEmu\core\lcd.c(154) : warning C4242: 'return' : conversion from 'uint32_t' to 'uint8_t', possible loss of data
..\CEmu\core\lcd.c(168) : error C2059: syntax error : 'bad suffix on number'
..\CEmu\core\lcd.c(168) : error C2146: syntax error : missing ';' before identifier 'b11'
..\CEmu\core\lcd.c(168) : error C2065: 'b11' : undeclared identifier
..\CEmu\core\lcd.c(168) : warning C4555: expression has no effect; expected expression with side-effect
..\CEmu\core\lcd.c(169) : error C2059: syntax error : 'bad suffix on number'
..\CEmu\core\lcd.c(169) : error C2146: syntax error : missing ';' before identifier 'b11'
..\CEmu\core\lcd.c(169) : error C2065: 'b11' : undeclared identifier
..\CEmu\core\lcd.c(169) : warning C4555: expression has no effect; expected expression with side-effect
..\CEmu\core\lcd.c(174) : error C2059: syntax error : 'bad suffix on number'
..\CEmu\core\lcd.c(174) : error C2146: syntax error : missing ')' before identifier 'b111'
..\CEmu\core\lcd.c(174) : error C2059: syntax error : ')'
..\CEmu\core\lcd.c(174) : error C2065: 'b111' : undeclared identifier
..\CEmu\core\lcd.c(174) : error C2143: syntax error : missing ';' before '{'
..\CEmu\core\lcd.c(174) : warning C4555: expression has no effect; expected expression with side-effect
..\CEmu\core\lcd.c(177) : error C2059: syntax error : 'bad suffix on number'
..\CEmu\core\lcd.c(177) : error C2146: syntax error : missing ';' before identifier 'b111'
..\CEmu\core\lcd.c(177) : error C2065: 'b111' : undeclared identifier
..\CEmu\core\lcd.c(177) : warning C4555: expression has no effect; expected expression with side-effect
..\CEmu\core\lcd.c(180) : error C2059: syntax error : 'bad suffix on number'
..\CEmu\core\lcd.c(180) : error C2146: syntax error : missing ')' before identifier 'b111'
..\CEmu\core\lcd.c(180) : error C2059: syntax error : ')'
..\CEmu\core\lcd.c(180) : error C2065: 'b111' : undeclared identifier
..\CEmu\core\lcd.c(180) : error C2143: syntax error : missing ';' before '{'
..\CEmu\core\lcd.c(180) : warning C4555: expression has no effect; expected expression with side-effect
..\CEmu\core\lcd.c(183) : error C2059: syntax error : 'bad suffix on number'
..\CEmu\core\lcd.c(183) : error C2146: syntax error : missing ';' before identifier 'b111'
..\CEmu\core\lcd.c(183) : error C2065: 'b111' : undeclared identifier
..\CEmu\core\lcd.c(183) : warning C4555: expression has no effect; expected expression with side-effect
registers.c
Generating Code...
C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qvector.h(276) : warning C4619: #pragma warning : there is no warning number '4345'
c:\users\nathaniel\documents\github\cemu\romselection.h(37) : error C2143: syntax error : missing ';' before '*'
c:\users\nathaniel\documents\github\cemu\romselection.h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\nathaniel\documents\github\cemu\romselection.h(37) : error C2143: syntax error : missing ';' before '='
c:\users\nathaniel\documents\github\cemu\romselection.h(37) : error C2238: unexpected token(s) preceding ';'
qtframebuffer.cpp
C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qvector.h(276) : warning C4619: #pragma warning : there is no warning number '4345'
    cl -c -nologo -Zc:wchar_t -FS -Wall -fno-strict-overflow -ffunction-sections -fdata-sections -fno-exceptions -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\lcdwidget.obj.8280.47.jom
lcdwidget.cpp
C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qvector.h(276) : warning C4619: #pragma warning : there is no warning number '4345'
..\CEmu\lcdwidget.cpp(29) : warning C4138: '*/' found outside of comment
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(684) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<char>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<char>>>(_Other &) throw()'
        with
        [
            _Other=std::_Wrap_alloc<std::allocator<char>>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        A non-const reference may only be bound to an lvalue
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(683) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<char>> std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>::_Getal(void) const'
        with
        [
            _Elem=char
,            _Alloc=std::allocator<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(724) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<char>> std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>::_Getal(void) const' being compiled
        with
        [
            _Elem=char
,            _Alloc=std::allocator<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(695) : see reference to class template instantiation 'std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>' being compiled
        with
        [
            _Elem=char
,            _Alloc=std::allocator<char>
cl : Command line warning D9002 : ignoring unknown option '-fno-strict-overflow'
cl : Command line warning D9002 : ignoring unknown option '-ffunction-sections'
cl : Command line warning D9002 : ignoring unknown option '-fdata-sections'
cl : Command line warning D9002 : ignoring unknown option '-fno-exceptions'
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\stdexcept(31) : see reference to class template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' being compiled
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(779) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc(const std::allocator<char> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc<std::allocator<char>>(_Other &) throw()'
        with
        [
            _Other=std::allocator<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(804) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        A non-const reference may only be bound to an lvalue
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(778) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<char>> std::_Wrap_alloc<std::allocator<char>>::select_on_container_copy_construction(void) const'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(724) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<char>> std::_Wrap_alloc<std::allocator<char>>::select_on_container_copy_construction(void) const' being compiled
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(455) : see reference to class template instantiation 'std::_Wrap_alloc<std::allocator<char>>' being compiled
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(621) : see reference to class template instantiation 'std::_String_base_types<_Elem,_Alloc>' being compiled
        with
        [
            _Elem=char
,            _Alloc=std::allocator<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(804) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(804) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(684) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<wchar_t>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<wchar_t>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<wchar_t>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<wchar_t>>>(_Other &) throw()'
        with
        [
            _Other=std::_Wrap_alloc<std::allocator<wchar_t>>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<wchar_t>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<wchar_t>>::_Wrap_alloc'
        A non-const reference may only be bound to an lvalue
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(683) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<wchar_t>> std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>::_Getal(void) const'
        with
        [
            _Elem=wchar_t
,            _Alloc=std::allocator<wchar_t>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(887) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<wchar_t>> std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>::_Getal(void) const' being compiled
        with
        [
            _Elem=wchar_t
,            _Alloc=std::allocator<wchar_t>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(695) : see reference to class template instantiation 'std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>' being compiled
        with
        [
            _Elem=wchar_t
,            _Alloc=std::allocator<wchar_t>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\string(363) : see reference to class template instantiation 'std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>>' being compiled
C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(2193) : warning C4640: 'f' : construction of local static object is not thread-safe
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(2187) : while compiling class template member function 'bool QtPrivate::IsMetaTypePair<QPair<QVariant,QVariant>,true>::registerConverter(int)'
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1685) : see reference to function template instantiation 'bool QtPrivate::IsMetaTypePair<QPair<QVariant,QVariant>,true>::registerConverter(int)' being compiled
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1548) : see reference to class template instantiation 'QtPrivate::IsMetaTypePair<QPair<QVariant,QVariant>,true>' being compiled
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1553) : see reference to class template instantiation 'QtPrivate::IsPair<T>' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1685) : see reference to class template instantiation 'QtPrivate::MetaTypePairHelper<T>' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(2068) : see reference to function template instantiation 'int qRegisterNormalizedMetaType<QPair<QVariant,QVariant>>(const QByteArray &,T *,QtPrivate::MetaTypeDefinedHelper<T,true>::DefinedType)' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(2068) : while compiling class template member function 'int QMetaTypeId<T>::qt_metatype_id(void)'
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1584) : see reference to function template instantiation 'int QMetaTypeId<T>::qt_metatype_id(void)' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1583) : see reference to class template instantiation 'QMetaTypeId<T>' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1725) : see reference to class template instantiation 'QMetaTypeId2<T>' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qvariant.h(795) : see reference to function template instantiation 'int qMetaTypeId<QPair<QVariant,QVariant>>(void)' being compiled
emuthread.cpp
C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qvector.h(276) : warning C4619: #pragma warning : there is no warning number '4345'
c:\users\nathaniel\documents\github\cemu\romselection.h(39) : error C2536: 'RomSelection::RomSelection::segment_filled' : cannot specify explicit initializer for arrays
        c:\users\nathaniel\documents\github\cemu\romselection.h(39) : see declaration of 'RomSelection::segment_filled'
Generating Code...
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(684) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<char>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<char>>>(_Other &) throw()'
        with
        [
            _Other=std::_Wrap_alloc<std::allocator<char>>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        A non-const reference may only be bound to an lvalue
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(683) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<char>> std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>::_Getal(void) const'
        with
        [
            _Elem=char
,            _Alloc=std::allocator<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(724) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<char>> std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>::_Getal(void) const' being compiled
        with
        [
            _Elem=char
,            _Alloc=std::allocator<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(695) : see reference to class template instantiation 'std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>' being compiled
        with
        [
            _Elem=char
,            _Alloc=std::allocator<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\stdexcept(31) : see reference to class template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' being compiled
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(779) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc(const std::allocator<char> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc<std::allocator<char>>(_Other &) throw()'
        with
        [
            _Other=std::allocator<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(804) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        A non-const reference may only be bound to an lvalue
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(778) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<char>> std::_Wrap_alloc<std::allocator<char>>::select_on_container_copy_construction(void) const'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(724) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<char>> std::_Wrap_alloc<std::allocator<char>>::select_on_container_copy_construction(void) const' being compiled
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(455) : see reference to class template instantiation 'std::_Wrap_alloc<std::allocator<char>>' being compiled
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(621) : see reference to class template instantiation 'std::_String_base_types<_Elem,_Alloc>' being compiled
        with
        [
            _Elem=char
,            _Alloc=std::allocator<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(804) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(804) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(684) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<wchar_t>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<wchar_t>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<wchar_t>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<wchar_t>>>(_Other &) throw()'
        with
        [
            _Other=std::_Wrap_alloc<std::allocator<wchar_t>>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<wchar_t>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<wchar_t>>::_Wrap_alloc'
        A non-const reference may only be bound to an lvalue
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(683) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<wchar_t>> std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>::_Getal(void) const'
        with
        [
            _Elem=wchar_t
,            _Alloc=std::allocator<wchar_t>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(887) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<wchar_t>> std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>::_Getal(void) const' being compiled
        with
        [
            _Elem=wchar_t
,            _Alloc=std::allocator<wchar_t>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(695) : see reference to class template instantiation 'std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>' being compiled
        with
        [
            _Elem=wchar_t
,            _Alloc=std::allocator<wchar_t>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\string(363) : see reference to class template instantiation 'std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>>' being compiled
    cl -c -nologo -Zc:wchar_t -FS -Wall -fno-strict-overflow -ffunction-sections -fdata-sections -fno-exceptions -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\qtkeypadbridge.obj.8280.47.jom
qtkeypadbridge.cpp
C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qvector.h(276) : warning C4619: #pragma warning : there is no warning number '4345'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(684) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<char>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<char>>>(_Other &) throw()'
        with
        [
            _Other=std::_Wrap_alloc<std::allocator<char>>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        A non-const reference may only be bound to an lvalue
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(683) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<char>> std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>::_Getal(void) const'
        with
        [
            _Elem=char
,            _Alloc=std::allocator<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(724) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<char>> std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>::_Getal(void) const' being compiled
        with
        [
            _Elem=char
,            _Alloc=std::allocator<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(695) : see reference to class template instantiation 'std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>' being compiled
        with
        [
            _Elem=char
,            _Alloc=std::allocator<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\stdexcept(31) : see reference to class template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' being compiled
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(779) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc(const std::allocator<char> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc<std::allocator<char>>(_Other &) throw()'
        with
        [
            _Other=std::allocator<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(804) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
cl : Command line warning D9002 : ignoring unknown option '-fno-strict-overflow'
cl : Command line warning D9002 : ignoring unknown option '-ffunction-sections'
cl : Command line warning D9002 : ignoring unknown option '-fdata-sections'
cl : Command line warning D9002 : ignoring unknown option '-fno-exceptions'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        A non-const reference may only be bound to an lvalue
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(778) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<char>> std::_Wrap_alloc<std::allocator<char>>::select_on_container_copy_construction(void) const'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(724) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<char>> std::_Wrap_alloc<std::allocator<char>>::select_on_container_copy_construction(void) const' being compiled
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(455) : see reference to class template instantiation 'std::_Wrap_alloc<std::allocator<char>>' being compiled
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(621) : see reference to class template instantiation 'std::_String_base_types<_Elem,_Alloc>' being compiled
        with
        [
            _Elem=char
,            _Alloc=std::allocator<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(804) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(804) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<char>>::_Wrap_alloc'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(684) : warning C4350: behavior change: 'std::_Wrap_alloc<std::allocator<wchar_t>>::_Wrap_alloc(const std::_Wrap_alloc<std::allocator<wchar_t>> &) throw()' called instead of 'std::_Wrap_alloc<std::allocator<wchar_t>>::_Wrap_alloc<std::_Wrap_alloc<std::allocator<wchar_t>>>(_Other &) throw()'
        with
        [
            _Other=std::_Wrap_alloc<std::allocator<wchar_t>>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(809) : see declaration of 'std::_Wrap_alloc<std::allocator<wchar_t>>::_Wrap_alloc'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory0(821) : see declaration of 'std::_Wrap_alloc<std::allocator<wchar_t>>::_Wrap_alloc'
        A non-const reference may only be bound to an lvalue
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(683) : while compiling class template member function 'std::_Wrap_alloc<std::allocator<wchar_t>> std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>::_Getal(void) const'
        with
        [
            _Elem=wchar_t
,            _Alloc=std::allocator<wchar_t>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(887) : see reference to function template instantiation 'std::_Wrap_alloc<std::allocator<wchar_t>> std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>::_Getal(void) const' being compiled
        with
        [
            _Elem=wchar_t
,            _Alloc=std::allocator<wchar_t>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring(695) : see reference to class template instantiation 'std::_String_alloc<false,std::_String_base_types<_Elem,_Alloc>>' being compiled
        with
        [
            _Elem=wchar_t
,            _Alloc=std::allocator<wchar_t>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\string(363) : see reference to class template instantiation 'std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>>' being compiled
C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(2210) : warning C4640: 'f' : construction of local static object is not thread-safe
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(2204) : while compiling class template member function 'bool QtPrivate::ValueTypeIsMetaType<T,true>::registerConverter(int)'
        with
        [
            T=QModelIndexList
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1683) : see reference to function template instantiation 'bool QtPrivate::ValueTypeIsMetaType<T,true>::registerConverter(int)' being compiled
        with
        [
            T=QModelIndexList
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1483) : see reference to class template instantiation 'QtPrivate::ValueTypeIsMetaType<T,true>' being compiled
        with
        [
            T=QModelIndexList
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1683) : see reference to class template instantiation 'QtPrivate::SequentialContainerConverterHelper<T,true>' being compiled
        with
        [
            T=QModelIndexList
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1705) : see reference to function template instantiation 'int qRegisterNormalizedMetaType<T>(const QByteArray &,T *,QtPrivate::MetaTypeDefinedHelper<T,true>::DefinedType)' being compiled
        with
        [
            T=QModelIndexList
        ]
        c:\qt\qt5.5.1\5.5\msvc2013_64\include\qtcore\qabstractitemmodel.h(430) : see reference to function template instantiation 'int qRegisterMetaType<QModelIndexList>(const char *,T *,QtPrivate::MetaTypeDefinedHelper<T,true>::DefinedType)' being compiled
        with
        [
            T=QModelIndexList
        ]
C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(2193) : warning C4640: 'f' : construction of local static object is not thread-safe
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(2187) : while compiling class template member function 'bool QtPrivate::IsMetaTypePair<QPair<QVariant,QVariant>,true>::registerConverter(int)'
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1685) : see reference to function template instantiation 'bool QtPrivate::IsMetaTypePair<QPair<QVariant,QVariant>,true>::registerConverter(int)' being compiled
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1548) : see reference to class template instantiation 'QtPrivate::IsMetaTypePair<QPair<QVariant,QVariant>,true>' being compiled
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1553) : see reference to class template instantiation 'QtPrivate::IsPair<T>' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1685) : see reference to class template instantiation 'QtPrivate::MetaTypePairHelper<T>' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(2068) : see reference to function template instantiation 'int qRegisterNormalizedMetaType<QPair<QVariant,QVariant>>(const QByteArray &,T *,QtPrivate::MetaTypeDefinedHelper<T,true>::DefinedType)' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(2068) : while compiling class template member function 'int QMetaTypeId<T>::qt_metatype_id(void)'
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1584) : see reference to function template instantiation 'int QMetaTypeId<T>::qt_metatype_id(void)' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1583) : see reference to class template instantiation 'QMetaTypeId<T>' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1725) : see reference to class template instantiation 'QMetaTypeId2<T>' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qvariant.h(795) : see reference to function template instantiation 'int qMetaTypeId<QPair<QVariant,QVariant>>(void)' being compiled
qmlbridge.cpp
C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qvector.h(276) : warning C4619: #pragma warning : there is no warning number '4345'
..\CEmu\qmlbridge.cpp(19) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
Generating Code...
C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(2193) : warning C4640: 'f' : construction of local static object is not thread-safe
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(2187) : while compiling class template member function 'bool QtPrivate::IsMetaTypePair<QPair<QVariant,QVariant>,true>::registerConverter(int)'
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1685) : see reference to function template instantiation 'bool QtPrivate::IsMetaTypePair<QPair<QVariant,QVariant>,true>::registerConverter(int)' being compiled
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1548) : see reference to class template instantiation 'QtPrivate::IsMetaTypePair<QPair<QVariant,QVariant>,true>' being compiled
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1553) : see reference to class template instantiation 'QtPrivate::IsPair<T>' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1685) : see reference to class template instantiation 'QtPrivate::MetaTypePairHelper<T>' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(2068) : see reference to function template instantiation 'int qRegisterNormalizedMetaType<QPair<QVariant,QVariant>>(const QByteArray &,T *,QtPrivate::MetaTypeDefinedHelper<T,true>::DefinedType)' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(2068) : while compiling class template member function 'int QMetaTypeId<T>::qt_metatype_id(void)'
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1584) : see reference to function template instantiation 'int QMetaTypeId<T>::qt_metatype_id(void)' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1583) : see reference to class template instantiation 'QMetaTypeId<T>' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qmetatype.h(1725) : see reference to class template instantiation 'QMetaTypeId2<T>' being compiled
        with
        [
            T=QPair<QVariant,QVariant>
        ]
        C:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore/qvariant.h(795) : see reference to function template instantiation 'int qMetaTypeId<QPair<QVariant,QVariant>>(void)' being compiled
Generating Code...
jom: C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\Makefile.Debug [debug\main.obj] Error 2
jom: C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\Makefile.Debug [debug\asic.obj] Error 2
jom: C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\Makefile.Debug [debug\lcdwidget.obj] Error 2
jom: C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\Makefile.Debug [debug\qtkeypadbridge.obj] Error 2
jom: C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\Makefile [debug] Error 2
11:05:30: The process "C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project CEmu (kit: Desktop Qt 5.5.1 MSVC2013 64bit)
When executing step "Make"
11:05:30: Elapsed time: 00:07.

I'm going to guess a lot of that was handled by those flags. Do we want to make it not complain about these things? If so I'll fork and work my way through them.

from cemu.

adriweb avatar adriweb commented on July 17, 2024

Meh, MSVC...
Just remove all the flags from the .pro file, so basically all that needs to be gone:

GLOBAL_FLAGS = -W -Wall -Wno-unused-parameter -Werror=shadow -Werror=write-strings -Werror=redundant-decls -Werror=format -Werror=format-security -Werror=implicit-function-declaration -Werror=date-time -Werror=missing-prototypes -Werror=return-type -Werror=pointer-arith -fno-strict-overflow -Winit-self -ffunction-sections -fdata-sections

if (macx | linux) {
    GLOBAL_FLAGS += -fsanitize=address,bounds -fsanitize-undefined-trap-on-error -fstack-protector-all -Wstack-protector --param=ssp-buffer-size=1 -fPIC
}
if (macx) {
    MORE_LFLAGS += -Wl,-dead_strip
}
if (linux) {
    MORE_LFLAGS += -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,--gc-sections -pie
}

QMAKE_CFLAGS += $$GLOBAL_FLAGS
QMAKE_CXXFLAGS += $$GLOBAL_FLAGS -fno-exceptions
QMAKE_LFLAGS += -flto -fPIE $$GLOBAL_FLAGS $$MORE_LFLAGS

Don't forget to clean and re-qmake the project before make.

If it ends up working, we'll make that a specific rule for the project.

from cemu.

Eeems avatar Eeems commented on July 17, 2024

Alright, cleaned up the output a bunch. Still getting lots of errors though. A lot of them seem rather odd though. Most of them are about it expecting things to follow inline.

11:20:05: Running steps for project CEmu...
11:20:05: Starting: "C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe" clean
    C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe -f Makefile.Debug clean
    del debug\qrc_resources.cpp
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\debug\qrc_resources.cpp
    del debug\moc_mainwindow.cpp debug\moc_romselection.cpp debug\moc_lcdwidget.cpp debug\moc_emuthread.cpp debug\moc_qmlbridge.cpp
    del ui_mainwindow.h ui_romselection.h
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\debug\moc_mainwindow.cpp
    del debug\main.obj debug\mainwindow.obj debug\romselection.obj debug\qtframebuffer.obj debug\lcdwidget.obj debug\emuthread.obj debug\qtkeypadbridge.obj debug\qmlbridge.obj debug\asic.obj debug\cpu.obj debug\keypad.obj debug\lcd.obj debug\registers.obj debug\apb.obj debug\interrupt.obj debug\flash.obj debug\misc.obj debug\schedule.obj debug\emu.obj debug\timers.obj debug\usb.obj debug\sha256.obj debug\realclock.obj debug\backlight.obj debug\cert.obj debug\control.obj debug\mem.obj debug\gif.obj debug\disasm.obj debug\debug.obj debug\os-win32.obj debug\qrc_resources.obj debug\moc_mainwindow.obj debug\moc_romselection.obj debug\moc_lcdwidget.obj debug\moc_emuthread.obj debug\moc_qmlbridge.obj
    del debug\CEmu.exp debug\CEmu.ilk debug\CEmu.idb
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\debug\CEmu.exp
    del debug\CEmu_resource.res
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\debug\CEmu_resource.res
    C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe -f Makefile.Release clean
    del release\qrc_resources.cpp
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\release\qrc_resources.cpp
    del release\moc_mainwindow.cpp release\moc_romselection.cpp release\moc_lcdwidget.cpp release\moc_emuthread.cpp release\moc_qmlbridge.cpp
    del ui_mainwindow.h ui_romselection.h
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\release\moc_mainwindow.cpp
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\ui_mainwindow.h
    del release\main.obj release\mainwindow.obj release\romselection.obj release\qtframebuffer.obj release\lcdwidget.obj release\emuthread.obj release\qtkeypadbridge.obj release\qmlbridge.obj release\asic.obj release\cpu.obj release\keypad.obj release\lcd.obj release\registers.obj release\apb.obj release\interrupt.obj release\flash.obj release\misc.obj release\schedule.obj release\emu.obj release\timers.obj release\usb.obj release\sha256.obj release\realclock.obj release\backlight.obj release\cert.obj release\control.obj release\mem.obj release\gif.obj release\disasm.obj release\debug.obj release\os-win32.obj release\qrc_resources.obj release\moc_mainwindow.obj release\moc_romselection.obj release\moc_lcdwidget.obj release\moc_emuthread.obj release\moc_qmlbridge.obj
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\release\main.obj
    del release\CEmu.exp
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\release\CEmu.exp
    del release\CEmu_resource.res
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\release\CEmu_resource.res
    del CEmu.exp
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\CEmu.exp
    del CEmu.ilk
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\CEmu.ilk
    del CEmu.idb
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\CEmu.idb
11:20:06: The process "C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe" exited normally.
11:20:06: Configuration unchanged, skipping qmake step.
11:20:06: Starting: "C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe" 
    C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
    C:\Qt\Qt5.5.1\5.5\msvc2013_64\bin\uic.exe ..\CEmu\mainwindow.ui -o ui_mainwindow.h
    C:\Qt\Qt5.5.1\5.5\msvc2013_64\bin\uic.exe ..\CEmu\romselection.ui -o ui_romselection.h
    cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\qtkeypadbridge.obj.10724.140.jom
    cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\main.obj.10724.78.jom
main.cpp
    cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\lcdwidget.obj.10724.78.jom
lcdwidget.cpp
qtkeypadbridge.cpp
    cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -W3 /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\asic.obj.10724.140.jom
asic.c
cpu.c
keypad.c
lcd.c
..\CEmu\core\lcd.c(143) : error C2059: syntax error : 'bad suffix on number'
..\CEmu\core\lcd.c(143) : error C2146: syntax error : missing ')' before identifier 'b11'
..\CEmu\core\lcd.c(143) : error C2059: syntax error : ')'
..\CEmu\core\lcd.c(168) : error C2059: syntax error : 'bad suffix on number'
..\CEmu\core\lcd.c(168) : error C2146: syntax error : missing ';' before identifier 'b11'
..\CEmu\core\lcd.c(168) : error C2065: 'b11' : undeclared identifier
..\CEmu\core\lcd.c(169) : error C2059: syntax error : 'bad suffix on number'
..\CEmu\core\lcd.c(169) : error C2146: syntax error : missing ';' before identifier 'b11'
..\CEmu\core\lcd.c(169) : error C2065: 'b11' : undeclared identifier
..\CEmu\core\lcd.c(174) : error C2059: syntax error : 'bad suffix on number'
..\CEmu\core\lcd.c(174) : error C2146: syntax error : missing ')' before identifier 'b111'
..\CEmu\core\lcd.c(174) : error C2059: syntax error : ')'
..\CEmu\core\lcd.c(174) : error C2065: 'b111' : undeclared identifier
..\CEmu\core\lcd.c(174) : error C2143: syntax error : missing ';' before '{'
..\CEmu\core\lcd.c(177) : error C2059: syntax error : 'bad suffix on number'
..\CEmu\core\lcd.c(177) : error C2146: syntax error : missing ';' before identifier 'b111'
..\CEmu\core\lcd.c(177) : error C2065: 'b111' : undeclared identifier
..\CEmu\core\lcd.c(180) : error C2059: syntax error : 'bad suffix on number'
..\CEmu\core\lcd.c(180) : error C2146: syntax error : missing ')' before identifier 'b111'
..\CEmu\core\lcd.c(180) : error C2059: syntax error : ')'
..\CEmu\core\lcd.c(180) : error C2065: 'b111' : undeclared identifier
..\CEmu\core\lcd.c(180) : error C2143: syntax error : missing ';' before '{'
..\CEmu\core\lcd.c(183) : error C2059: syntax error : 'bad suffix on number'
..\CEmu\core\lcd.c(183) : error C2146: syntax error : missing ';' before identifier 'b111'
..\CEmu\core\lcd.c(183) : error C2065: 'b111' : undeclared identifier
registers.c
Generating Code...
..\CEmu\lcdwidget.cpp(29) : warning C4138: '*/' found outside of comment
c:\users\nathaniel\documents\github\cemu\romselection.h(37) : error C2143: syntax error : missing ';' before '*'
c:\users\nathaniel\documents\github\cemu\romselection.h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\nathaniel\documents\github\cemu\romselection.h(37) : error C2143: syntax error : missing ';' before '='
c:\users\nathaniel\documents\github\cemu\romselection.h(37) : error C2238: unexpected token(s) preceding ';'
qtframebuffer.cpp
emuthread.cpp
qmlbridge.cpp
c:\users\nathaniel\documents\github\cemu\romselection.h(39) : error C2536: 'RomSelection::RomSelection::segment_filled' : cannot specify explicit initializer for arrays
        c:\users\nathaniel\documents\github\cemu\romselection.h(39) : see declaration of 'RomSelection::segment_filled'
Generating Code...
jom: C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\Makefile.Debug [debug\lcdwidget.obj] Error 2
..\CEmu\qmlbridge.cpp(19) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
Generating Code...
jom: C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\Makefile.Debug [debug\qtkeypadbridge.obj] Error 2
Generating Code...
jom: C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\Makefile.Debug [debug\main.obj] Error 2
jom: C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\Makefile.Debug [debug\asic.obj] Error 2
jom: C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\Makefile [debug] Error 2
11:20:12: The process "C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project CEmu (kit: Desktop Qt 5.5.1 MSVC2013 64bit)
When executing step "Make"
11:20:12: Elapsed time: 00:07.

I'm able to fix a bunch of them by changing inline to __inline
I've updated the output above.


A little more digging brings up that MSVC doesn't support binary literals. So I should either change them to a hex literal, or an integer.

from cemu.

adriweb avatar adriweb commented on July 17, 2024

Oh, it seems that MSVS doesn't support binary literals (0b****), nor the initializer lists we use here and there... (MSVS doesn't support the latest C/C++ standards well, maybe MSVS 2015 is better, but haven't tried).
Technically, it's fixable, by using some more annoying and longer syntax (and for the binary literals, well, probably use hex literals...)

I see that "unistd.h" isn't found for some file, but it seemed not to matter, and I've removed it, so you can do that as well.

I know that the MinGW version of the Qt SDK for Windows works, though (Qt 5.5.1 for Windows 32-bit (MinGW 4.9.2, 1.0 GB)), it's the one I use to build the Windows releases of Firebird.

from cemu.

Eeems avatar Eeems commented on July 17, 2024

Alright, I've cleaned it up a ton, this is what's left:

11:41:04: Running steps for project CEmu...
11:41:04: Starting: "C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe" clean
    C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe -f Makefile.Debug clean
    del debug\qrc_resources.cpp
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\debug\qrc_resources.cpp
    del debug\moc_mainwindow.cpp debug\moc_romselection.cpp debug\moc_lcdwidget.cpp debug\moc_emuthread.cpp debug\moc_qmlbridge.cpp
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\debug\moc_mainwindow.cpp
    del ui_mainwindow.h ui_romselection.h
    del debug\main.obj debug\mainwindow.obj debug\romselection.obj debug\qtframebuffer.obj debug\lcdwidget.obj debug\emuthread.obj debug\qtkeypadbridge.obj debug\qmlbridge.obj debug\asic.obj debug\cpu.obj debug\keypad.obj debug\lcd.obj debug\registers.obj debug\apb.obj debug\interrupt.obj debug\flash.obj debug\misc.obj debug\schedule.obj debug\emu.obj debug\timers.obj debug\usb.obj debug\sha256.obj debug\realclock.obj debug\backlight.obj debug\cert.obj debug\control.obj debug\mem.obj debug\gif.obj debug\disasm.obj debug\debug.obj debug\os-win32.obj debug\qrc_resources.obj debug\moc_mainwindow.obj debug\moc_romselection.obj debug\moc_lcdwidget.obj debug\moc_emuthread.obj debug\moc_qmlbridge.obj
    del debug\CEmu.exp debug\CEmu.ilk debug\CEmu.idb
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\debug\CEmu.exp
    del debug\CEmu_resource.res
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\debug\CEmu_resource.res
    C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe -f Makefile.Release clean
    del release\qrc_resources.cpp
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\release\qrc_resources.cpp
    del release\moc_mainwindow.cpp release\moc_romselection.cpp release\moc_lcdwidget.cpp release\moc_emuthread.cpp release\moc_qmlbridge.cpp
    del ui_mainwindow.h ui_romselection.h
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\release\moc_mainwindow.cpp
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\ui_mainwindow.h
    del release\main.obj release\mainwindow.obj release\romselection.obj release\qtframebuffer.obj release\lcdwidget.obj release\emuthread.obj release\qtkeypadbridge.obj release\qmlbridge.obj release\asic.obj release\cpu.obj release\keypad.obj release\lcd.obj release\registers.obj release\apb.obj release\interrupt.obj release\flash.obj release\misc.obj release\schedule.obj release\emu.obj release\timers.obj release\usb.obj release\sha256.obj release\realclock.obj release\backlight.obj release\cert.obj release\control.obj release\mem.obj release\gif.obj release\disasm.obj release\debug.obj release\os-win32.obj release\qrc_resources.obj release\moc_mainwindow.obj release\moc_romselection.obj release\moc_lcdwidget.obj release\moc_emuthread.obj release\moc_qmlbridge.obj
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\release\main.obj
    del release\CEmu.exp
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\release\CEmu.exp
    del release\CEmu_resource.res
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\release\CEmu_resource.res
    del CEmu.exp
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\CEmu.exp
    del CEmu.ilk
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\CEmu.ilk
    del CEmu.idb
Could Not Find C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\CEmu.idb
11:41:04: The process "C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe" exited normally.
11:41:04: Configuration unchanged, skipping qmake step.
11:41:04: Starting: "C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe" 
    C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
    C:\Qt\Qt5.5.1\5.5\msvc2013_64\bin\uic.exe ..\CEmu\mainwindow.ui -o ui_mainwindow.h
    C:\Qt\Qt5.5.1\5.5\msvc2013_64\bin\uic.exe ..\CEmu\romselection.ui -o ui_romselection.h
    cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\qtkeypadbridge.obj.11624.125.jom
    cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\main.obj.11624.63.jom
main.cpp
    cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\lcdwidget.obj.11624.79.jom
lcdwidget.cpp
qtkeypadbridge.cpp
    cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -W3 /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\asic.obj.11624.141.jom
asic.c
cpu.c
keypad.c
lcd.c
registers.c
Generating Code...
    cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -W3 /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\apb.obj.11624.1375.jom
apb.c
interrupt.c
flash.c
misc.c
schedule.c
..\CEmu\core\schedule.c(29) : warning C4244: 'return' : conversion from 'uint64_t' to 'uint32_t', possible loss of data
..\CEmu\core\schedule.c(44) : warning C4244: '=' : conversion from 'uint64_t' to 'int', possible loss of data
Generating Code...
..\CEmu\lcdwidget.cpp(29) : warning C4138: '*/' found outside of comment
    cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\emu.obj.11624.2188.jom
emu.cpp
c:\users\nathaniel\documents\github\cemu\romselection.h(37) : error C2143: syntax error : missing ';' before '*'
c:\users\nathaniel\documents\github\cemu\romselection.h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-intemuthread.cpp

c:\users\nathaniel\documents\github\cemu\romselection.h(37) : error C2143: syntax error : missing ';' before '='
c:\users\nathaniel\documents\github\cemu\romselection.h(37) : error C2238: unexpected token(s) preceding ';'
qtframebuffer.cpp
    cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -W3 /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\timers.obj.11624.4750.jom
timers.c
usb.c
sha256.c
realclock.c
..\CEmu\core\realclock.c(54) : warning C4244: '=' : conversion from 'uint16_t' to 'uint8_t', possible loss of data
backlight.c
Generating Code...
    cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -W3 /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\cert.obj.11624.5407.jom
cert.c
..\CEmu\core\cert.c(95) : warning C4244: '-=' : conversion from '__int64' to 'uint32_t', possible loss of data
control.c
..\CEmu\core\control.c(74) : warning C4244: 'function' : conversion from 'double' to 'uint32_t', possible loss of data
..\CEmu\core\control.c(77) : warning C4244: 'function' : conversion from 'double' to 'uint32_t', possible loss of data
..\CEmu\core\control.c(80) : warning C4244: 'function' : conversion from 'double' to 'uint32_t', possible loss of data
..\CEmu\core\control.c(83) : warning C4244: 'function' : conversion from 'double' to 'uint32_t', possible loss of data
mem.c
Generating Code...
qmlbridge.cpp
c:\users\nathaniel\documents\github\cemu\romselection.h(39) : error C2536: 'RomSelection::RomSelection::segment_filled' : cannot specify explicit initializer for arrays
        c:\users\nathaniel\documents\github\cemu\romselection.h(39) : see declaration of 'RomSelection::segment_filled'
Generating Code...
jom: C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\Makefile.Debug [debug\lcdwidget.obj] Error 2
    cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\CEmu.pdb -DUNICODE -DWIN32 -DWIN64 -DCEMU_VERSION=0.2 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\CEmu -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuickWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQuick -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtWidgets -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtQml -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtNetwork -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Idebug -I. -IC:\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\NATHAN~1\AppData\Local\Temp\gif.obj.11624.5891.jom
gif.cpp
c:\users\nathaniel\documents\github\cemu\core\capture\giflib.h(432) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
c:\users\nathaniel\documents\github\cemu\core\capture\giflib.h(433) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
Generating Code...
jom: C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\Makefile.Debug [debug\main.obj] Error 2
..\CEmu\qmlbridge.cpp(29) : error C2143: syntax error : missing ';' before 'const'
..\CEmu\qmlbridge.cpp(29) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
Generating Code...
jom: C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\Makefile.Debug [debug\qtkeypadbridge.obj] Error 2
jom: C:\Users\Nathaniel\Documents\GitHub\build-CEmu-Desktop_Qt_5_5_1_MSVC2013_64bit-Debug\Makefile [debug] Error 2
11:41:13: The process "C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project CEmu (kit: Desktop Qt 5.5.1 MSVC2013 64bit)
When executing step "Make"
11:41:13: Elapsed time: 00:09.

from cemu.

adriweb avatar adriweb commented on July 17, 2024

Solved on IRC. Some of the fixes: ad792be
More fixes coming soon. Probably via a PR from @Eeems . (Edit: see #2)
The .pro file changes will have to be done with a msvc-specific rule though.

from cemu.

adriweb avatar adriweb commented on July 17, 2024

FWIW, the Windows build is unsurprisingly successful with the code as-is on the 32-bit MinGW Qt (just tested), and is also fine on a crossbuild (pimath's nighlies).

from cemu.

Eeems avatar Eeems commented on July 17, 2024

I'm having some trouble getting Qt 5.6 to recognize anything other then VS2013 being installed. I can still only get this to build with VS 2013 if we have the binary literals converted to hex literals.

from cemu.

adriweb avatar adriweb commented on July 17, 2024

Are you sure you're trying to setup the MSVC2015-based Qt Kit from the latest Qt Creator version (3.6 for me, with Qt 5.6)?
If you have several Qt versions installed, some PATH conflicts may make your old version get launched instead... (learned that the hard way)

from cemu.

Eeems avatar Eeems commented on July 17, 2024

I have confirmed that I'm running 3.6 and it still only sees MSVC 12

from cemu.

adriweb avatar adriweb commented on July 17, 2024

Well that's a bit annoying.
In Qt Creator's Kit settings, if you clone the compiler+debugger config and replace, in the new one, the 2013 paths by the 2015 ones, does it work?
It wouldn't be automatic detection but just slightly editing paths, which is somewhat okay, until Qt gets fully updated to detect it...

What I've seen is people trying to use Qt directly from MSVS 2015, which seems possible now rather easily... but here we still want to use Qt Creator...

from cemu.

Eeems avatar Eeems commented on July 17, 2024

It doesn't let me edit paths for the MSVC entries, even cloned ones. I'm guessing there are some files or registry entries somewhere I can edit to accomplish this though.

from cemu.

adriweb avatar adriweb commented on July 17, 2024

( I think you meant to close the PR, since we're not going to support MSVC < 2015. This ticket is fine, though, and I encourage @Eeems to update it when/if he gets Qt Creator to work with MSVC 2015 :) )

from cemu.

alberthdev avatar alberthdev commented on July 17, 2024

Finally got it to work! A couple of things to make sure of:

  • You MUST use the beta version of Qt v5.6. You can't use Qt v5.5.x, since they didn't provide a binary release for VS2015, and you can't build using VS2015 on VS2013 libraries.

  • You can download the beta version of Qt here. I specifically used this build for 32-bit Qt. This build will probably work if you're trying to build a 64-bit binary.

  • Once you install it, Qt Creator will work... but it's slightly glitchy. When you first open the project file, it will ask you to configure the project with a compiler. The compiler... being "MSVC2013". That was confusing, especially since the VM I'm using doesn't have it installed at all!

    qtbetaweird1_crop

    Of course, details do matter! If you look at the actual compiler(s) associated with that "MSVC2013", you'll see this:

    qtbetaweird2_crop

    Version 14.0 is VS2015, according to this list. We also know this is VS2015 because the community version comes with all of the cross-compilers, especially ARM/WinRT.

    No worries - Qt is still in beta, and they just haven't updated their code to version 14.0 -> MSVC2015 correctly yet. Compiling will still work!

That said, after fiddling around with CEmu.pro to disable GCC flags (and add potential MSVC ones), it works - no code changes were made at all!

VS2015 comes with C++14 binary literal support (source: here and here). Initializer lists have been supported since VS2013 as well (source).

If you want to support VS2013, you could do it if you sacrificed binary literal support. The first thing that comes to mind is to implement it with user-defined literals... but that's only available in VS2015. The alternative is to write it in hex, or use a hacky macro to wrap around it (like this or this).

If you want to support VS2010 and allow Windows XP users to compile the project, you would have to sacrifice binary literal support and initializer list support. Is it worth the effort? Not sure... may want to see if users are still using Windows XP out there!

If you chose to support only VS2015+, you wouldn't lose much - VS2012 and above can only be run in Windows 7 and newer, and VS2015 can still target XP. You can get the best features with VS2015 while still maintaining XP deployment and minimum Windows 7 system requirements for compiling.

In summary:

VS Versions Can build on XP Can build on Win7+ Target XP+ Initializer Lists User-Defined Literals Binary Literals Difficulty
VS2010 Yes Yes Yes No No No Hard
VS2012 No Yes Yes No No No Hard
VS2013 No Yes Yes Yes No No Mod
VS2015 No Yes Yes Yes Yes Yes N/A

PR coming soon - see alberthdev/CEmu for current progress.

Obligatory screenshot of MSVC2015 working with CEmu:
virtualbox_windows 7 x64 vs2015 community_11_01_2016_11_15_30

from cemu.

adriweb avatar adriweb commented on July 17, 2024

Awesome, and thanks for the details comment :)
And yes, we'll probably just stick with VS2015+ as a requirement.

from cemu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.