• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 8 9 10 11 12 ... 116 Next »

Windows build issue + questions
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Windows build issue + questions
05-02-2020, 06:33 AM
#1
blarghbread
Unregistered
 
Hi all,

I'm trying to compile dolphin for the first time on Windows.  I'm following the directions here:
https://github.com/dolphin-emu/dolphin/wiki/Building-for-Windows

I'm getting compilation issues, here:

Code:
C:\Users\brian\source\repos\dolphin\Source\Core\VideoCommon\CommandProcessor.cpp(201): error C3493: 'WMASK_LO_ALIGN_32BIT' cannot be implicitly captured because no default capture mode has been specified
C:\Users\brian\source\repos\dolphin\Source\Core\VideoCommon\CommandProcessor.cpp(200): error C2664: 'MMIO::WriteHandlingMethod<u16> *MMIO::ComplexWrite<u16>(std::function<void (u32,u16)>)': cannot convert argument 1 from 'int' to 'std::function<void (u32,u16)>'
 ..\..\Source\Core\VideoCommon\CommandProcessor.cpp(202): note: No constructor could take the source type, or constructor overload resolution was ambiguous
 ..\..\Source\Core\Core/HW/MMIOHandlers.h(238): note: see declaration of 'MMIO::ComplexWrite'
C:\Users\brian\source\repos\dolphin\Source\Core\VideoCommon\CommandProcessor.cpp(198): error C2672: 'MMIO::Mapping::Register': no matching overloaded function found
C:\Users\brian\source\repos\dolphin\Source\Core\VideoCommon\CommandProcessor.cpp(202): error C2780: 'void MMIO::Mapping::Register(u32,MMIO::ReadHandlingMethod<T> *,MMIO::WriteHandlingMethod<T> *)': expects 3 arguments - 2 provided
 ..\..\Source\Core\Core/HW/MMIO.h(116): note: see declaration of 'MMIO::Mapping::Register'

My end goal is to build the ARM64 target, but am currently building the default "Release" (NON arm64) target.

I tried googling for this issue - could not find anything obvious.  Thanks for any help, and let me know what other information I can provide.

Thanks
Reply
05-02-2020, 08:00 AM
#2
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,837
Threads: 7
Joined: Oct 2014
In CommandProcessor.cpp, try changing this line: MMIO::ComplexWrite<u16>([](u32, u16 val) {

To this: MMIO::ComplexWrite<u16>([WMASK_LO_ALIGN_32BIT](u32, u16 val) {
Find
Reply
05-03-2020, 06:30 AM
#3
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,837
Threads: 7
Joined: Oct 2014
I just ran into this problem myself when attempting to build with CMake on Windows (and indeed, the guide you linked is for how to build with CMake on Windows). It seems like the problem only happens when you do that, not when you build using the VS solution (which is what the buildbot does). I'll try to get a fix merged.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode