Emuforums.com

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

WON'T YOU JOIN US?
You are not a registered member and
are viewing this site as a guest.
Registration is simple and FREE.
Join this CrowdGather community today.
Registration offers the following perks:

» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging

join

Reply
 
Thread Tools Display Modes
Old July 18th, 2008, 15:54   #21
Xtreme2damax
Mr. Technological
 
Xtreme2damax's Avatar
 
Join Date: Aug 2005
Location: Auburn, New York
Posts: 4,426
Thanks, I thought there might of been a way to get the required headers/libraries and compile it under VS Express.

By your reply it sounds like there's more to it than just that.
__________________
Xtreme2damax is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old July 19th, 2008, 02:38   #22
shuffle2
Registered User
 
Join Date: Dec 2006
Location: ß
Posts: 444
Quote:
Originally Posted by Xtreme2damax View Post
Is there any trick in order to get this to compile in Visual Studio Express? Can I obtain the normal Visual Studio headers/libraries and use them somehow with Visual Studio Express 2008 (C++/C#)?

Some of us don't have the money to purchase mega expensive Microsoft Products.
afiak, svn builds are for people interested in the actual _coding_. therefor, they already have/know what's required. so if you don't fall into that category, just lurk for binaries.
__________________
AMD X2 5200+(65Watt)@3.2GHz | GTX280 | 4GB RAM | Vista Ultimate x64
shuffle2 is offline   Reply With Quote
Old July 20th, 2008, 14:08   #23
Nivalis
Registered User
 
Join Date: Jul 2008
Location: UK
Posts: 42
ector, or anyone else on the dev team, would there be any logical explanation why a successful build on VS2005 would run slower than it would with VS2008?, myself and Daco have been providing binaries from the SVN builds for the past few days and it's been reported many times that daco's release, why the menu messes up, are indeed a little bit faster?
to my knowledge we're using the exact same directX SDK, and compiling the exact same SVN builds, so why there is a speed difference i could only imagine being something to do with the compiler..

But that in itself makes no sense at all..

Side note : svn r31 isn't compilable, GPUDirect3D9.cpp and Gpuopengl.cpp are missing
Nivalis is offline   Reply With Quote
Old July 20th, 2008, 15:15   #24
ector
Emu author
 
Join Date: May 2003
Posts: 422
I don't know, maybe VS2008 really is better than VS2005? :-)

We are thinking of switching. It won't happen really soon though, we're probably talking months for various reasons.

And yes, the svn has been fixed now.

(btw, you do know that with tortoisesvn, you can easily grab any past version).
ector is offline   Reply With Quote
Old July 20th, 2008, 15:34   #25
Nivalis
Registered User
 
Join Date: Jul 2008
Location: UK
Posts: 42
Quote:
Originally Posted by ector View Post
(btw, you do know that with tortoisesvn, you can easily grab any past version).
Yup, but posting binaries for frequent builds already seems moot enough without posting previous builds

If possible, i'd like to request a few changes to be made in future versions?, just to save myself or daco doing them, just three.

1) correction of 'instable!' to 'Unstable!' in frame.cpp, line 229
2) inclusion of revision number on main window, main.cpp line 90 (i simply change _T("Dolphin"), to _T("Dolphin R33"), - purely for the sake of error reporting to make sure people are reporting about the correct builds.
3) inclusion of the icon in the installer dir, on the executable itself

Not that i want to offend you with requesting these changes, just some things i'd rather were already done! (yes yes i realize 1 is more grammar nazi than erro xD)
Nivalis is offline   Reply With Quote
Old July 20th, 2008, 15:42   #26
daco
so i herd you like emu's?
 
daco's Avatar
 
