Emuforums.com

Go Back   Emuforums.com > Gamecube Emulation > Dolphin Discussion
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
Old January 23rd, 2009   #1 (permalink)
Registered SuperKyo
 
nosound.97's Avatar
 
Join Date: Dec 2008
Location: Brinstar
Posts: 2,784
Something went wrong...

Can't compile Dolphin! What's wrong? It was compiling good now it has errors compiling .h files. ??????
__________________
nosound.97 is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old January 23rd, 2009   #2 (permalink)
aka BhaaL
 
Jack Frost's Avatar
 
Join Date: Dec 2008
Location: Austria
Posts: 166
.h Files are not compiled.
Let me check the latest Rev, maybe I can tell you more about it.
Jack Frost is offline   Reply With Quote
Old January 23rd, 2009   #3 (permalink)
Behind ur girlfriend :D
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 18,918
h(header) files can be compiled depending on their content,
__________________


VBA-M | Xtemu | NGOHQ | Post Impact Productions | TNHW | XBCD 0.2.6 | Satanic666's Emulator Compiles
Don't be a NOOB, READ THE NGEmu/EmuForums Rules of Conduct
Need Help with ePSXe? This is your first stop!.

If you don't post all the required information, you don't get help.
Everytime someone posts a romsite, God kills a beautiful woman.
Squall-Leonhart is offline   Reply With Quote
Old January 23rd, 2009   #4 (permalink)
aka BhaaL
 
Jack Frost's Avatar
 
Join Date: Dec 2008
Location: Austria
Posts: 166
I suppose you refer to template classes and methods. Well, they are sort-of compiled, but in general, .h files usually only contain (forward) declarations.

Seems one of the later Revs introduced SDL as requirement for InputCommon.
This means you need SDL installed in order to compile it.
Jack Frost is offline   Reply With Quote
Old January 23rd, 2009   #5 (permalink)
Registered SuperKyo
 
nosound.97's Avatar
 
Join Date: Dec 2008
Location: Brinstar
Posts: 2,784
I looked at the Google code page of Dolphin-team and saw this:

