• 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 ... 111 112 113 114 115

Problem when trying to compile nJoy plugin
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Problem when trying to compile nJoy plugin
05-09-2009, 01:39 AM (This post was last modified: 05-09-2009, 01:43 AM by enb141.)
#1
enb141 Offline
Member
***
Posts: 55
Threads: 5
Joined: May 2009
Hi guys I'm trying to compile the nJoy plugin, I just got all files in http://dolphin-emu.googlecode.com/svn/trunk/ (3173) but when I try to compile nJoy_SDL it gives me this error
[color=#FF0000]
Error 5 fatal error C1083: Cannot open include file: 'dinput.h': No such file or directory d:\tests\dolphin\3173\source\plugins\plugin_njoy_sdl\src\njoy.h 68 Plugin_nJoy_SDL[/color]

I'm using Visual Studio 2008 Windows XP SP3

and when I try to compile nJoy_SDL_Test in x64 it gives me this error:
[color=#FF0000]
Error 12 fatal error LNK1104: cannot open file '..\..\core\common\x64\debug\common.lib' Plugin_nJoy_SDL_Test Plugin_nJoy_SDL_Test
[/color]
plus 11 warnings like this:
[color=#FFA500]
Warning 1 warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. d:\Tests\Dolphin\3173\Source\Plugins\Plugin_nJoy_Testing\Src\nJoy.cpp 154 Plugin_nJoy_SDL_Test[/color]
Find
Reply
05-09-2009, 01:40 AM
#2
LuisR14
Unregistered
 
install the DirectX SDK
Reply
05-09-2009, 02:53 AM
#3
enb141 Offline
Member
***
Posts: 55
Threads: 5
Joined: May 2009
I already installed DirectX SDK
Find
Reply
05-09-2009, 03:14 AM
#4
LuisR14
Unregistered
 
make sure in "Tools->Options->VC++ Projects->VC++ Directories" you have "$(DxSdk_Dir)\include" set for include paths, "$(DxSdk_Dir)\lib\[x86|x64]" set for library paths, and "$(DxSdk_Dir)\bin\[x86|x64]" set for bin paths Smile
Reply
05-09-2009, 05:30 AM (This post was last modified: 05-09-2009, 05:39 AM by enb141.)
#5
enb141 Offline
Member
***
Posts: 55
Threads: 5
Joined: May 2009
Thanks for your help.

Where can I have to add this?
[color=#0000CD]
"$(DxSdk_Dir)\bin\[x86|x64]" set for bin paths?

[/color]


Attached Files Thumbnail(s)
       
Find
Reply
05-09-2009, 05:36 AM
#6
LuisR14
Unregistered
 
in "executable files" Smile
Reply
05-09-2009, 05:42 AM (This post was last modified: 05-09-2009, 05:43 AM by enb141.)
#7
enb141 Offline
Member
***
Posts: 55
Threads: 5
Joined: May 2009
Ok but I don't have C:\Program Files\Microsoft DirectX SDK (March 2009)[color=#FF0000]\Bin[/color] just look at the tree in the attachment and tell me where is it please.
Find
Reply
05-09-2009, 05:51 AM
#8
nosound97 Offline
Cheetahmen on the N64 D:
*******
Posts: 3,552
Threads: 107
Joined: Mar 2009
Go to System/Bin
[Image: 1147431.png]
YouTube channel | Xfire
Find
Reply
05-09-2009, 05:55 AM (This post was last modified: 05-09-2009, 05:55 AM by enb141.)
#9
enb141 Offline
Member
***
Posts: 55
Threads: 5
Joined: May 2009
I only have C:\Program Files\Microsoft DirectX SDK (March 2009)\system[color=#FF0000]\uninstall[/color]
Find
Reply
05-09-2009, 08:21 AM
#10
LuisR14
Unregistered
 
oh it's "$(DxSdk_Dir)\Developer Runtime\[x86|x64]" Tongue
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • 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