Join Date: Oct 2007
Location: a country called Belgium
Posts: 731
Quote:
Originally Posted by Nivalis View Post
2) inclusion of revision number on main window, main.cpp line 90 (i simply change _T("Dolphin"), to _T("Dolphin R33"), - purely for the sake of error reporting to make sure people are reporting about the correct builds.
ive never been any good of a coder but wouldn't it be better to have

char Revnumber = "rev33"
_T("Dolphin %s",Revnumber);
unless you can't use var's there...
__________________


my DolphinWx rev Builds:
http://www.nyleveia.com/daco/
Njoy with rumble disabled:
32bit clickme and 64bit clickme
daco is offline   Reply With Quote
Old July 20th, 2008, 15:46   #27
ector
Emu author
 
Join Date: May 2003
Posts: 422
Nah, we need an automated solution. Nobody's going to remember to update that thing... I'm looking into it.
ector is offline   Reply With Quote
Old July 20th, 2008, 15:48   #28
daco
so i herd you like emu's?
 
daco's Avatar
 
Join Date: Oct 2007
Location: a country called Belgium
Posts: 731
Quote:
Originally Posted by ector View Post
Nah, we need an automated solution. Nobody's going to remember to update that thing... I'm looking into it.
thats the downside ye
the only thing i can think of for an automated way is checking online lol.
__________________


my DolphinWx rev Builds:
http://www.nyleveia.com/daco/
Njoy with rumble disabled:
32bit clickme and 64bit clickme
daco is offline   Reply With Quote
Old July 20th, 2008, 16:46   #29
woutf
Registered User
 
Join Date: Dec 2006
Location: netherlands
Posts: 13
Both video plugins aren't compiling on r36 (VS2008), are more people experiencing this? It seems that it can't link the files in the VideoCommon directory. It's also missing svnrev.h on the main Dolphin project
__________________
Q6600@3Ghz
2GB DDR2-800
Geforce 8800GT
woutf is offline   Reply With Quote
Old July 20th, 2008, 16:51   #30
ector
Emu author
 
Join Date: May 2003
Posts: 422
Rebuild the Common project to generate SVN version number file (svnrev.h)
ector is offline   Reply With Quote
Old July 20th, 2008, 17:06   #31
woutf
Registered User
 
Join Date: Dec 2006
Location: netherlands
Posts: 13
Tried that, doesn't seem to make a difference.
Code:
Error	26	fatal error C1083: Cannot open include file: 'svnrev.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videodx9\src\main.cpp	7	Plugin_VideoDX9
Error	27	fatal error C1083: Cannot open include file: 'LookUpTables.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videodx9\src\utils.h	6	Plugin_VideoDX9
Error	29	fatal error C1083: Cannot open include file: 'BPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videoogl\src\BPStructs.h	21	Plugin_VideoOGL
Error	30	fatal error C1083: Cannot open include file: 'BPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videoogl\src\BPStructs.h	21	Plugin_VideoOGL
Error	31	fatal error C1083: Cannot open include file: 'BPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videoogl\src\BPStructs.h	21	Plugin_VideoOGL
Error	32	fatal error C1083: Cannot open include file: 'svnrev.h': No such file or directory	c:\Users\Wout\Desktop\dolphin source\dolphin-emu\Source\Plugins\Plugin_VideoOGL\Src\GLInit.cpp	19	Plugin_VideoOGL
Error	33	fatal error C1083: Cannot open include file: 'BPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videoogl\src\BPStructs.h	21	Plugin_VideoOGL
Error	34	fatal error C1083: Cannot open source file: '.\Src\TextureDecoder.cpp': No such file or directory	c1xx	Plugin_VideoOGL
Error	35	fatal error C1083: Cannot open include file: 'XFMemory.h': No such file or directory	c:\Users\Wout\Desktop\dolphin source\dolphin-emu\Source\Plugins\Plugin_VideoOGL\Src\PixelShader.cpp	25	Plugin_VideoOGL
Error	36	fatal error C1083: Cannot open include file: 'CPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videoogl\src\VertexLoader.h	29	Plugin_VideoOGL
Error	37	fatal error C1083: Cannot open include file: 'BPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videoogl\src\BPStructs.h	21	Plugin_VideoOGL
Error	38	fatal error C1083: Cannot open include file: 'CPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videoogl\src\VertexLoader.h	29	Plugin_VideoOGL
Error	39	fatal error C1083: Cannot open include file: 'CPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videoogl\src\VertexLoader.h	29	Plugin_VideoOGL
Error	40	fatal error C1083: Cannot open include file: 'BPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videodx9\src\bpstructs.h	6	Plugin_VideoDX9
Error	41	fatal error C1083: Cannot open include file: 'CPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videodx9\src\cpstructs.h	5	Plugin_VideoDX9
Error	42	fatal error C1083: Cannot open source file: '.\Src\TextureDecoder.cpp': No such file or directory	c1xx	Plugin_VideoDX9
Error	43	fatal error C1083: Cannot open include file: 'TextureDecoder.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videodx9\src\texturecache.cpp	10	Plugin_VideoDX9
Error	44	fatal error C1083: Cannot open include file: 'LookUpTables.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videodx9\src\utils.h	6	Plugin_VideoDX9
Error	46	fatal error C1083: Cannot open include file: 'CPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videodx9\src\cpstructs.h	5	Plugin_VideoDX9
Error	47	fatal error C1083: Cannot open include file: 'BPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videodx9\src\bpstructs.h	6	Plugin_VideoDX9
Error	48	fatal error C1083: Cannot open include file: 'XFMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videodx9\src\xfstructs.h	6	Plugin_VideoDX9
Error	49	fatal error C1083: Cannot open include file: 'LookUpTables.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videodx9\src\utils.h	6	Plugin_VideoDX9
Error	50	fatal error C1083: Cannot open include file: 'CPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videodx9\src\cpstructs.h	5	Plugin_VideoDX9
Error	51	fatal error C1083: Cannot open include file: 'CPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videodx9\src\cpstructs.h	5	Plugin_VideoDX9
Error	52	fatal error C1083: Cannot open include file: 'CPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videodx9\src\cpstructs.h	5	Plugin_VideoDX9
Error	53	fatal error C1083: Cannot open include file: 'LookUpTables.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videodx9\src\utils.h	6	Plugin_VideoDX9
Error	54	fatal error C1083: Cannot open include file: 'CPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videodx9\src\cpstructs.h	5	Plugin_VideoDX9
Error	55	fatal error C1083: Cannot open include file: 'BPMemory.h': No such file or directory	c:\users\wout\desktop\dolphin source\dolphin-emu\source\plugins\plugin_videodx9\src\bpstructs.h	6	Plugin_VideoDX9
Error	69	fatal error C1083: Cannot open include file: 'svnrev.h': No such file or directory	c:\Users\Wout\Desktop\dolphin source\dolphin-emu\Source\Core\DolphinWX\src\main.cpp	21	DolphinWX
The files needed for the GFX plugins are all there in the VideoCommon dir. The svnrev.h file is nowhere to be found though, even after rebuilding the Common project.
__________________
Q6600@3Ghz
2GB DDR2-800
Geforce 8800GT
woutf is offline   Reply With Quote
Old July 20th, 2008, 17:08   #32
ector
Emu author
 
Join Date: May 2003
Posts: 422
Do an SVN update, and don't use the VS2008 project files, they are not up to date right now.
ector is offline   Reply With Quote
Old July 20th, 2008, 17:09   #33
Nivalis
Registered User
 
Join Date: Jul 2008
Location: UK
Posts: 42
Quote:
Originally Posted by woutf View Post
The files needed for the GFX plugins are all there in the VideoCommon dir. The svnrev.h file is nowhere to be found though, even after rebuilding the Common project.
it ends up in \Source\Core\Common\Src
Nivalis is offline   Reply With Quote
Old July 20th, 2008, 17:26   #34
woutf
Registered User
 
Join Date: Dec 2006
Location: netherlands
Posts: 13
Quote:
Originally Posted by ector View Post
Do an SVN update, and don't use the VS2008 project files, they are not up to date right now.
Ok, that explains it. I'll just wait then, seeing I don't own VS2005 and converting the 2005 project doesn't work either. Thanks for the info!
__________________
Q6600@3Ghz
2GB DDR2-800
Geforce 8800GT
woutf is offline   Reply With Quote
Old July 20th, 2008, 17:29   #35
daco
so i herd you like emu's?
 
daco's Avatar
 
Join Date: Oct 2007
Location: a country called Belgium
Posts: 731
Code:
Error	1	error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."	Common
happens on both VS2005 & VS2008...
i did some research, its from doing the SubWCRev.exe line

Code:
------ Build started: Project: Common, Configuration: Release Win32 ------
Performing Pre-Build Event...
'c:\Documents' is not recognized as an internal or external command,
operable program or batch file.
Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."
now the question remains, is that from trying to run SubWCRev.exe or is that from the other directories...


it works now:
im now using
"$(ProjectDir)SubWCRev.exe" "$(SolutionDir)\." "$(ProjectDir)src\svnrev_template.h" "$(ProjectDir)src\svnrev.h"
instead of
$(ProjectDir)SubWCRev.exe $(SolutionDir) $(ProjectDir)\src\svnrev_template.h $(ProjectDir)\src\svnrev.h
__________________


my DolphinWx rev Builds:
http://www.nyleveia.com/daco/
Njoy with rumble disabled:
32bit clickme and 64bit clickme

Last edited by daco; July 20th, 2008 at 19:47..
daco is offline   Reply With Quote
Old July 20th, 2008, 22:51   #36
Master_T
Registered User
 
Join Date: Jun 2007
Location: Brecan City
Posts: 55
I have problems with compiling too... it worked on previous revs, but with the latest one, 2 plugin just fail with errors like this:

Code:
1>------ Build started: Project: Plugin_VideoOGL, Configuration: Release Win32 ------
1>Compiling...
1>GLInit.cpp
1>.\Src\GLInit.cpp(18) : error C2471: cannot update program database 'd:\dolphin\svn\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
1>d:\dolphin\svn\source\plugins\plugin_videoogl\src\windows\stdafx.h(20) : warning C4005: '_WIN32_WINNT' : macro redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\sdkddkver.h(151) : see previous definition of '_WIN32_WINNT'
1>.\Src\GLInit.cpp(450) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>VertexShaderManager.cpp
1>.\Src\VertexShaderManager.cpp(20) : error C2471: cannot update program database 'd:\dolphin\svn\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
1>.\Src\VertexShaderManager.cpp(788) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>VertexShader.cpp
1>.\Src\VertexShader.cpp(18) : error C2471: cannot update program database 'd:\dolphin\svn\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
1>.\Src\VertexShader.cpp(464) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>PixelShaderManager.cpp
1>.\Src\PixelShaderManager.cpp(18) : error C2471: cannot update program database 'd:\dolphin\svn\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
1>.\Src\PixelShaderManager.cpp(580) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>PixelShader.cpp
1>.\Src\PixelShader.cpp(18) : error C2471: cannot update program database 'd:\dolphin\svn\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
1>.\Src\PixelShader.cpp(819) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>VertexLoader_Normal.cpp
1>.\Src\VertexLoader_Normal.cpp(21) : error C2471: cannot update program database 'd:\dolphin\svn\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
1>.\Src\VertexLoader_Normal.cpp(420) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>VertexLoader.cpp
1>.\Src\VertexLoader.cpp(18) : error C2471: cannot update program database 'd:\dolphin\svn\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
1>.\Src\VertexLoader.cpp(1158) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>OpcodeDecoding.cpp
1>.\Src\OpcodeDecoding.cpp(27) : error C2471: cannot update program database 'd:\dolphin\svn\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
1>.\Src\OpcodeDecoding.cpp(287) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>BPStructs.cpp
1>.\Src\BPStructs.cpp(18) : error C2471: cannot update program database 'd:\dolphin\svn\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
1>.\Src\BPStructs.cpp(723) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>Build log was saved at "file://d:\Dolphin\SVN\Source\Plugins\Plugin_VideoOGL\Win32\Release\BuildLog.htm"
1>Plugin_VideoOGL - 18 error(s), 1 warning(s)
2>------ Build started: Project: DolphinWX, Configuration: Release Win32 ------
2>Linking...
2>LINK : fatal error LNK1181: cannot open input file '..\..\..\binary\win32\plugins\plugin_videoogl.lib'
2>Build log was saved at "file://d:\Dolphin\SVN\Source\Core\DolphinWX\Win32\Release\BuildLog.htm"
2>DolphinWX - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 2 failed, 14 up-to-date, 0 skipped ==========
Master_T is offline   Reply With Quote
Old July 20th, 2008, 22:57   #37
ector
Emu author
 
Join Date: May 2003
Posts: 422
Weird. I would try:

* Load the 2005 projects
* Build->Rebuild All
ector is offline   Reply With Quote
Old July 20th, 2008, 23:04   #38
shuffle2
Registered User
 
Join Date: Dec 2006
Location: ß
Posts: 444
yeah if there is ever a problem for me, i delete all the .vcproj files, get latest from svn, then convert dolphin.sln to vs2008 (which also converts all the projects in the solution). Then do rebuild all.
__________________
AMD X2 5200+(65Watt)@3.2GHz | GTX280 | 4GB RAM | Vista Ultimate x64
shuffle2 is offline   Reply With Quote
Old July 21st, 2008, 07:37   #39
Chaos_Blader
Registered User
 
Chaos_Blader's Avatar
 
Join Date: Jul 2008
Location: Boston
Posts: 296
I simply cannot build with the x64 settings. When I try to open project properties it says Unspecified Error, and when I try to build the projects are just skipped.

It seems only my solution settings are x64, but none of my projects can go x64

(MSVC++ 2008)

Got it working, forgot to install x64 compliers in the set up.
(http://msdn.microsoft.com/en-us/libr...9s(VS.80).aspx)

Quote:
14>Linking...
14>debuggerwx.lib(CodeWindow.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
14>debuggerwx.lib(CodeWindow.obj) : error LNK2001: unresolved external symbol "public: void __cdecl CBreakPointWindow::NotifyUpdate(void)" (?NotifyUpdate@CBreakPointWindow@@QEAAXXZ)
14>debuggerwx.lib(CodeWindow.obj) : error LNK2001: unresolved external symbol "public: __cdecl CBreakPointWindow::CBreakPointWindow(class CCodeWindow *,class wxWindow *,int,class wxString const &,class wxPoint const &,class wxSize const &,long)" (??0CBreakPointWindow@@QEAA@PEAVCCodeWindow@@PEAVw xWindow@@HAEBVwxString@@AEBVwxPoint@@AEBVwxSize@@J @Z)
14>../../../Binary/x64/DolphinWx.exe : fatal error LNK1120: 2 unresolved externals
Possibly missing a library/code, have no idea where.

Found them:
E:\C++\Dolphin\Source\Core\DebuggerWX\src\Breakpoi ntView.h
E:\C++\Dolphin\Source\Core\DebuggerWX\src\Breakpoi ntView.cpp
E:\C++\Dolphin\Source\Core\DebuggerWX\src\Breakpoi ntWindow.h
E:\C++\Dolphin\Source\Core\DebuggerWX\src\Breakpoi ntWindow.cpp

OpenGL MSVC++ 2008 is also mission some files, skipping that build for now...

Got my first successful build, revision 38

If anyone knows how the X360 controls are mapped (pluginspecs_pad.h line 27 maybe), could they fill me in on how Button # becomes hex? 0x0400 = Button 0? How does that work? I plan to update the plugin so that the controls can be customizable.

Last edited by Chaos_Blader; July 21st, 2008 at 09:10..
Chaos_Blader is offline   Reply With Quote
Old July 21st, 2008, 18:31   #40
Master_T
Registered User
 
Join Date: Jun 2007
Location: Brecan City
Posts: 55
Quote:
Originally Posted by ector View Post
Weird. I would try:

* Load the 2005 projects
* Build->Rebuild All
Seems to work now

Great job!
Master_T is offline   Reply With Quote
Reply

Tags
compiling, dolphin, gamecube, svn discussion, wii

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

Forum Jump

All times are GMT +1. The time now is 01:22.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.