Code:
r1989 changed the project files. building in windows is still broken (trowing sdl.h not found in
inputmanager.h when building core?!) committed by daco65
I didn't try later revisions cause I'm not at home (at my grandmother's)
__________________
nosound.97 is offline   Reply With Quote
Old January 23rd, 2009   #6 (permalink)
aka BhaaL
 
Jack Frost's Avatar
 
Join Date: Dec 2008
Location: Austria
Posts: 166
Revision: 1988
Author: nakeee
Date: 02:29:52, Freitag, 23. Jänner 2009
Message:
moved the inputmanager to inputcommon
to avoid sdl dep in core
----
Deleted : /trunk/Source/Core/Core/Src/InputManager.cpp
Deleted : /trunk/Source/Core/Core/Src/InputManager.h
Modified : /trunk/Source/Core/Core/Src/SConscript
Added : /trunk/Source/Core/InputCommon/Src/InputManager.cpp(Copy from path: /trunk/Source/Core/Core/Src/InputManager.cpp, Revision, 1987
Added : /trunk/Source/Core/InputCommon/Src/InputManager.h(Copy from path: /trunk/Source/Core/Core/Src/InputManager.h, Revision, 1987
Modified : /trunk/Source/Core/InputCommon/Src/SConscript


Rev 1983 might work, since it didn't have InputManager.h. However, I'm wondering how it got in, didn't Input devices work before aswell? Why the sudden switch to SDL?
Jack Frost is offline   Reply With Quote
Old January 23rd, 2009   #7 (permalink)
Behind ur girlfriend :D
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 18,918
Quote:
Originally Posted by Jack Frost View Post
I suppose you refer to template classes and methods. Well, they are sort-of compiled, but in general, .h files usually only contain (forward) declarations.

Seems one of the later Revs introduced SDL as requirement for InputCommon.
This means you need SDL installed in order to compile it.
iiirm, some emulators code filters into the .h files instead of putting them inside the c or cpp files.
__________________


VBA-M | Xtemu | NGOHQ | Post Impact Productions | TNHW | XBCD 0.2.6 | Satanic666's Emulator Compiles
Don't be a NOOB, READ THE NGEmu/EmuForums Rules of Conduct
Need Help with ePSXe? This is your first stop!.

If you don't post all the required information, you don't get help.
Everytime someone posts a romsite, God kills a beautiful woman.
Squall-Leonhart is offline   Reply With Quote
Old January 23rd, 2009   #8 (permalink)
aka BhaaL
 
Jack Frost's Avatar
 
Join Date: Dec 2008
Location: Austria
Posts: 166
Not saying its not possible, but its unusual for code to be in there.
At least I'd stick to proper separation unless it serves a purpose.
Jack Frost is offline   Reply With Quote
Old January 23rd, 2009   #9 (permalink)
Banned
 
Join Date: Jan 2009
Location: spain
Posts: 221
1.-for compile a simple dll of dolphin project how is the procedure in visual 2005?i have runtime 2008, sdk2008, and m platafform..but i need to now every step ...i have added in my directories but doesn´t recognize the libs or headers..cpp,
2.- is just in time debug a bother?i think that it crash my dolphin sometimes
saintseiya is offline   Reply With Quote
Old January 23rd, 2009   #10 (permalink)
aka BhaaL
 
Jack Frost's Avatar
 
Join Date: Dec 2008
Location: Austria
Posts: 166
1. Right-click the project (you do have the solution loaded?) and select "Build Project". If it doesnt find certain libs/includes, you may want to check Tools > Options, Projects and Solitions > C++ Directories. Add lib-Folders to Library files and include-Folders to Include files.
2. When an application crashes, the Just-in-time debugger is started. It doesnt crash Dolphin, Dolphin crashes and Windows calls the JIT-Debugger for help (you might want to debug the cause, if you're a developer).

By the way, Dolphin compiles fine with SDL-Devel installed. On first sight, it runs fine, but I didn't test any games yet.

Last edited by Jack Frost; January 23rd, 2009 at 18:53.. Reason: Tested Dolphin with SDL-Devel installed, works.
Jack Frost is offline   Reply With Quote
Old January 23rd, 2009   #11 (permalink)
T-5000 Modenator
 
Xtreme2damax's Avatar
 
Join Date: Aug 2005
Location: Here, there, everywhere, even in your couch cushions..
Posts: 3,139
I am getting this on revision 1996:

Code:
Error    51    fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory    d:\My Documents\Emulator SVN\Dolphin\Source\Core\InputCommon\Src\InputManager.h    6
__________________

| Xtemulation Forums | Dolphin SVN Builds |
| XTemulation Wiki | PCSX2 SVN Builds |

Download the free Xtemulation Toolbar
If you like Xtemulation, please Digg Us
Xtreme2damax is online now   Reply With Quote
Old January 23rd, 2009   #12 (permalink)
Registered SuperKyo
 
nosound.97's Avatar
 
Join Date: Dec 2008
Location: Brinstar
Posts: 2,784
Quote:
Originally Posted by Xtreme2damax View Post
I am getting this on revision 1996:

Code:
Error    51    fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory    d:\My Documents\Emulator SVN\Dolphin\Source\Core\InputCommon\Src\InputManager.h    6
And you get only plugins am I right?
__________________
nosound.97 is offline   Reply With Quote
Old January 23rd, 2009   #13 (permalink)
aka BhaaL
 
Jack Frost's Avatar
 
Join Date: Dec 2008
Location: Austria
Posts: 166
Quote:
Originally Posted by Xtreme2damax View Post
I am getting this on revision 1996:

Code:
Error    51    fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory    d:\My Documents\Emulator SVN\Dolphin\Source\Core\InputCommon\Src\InputManager.h    6
You need SDL-Devel installed, and referenced in your IDE.
Simple DirectMedia Layer
Jack Frost is offline   Reply With Quote
Old January 23rd, 2009   #14 (permalink)
Behind ur girlfriend :D
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 18,918
download the SDL SDK you tool :P

*directed at Xtreme*
__________________


VBA-M | Xtemu | NGOHQ | Post Impact Productions | TNHW | XBCD 0.2.6 | Satanic666's Emulator Compiles
Don't be a NOOB, READ THE NGEmu/EmuForums Rules of Conduct
Need Help with ePSXe? This is your first stop!.

If you don't post all the required information, you don't get help.
Everytime someone posts a romsite, God kills a beautiful woman.
Squall-Leonhart is offline   Reply With Quote
Old January 23rd, 2009   #15 (permalink)
T-5000 Modenator
 
Xtreme2damax's Avatar
 
Join Date: Aug 2005
Location: Here, there, everywhere, even in your couch cushions..
Posts: 3,139
Lol, never needed it before so I didn't know..
__________________

| Xtemulation Forums | Dolphin SVN Builds |
| XTemulation Wiki | PCSX2 SVN Builds |

Download the free Xtemulation Toolbar
If you like Xtemulation, please Digg Us
Xtreme2damax is online now   Reply With Quote
Old January 25th, 2009   #16 (permalink)
Registered SuperKyo
 
nosound.97's Avatar
 
Join Date: Dec 2008
Location: Brinstar
Posts: 2,784
Dolphin seems to compile successfully now. I uploaded r2007 to my Windows Live page (see signature)
__________________
nosound.97 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 22:29.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5