• 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 ... 90 91 92 93 94 ... 111 Next »

Wiimote config.cpp Error on Ubuntu Karma Koala x64
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Wiimote config.cpp Error on Ubuntu Karma Koala x64
12-16-2009, 03:27 AM
#1
Elan
Unregistered
 
Hello! I've got the x64 source and get these errors while compiling:

Code:
scons: Building targets ...
scons: building associated VariantDir targets: Build/Linux-x86_64-release
Compiling shared Build/Linux-x86_64-release/Source/Plugins/Plugin_Wiimote/Src/Config.os
Source/Plugins/Plugin_Wiimote/Src/Config.cpp: In member function 'void Config::Load(bool)':
Source/Plugins/Plugin_Wiimote/Src/Config.cpp:255: error: 'bSidewaysDPad' was not declared in this scope
Source/Plugins/Plugin_Wiimote/Src/Config.cpp:276: error: 'Trigger' was not declared in this scope
Source/Plugins/Plugin_Wiimote/Src/Config.cpp:330: error: 'struct InputCommon::CONTROLLER_MAPPING_NEW' has no member named 'bRollInvert'
Source/Plugins/Plugin_Wiimote/Src/Config.cpp:331: error: 'struct InputCommon::CONTROLLER_MAPPING_NEW' has no member named 'bPitchInvert'
Source/Plugins/Plugin_Wiimote/Src/Config.cpp: In member function 'void Config::Save(int)':
Source/Plugins/Plugin_Wiimote/Src/Config.cpp:357: error: 'bSidewaysDPad' was not declared in this scope
Source/Plugins/Plugin_Wiimote/Src/Config.cpp:379: error: 'Trigger' was not declared in this scope
Source/Plugins/Plugin_Wiimote/Src/Config.cpp:431: error: 'struct InputCommon::CONTROLLER_MAPPING_NEW' has no member named 'bRollInvert'
Source/Plugins/Plugin_Wiimote/Src/Config.cpp:432: error: 'struct InputCommon::CONTROLLER_MAPPING_NEW' has no member named 'bPitchInvert'
scons: *** [Build/Linux-x86_64-release/Source/Plugins/Plugin_Wiimote/Src/Config.os] Error 1
scons: building terminated because of errors.

Any idea how to fix it?
Reply
12-16-2009, 11:09 AM
#2
emunutz
Unregistered
 
I ran into the same issue while I was testing on Karmic (I mainly use Windows 7), and was only testing Gamecube games so I just commented out the lines in config.cpp and it compiled just fine after that. Although now I'm dealing with just a black screen with audio using the OGL plugin on my ATI HD4650 Sad

I know that's not a "fix", but it's a workaround that should at least let you compile and test the latest builds.
Reply
12-17-2009, 04:01 AM
#3
Elan
Unregistered
 
Do I comment them out by putting a "#" in front of the named lines?
Reply
12-17-2009, 10:10 AM
#4
emunutz
Unregistered
 
(12-17-2009, 04:01 AM)Elan Wrote: Do I comment them out by putting a "#" in front of the named lines?

Use a "//" (double forward-slash) to comment out single lines, each line number that's output in the error.
Reply
12-17-2009, 02:08 PM
#5
Elan
Unregistered
 
Thank u! Smile
But now Dolphin always crashes when I try to change something in the Wiimote settings. Can I simply download a compiled version and pull the libPlugin_Wiimote.so out there into my plugin folder?
Reply
12-17-2009, 02:45 PM
#6
emunutz
Unregistered
 
(12-17-2009, 02:08 PM)Elan Wrote: Thank u! Smile
But now Dolphin always crashes when I try to change something in the Wiimote settings. Can I simply download a compiled version and pull the libPlugin_Wiimote.so out there into my plugin folder?

Glad to see your success Smile

In theory you should be able to, as I've seen many people on Windows doing the same thing because of all the work on the Wiimote plugin lately. Depending on how old the plugin is that you'll use, there are some settings in the Wiimote config that may not work. I'm not sure which ones offhand, but I know ayuanx added at least one new option over the past few weeks. I don't believe setting those options will crash anything, they'll probably just be ignored. Let me know how it works, I may switch back to Ubuntu and give it another shot.

EDIT: It looks like the config for the Wiimote is in the plugin, not the main app, so you can disregard my comment about possible config issues.
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