Emuforums.com

Go Back   Emuforums.com > Gamecube Emulation > Dolphin Discussion
About Us Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old July 22nd, 2008   #41 (permalink)
Registered User
 
Join Date: Jul 2008
Location: UK
Posts: 42
Just a heads up on VS2005 compile of latest R55 svn
Code:
13>.\Src\main.cpp(223) : error C2065: 'SDL_INIT_JOYSTICK' : undeclared identifier
13>.\Src\main.cpp(223) : error C3861: 'SDL_Init': identifier not found
13>.\Src\main.cpp(225) : error C3861: 'SDL_GetError': identifier not found
13>.\Src\main.cpp(228) : error C3861: 'SDL_NumJoysticks': identifier not found
13>.\Src\main.cpp(229) : error C3861: 'SDL_JoystickName': identifier not found
13>.\Src\main.cpp(231) : error C2065: 'joy' : undeclared identifier
13>.\Src\main.cpp(231) : error C3861: 'SDL_JoystickOpen': identifier not found
13>.\Src\main.cpp(236) : error C3861: 'SDL_JoystickName': identifier not found
13>.\Src\main.cpp(237) : error C3861: 'SDL_JoystickNumAxes': identifier not found
13>.\Src\main.cpp(238) : error C3861: 'SDL_JoystickNumButtons': identifier not found
13>.\Src\main.cpp(239) : error C3861: 'SDL_JoystickNumBalls': identifier not found
13>.\Src\main.cpp(240) : error C2065: 'numaxes' : undeclared identifier
13>.\Src\main.cpp(240) : error C3861: 'SDL_JoystickNumAxes': identifier not found
13>.\Src\main.cpp(241) : error C2065: 'numbuttons' : undeclared identifier
13>.\Src\main.cpp(241) : error C3861: 'SDL_JoystickNumButtons': identifier not found
13>.\Src\main.cpp(242) : error C2065: 'numballs' : undeclared identifier
13>.\Src\main.cpp(242) : error C3861: 'SDL_JoystickNumBalls': identifier not found
Code:
Error	401	fatal error LNK1181: cannot open input file '..\..\..\binary\x64\plugins\plugin_padsimple.lib'	DolphinWX
Second error i believe is due to the SDL errors in the Plugin_PadSimple build
right now it's not possible to fully compile the entire project without excluding those two plugins from the release.

Edit NOT Fixed by adding SDL libs/includes
__________________
Latest Dolphin SVN binaries

Last edited by Nivalis; July 22nd, 2008 at 13:34.
Nivalis is offline   Reply With Quote
Old July 22nd, 2008   #42 (permalink)
so i herd you like emu's?
 
daco's Avatar
 
Join Date: Oct 2007
Location: a country called Belgium
Posts: 559
so it now compiles in linux but not in windows, great :P
__________________
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 22nd, 2008   #43 (permalink)
Plugin coder / Betatester
 
Falcon4ever's Avatar
 
Join Date: Jun 2003
Location: The Netherlands
Posts: 319
yea, will fix it later tonight. Just add a bunch of ifdefs to exclude sdl
OR add SDL.h and sdl.lib to the project (for win32)
__________________
« Official betatester of Dolphin, PCSX2 & GSmax (nSX2, Ninphin & Glide64) »

Falcon4ever is offline   Reply With Quote
Old July 22nd, 2008   #44 (permalink)
so i herd you like emu's?
 
daco's Avatar
 
Join Date: Oct 2007
Location: a country called Belgium
Posts: 559
i fixed it (i think)
i didn't get any complaints of the compiled version so ye

i posted the .patch on google code.


EDIT: damn you dev team! why are you always faster then i am XD
__________________
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 30th, 2008   #45 (permalink)
Registered Ball Crusher
 
Xtreme2damax's Avatar
 
Join Date: Aug 2005
Location: In my bedroomz optimizing PCSX2 by kicking it in the nuts.
Posts: 2,009
I'm getting tons of errors trying to compile Dolphin. I have Visual Studio 2008 and the latest DirectX SDK (June 2008).

Here are the errors I get:

Code:
1>------ Build started: Project: Common, Configuration: Release Win32 ------
1>Performing Pre-Build Event...
1>'e:\My' is not recognized as an internal or external command,
1>operable program or batch file.
1>Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."
1>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Core\Common\Win32\Release\BuildLog.htm"
1>Common - 1 error(s), 0 warning(s)
2>------ Build started: Project: Plugin_VideoOGL, Configuration: Release Win32 ------
3>------ Build started: Project: Plugin_DSP_LLE, Configuration: Release Win32 ------
2>Compiling...
3>Linking...
2>GLInit.cpp
3>LINK : fatal error LNK1181: cannot open input file '..\..\core\common\win32\release\common.lib'
2>.\Src\GLInit.cpp(18) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\GLInit.cpp(21) : fatal error C1083: Cannot open include file: 'svnrev.h': No such file or directory
2>Fifo.cpp
2>.\Src\Fifo.cpp(18) : warning C4627: '#include <string.h>': skipped when looking for precompiled header use
2>        Add directive to 'Globals.h' or rebuild precompiled header
2>.\Src\Fifo.cpp(20) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\Fifo.cpp(170) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>VertexShaderManager.cpp
2>.\Src\VertexShaderManager.cpp(20) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\VertexShaderManager.cpp(788) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>VertexShader.cpp
2>.\Src\VertexShader.cpp(18) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\VertexShader.cpp(464) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>PixelShaderManager.cpp
2>.\Src\PixelShaderManager.cpp(18) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\PixelShaderManager.cpp(580) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>PixelShader.cpp
2>.\Src\PixelShader.cpp(18) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\PixelShader.cpp(819) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>VertexLoader_Normal.cpp
2>.\Src\VertexLoader_Normal.cpp(21) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\VertexLoader_Normal.cpp(420) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>VertexLoader.cpp
2>.\Src\VertexLoader.cpp(18) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\VertexLoader.cpp(1161) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>OpcodeDecoding.cpp
2>.\Src\OpcodeDecoding.cpp(27) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\OpcodeDecoding.cpp(287) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>DataReader.cpp
2>.\Src\DataReader.cpp(18) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\DataReader.cpp(97) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>BPStructs.cpp
2>.\Src\BPStructs.cpp(18) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\BPStructs.cpp(723) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Plugins\Plugin_VideoOGL\Win32\Release\BuildLog.htm"
2>Plugin_VideoOGL - 22 error(s), 1 warning(s)
3>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Plugins\Plugin_DSP_LLE\Win32\Release\BuildLog.htm"
3>Plugin_DSP_LLE - 1 error(s), 0 warning(s)
4>------ Build started: Project: Plugin_VideoDX9, Configuration: Release Win32 ------
4>Compiling...
4>main.cpp
5>------ Build started: Project: Plugin_PadSimple, Configuration: Release Win32 ------
5>Linking...
5>LINK : fatal error LNK1181: cannot open input file '..\..\core\common\win32\release\common.lib'
5>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Plugins\Plugin_PadSimple\Win32\Release\BuildLog.htm"
5>Plugin_PadSimple - 1 error(s), 0 warning(s)
6>------ Build started: Project: Plugin_DSP_NULL, Configuration: Release Win32 ------
6>Linking...
6>LINK : fatal error LNK1181: cannot open input file '..\..\core\common\win32\release\common.lib'
6>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Plugins\Plugin_DSP_NULL\Win32\Release\BuildLog.htm"
6>Plugin_DSP_NULL - 1 error(s), 0 warning(s)
7>------ Build started: Project: Plugin_nJoy_SDL, Configuration: Release Win32 ------
7>Linking...
4>.\Src\main.cpp(7) : fatal error C1083: Cannot open include file: 'svnrev.h': No such file or directory
7>LINK : fatal error LNK1181: cannot open input file '..\..\core\common\win32\release\common.lib'
4>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Plugins\Plugin_VideoDX9\Win32\Release\BuildLog.htm"
4>Plugin_VideoDX9 - 1 error(s), 0 warning(s)
7>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Plugins\Plugin_nJoy_SDL\Win32\Release\BuildLog.htm"
7>Plugin_nJoy_SDL - 1 error(s), 0 warning(s)
8>------ Build started: Project: DolphinWX, Configuration: Release Win32 ------
8>Performing Pre-Build Event...
8>'e:\My' is not recognized as an internal or external command,
8>operable program or batch file.
8>Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."
8>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Core\DolphinWX\Win32\Release\BuildLog.htm"
8>DolphinWX - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 8 failed, 9 up-to-date, 0 skipped ==========
I decided to post here rather than my other thread which I opened on accident because of forgetting about the compiling thread (This Thread).
Xtreme2damax is offline   Reply With Quote
Old July 30th, 2008   #46 (permalink)
so i herd you like emu's?
 
daco's Avatar
 
Join Date: Oct 2007
Location: a country called Belgium
Posts: 559
ye i tought it would be something like that
i got an easy fix for that. and imo it should be changed but i doubt anyone is planning to do that as some i know disagree with me

right click the common project on the right and click properties
go to build events ->pre-build events

change that command line to this
Code:
"$(ProjectDir)SubWCRev.exe" "$(SolutionDir)\." "$(ProjectDir)\src\svnrev_template.h" "$(ProjectDir)\src\svnrev.h"
click ok and do the same for DolphinWX but this time use this line
Code:
"$(ProjectDir)..\Common\SubWCRev.exe" "$(SolutionDir)\." "$(ProjectDir)..\Common\src\svnrev_template.h" "$(ProjectDir)..\Common\src\svnrev.h"
__________________
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 30th, 2008   #47 (permalink)
Registered Ball Crusher
 
Xtreme2damax's Avatar
 
Join Date: Aug 2005
Location: In my bedroomz optimizing PCSX2 by kicking it in the nuts.
Posts: 2,009
With quotes or without?

I added those lines without quotes and still got errors:

Code:
1>------ Build started: Project: Common, Configuration: Release Win32 ------
1>Performing Pre-Build Event...
1>'e:\My' is not recognized as an internal or external command,
1>operable program or batch file.
1>Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."
1>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Core\Common\Win32\Release\BuildLog.htm"
1>Common - 1 error(s), 0 warning(s)
2>------ Build started: Project: Plugin_VideoOGL, Configuration: Release Win32 ------
3>------ Build started: Project: Plugin_DSP_LLE, Configuration: Release Win32 ------
2>Compiling...
3>Linking...
2>GLInit.cpp
3>LINK : fatal error LNK1181: cannot open input file '..\..\core\common\win32\release\common.lib'
3>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Plugins\Plugin_DSP_LLE\Win32\Release\BuildLog.htm"
3>Plugin_DSP_LLE - 1 error(s), 0 warning(s)
4>------ Build started: Project: Plugin_VideoDX9, Configuration: Release Win32 ------
4>Compiling...
4>main.cpp
2>.\Src\GLInit.cpp(18) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
4>.\Src\main.cpp(7) : fatal error C1083: Cannot open include file: 'svnrev.h': No such file or directory
4>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Plugins\Plugin_VideoDX9\Win32\Release\BuildLog.htm"
4>Plugin_VideoDX9 - 1 error(s), 0 warning(s)
2>.\Src\GLInit.cpp(21) : fatal error C1083: Cannot open include file: 'svnrev.h': No such file or directory
2>Fifo.cpp
2>.\Src\Fifo.cpp(18) : warning C4627: '#include <string.h>': skipped when looking for precompiled header use
2>        Add directive to 'Globals.h' or rebuild precompiled header
5>------ Build started: Project: Plugin_PadSimple, Configuration: Release Win32 ------
2>.\Src\Fifo.cpp(20) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
5>Linking...
5>LINK : fatal error LNK1181: cannot open input file '..\..\core\common\win32\release\common.lib'
5>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Plugins\Plugin_PadSimple\Win32\Release\BuildLog.htm"
5>Plugin_PadSimple - 1 error(s), 0 warning(s)
2>.\Src\Fifo.cpp(170) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>VertexShaderManager.cpp
2>.\Src\VertexShaderManager.cpp(20) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
6>------ Build started: Project: Plugin_DSP_NULL, Configuration: Release Win32 ------
6>Linking...
6>LINK : fatal error LNK1181: cannot open input file '..\..\core\common\win32\release\common.lib'
6>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Plugins\Plugin_DSP_NULL\Win32\Release\BuildLog.htm"
6>Plugin_DSP_NULL - 1 error(s), 0 warning(s)
2>.\Src\VertexShaderManager.cpp(788) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>VertexShader.cpp
2>.\Src\VertexShader.cpp(18) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\VertexShader.cpp(464) : fatal error C1903: unable to recover from previous error(s); stopping compilation
7>------ Build started: Project: Plugin_nJoy_SDL, Configuration: Release Win32 ------
2>PixelShaderManager.cpp
2>.\Src\PixelShaderManager.cpp(18) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
7>Linking...
7>LINK : fatal error LNK1181: cannot open input file '..\..\core\common\win32\release\common.lib'
7>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Plugins\Plugin_nJoy_SDL\Win32\Release\BuildLog.htm"
7>Plugin_nJoy_SDL - 1 error(s), 0 warning(s)
2>.\Src\PixelShaderManager.cpp(580) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>PixelShader.cpp
2>.\Src\PixelShader.cpp(18) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\PixelShader.cpp(819) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>VertexLoader_Normal.cpp
2>.\Src\VertexLoader_Normal.cpp(21) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\VertexLoader_Normal.cpp(420) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>VertexLoader.cpp
2>.\Src\VertexLoader.cpp(18) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\VertexLoader.cpp(1161) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>OpcodeDecoding.cpp
2>.\Src\OpcodeDecoding.cpp(27) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\OpcodeDecoding.cpp(287) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>DataReader.cpp
2>.\Src\DataReader.cpp(18) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\DataReader.cpp(97) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>BPStructs.cpp
2>.\Src\BPStructs.cpp(18) : error C2471: cannot update program database 'e:\my documents\my archived programs\dolphin\source\plugins\plugin_videoogl\win32\release\vc90.pdb'
2>.\Src\BPStructs.cpp(723) : fatal error C1903: unable to recover from previous error(s); stopping compilation
2>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Plugins\Plugin_VideoOGL\Win32\Release\BuildLog.htm"
2>Plugin_VideoOGL - 22 error(s), 1 warning(s)
8>------ Build started: Project: DolphinWX, Configuration: Release Win32 ------
8>Performing Pre-Build Event...
8>'e:\My' is not recognized as an internal or external command,
8>operable program or batch file.
8>Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."
8>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Core\DolphinWX\Win32\Release\BuildLog.htm"
8>DolphinWX - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 8 failed, 9 up-to-date, 0 skipped ==========
Xtreme2damax is offline   Reply With Quote
Old July 30th, 2008   #48 (permalink)
so i herd you like emu's?
 
daco's Avatar
 
Join Date: Oct 2007
Location: a country called Belgium
Posts: 559
the quotes are the whole deal

cause like i said earlier in some topic
windows hates paths like C:\Documents and settings
it sees Documents as the command(that should be located on C:\) and "and" & "settings" as parameters to that command
adding the quotes makes it see it as a path instead.


and that is why i think that "fix" should be applied
__________________
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 30th, 2008   #49 (permalink)
Registered Ball Crusher
 
Xtreme2damax's Avatar
 
Join Date: Aug 2005
Location: In my bedroomz optimizing PCSX2 by kicking it in the nuts.
Posts: 2,009
I am getting some warnings here and there, but it appears to be compiling unlike before.
Xtreme2damax is offline   Reply With Quote
Old July 30th, 2008   #50 (permalink)
so i herd you like emu's?
 
daco's Avatar
 
Join Date: Oct 2007
Location: a country called Belgium
Posts: 559
warnings are "normal" ( +/- 53 warnings for 32bit build and +/- 320 warnings for 64bit iirc)
ignore those 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 30th, 2008   #51 (permalink)
Registered Ball Crusher
 
Xtreme2damax's Avatar
 
Join Date: Aug 2005
Location: In my bedroomz optimizing PCSX2 by kicking it in the nuts.
Posts: 2,009
I have to apply that command line when compiling both the x86 and 64-bit builds right or else I'll get errors?
Xtreme2damax is offline   Reply With Quote
Old July 30th, 2008   #52 (permalink)
so i herd you like emu's?
 
daco's Avatar
 
Join Date: Oct 2007
Location: a country called Belgium
Posts: 559
that is correct

EDIT: as soon as you choose 64bit it loads a diffrent config
so both 64 and 32 have their own config
so yes, you'll need to apply it to both
__________________
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 30th, 2008   #53 (permalink)
Registered Ball Crusher
 
Xtreme2damax's Avatar
 
Join Date: Aug 2005
Location: In my bedroomz optimizing PCSX2 by kicking it in the nuts.
Posts: 2,009
I did that and I had a problem with compiling the 64-bit build. The x86 build compiled fine.

Here are the errors I get when trying to compile the 64-bit build:

Code:
15>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Plugins\Plugin_PadDX9\x64\Release\BuildLog.htm"
15>Plugin_PadDX9 - 0 error(s), 1 warning(s)
16>SubWCRev: 'E:\My Documents\My Archived Programs\Dolphin\Source'
16>Last committed at revision 102
16>Updated to revision 102
16>Local modifications found
17>------ Rebuild All started: Project: Plugin_nJoy_SDL, Configuration: Release x64 ------
17>Deleting intermediate and output files for project 'Plugin_nJoy_SDL', configuration 'Release|x64'
16>Compiling...
16>main.cpp
17>Compiling...
17>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
17>config.cpp
17>ConfigBox.cpp
16>PluginManager.cpp
17>AboutBox.cpp
16>ISOFile.cpp
17>nJoy.cpp
16>FileSearch.cpp
16>Config.cpp
17>Compiling resources...
17>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
17>Copyright (C) Microsoft Corporation.  All rights reserved.
17>Linking...
17>LINK : fatal error LNK1181: cannot open input file '..\..\core\common\x64\release\common.lib'
17>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Plugins\Plugin_nJoy_SDL\x64\Release\BuildLog.htm"
17>Plugin_nJoy_SDL - 1 error(s), 1 warning(s)
16>BootManager.cpp
16>PluginOptions.cpp
16>Globals.cpp
16>GameListCtrl.cpp
16>.\src\GameListCtrl.cpp(186) : warning C4267: 'argument' : conversion from 'size_t' to 'long', possible loss of data
16>.\src\GameListCtrl.cpp(247) : warning C4267: 'argument' : conversion from 'size_t' to 'long', possible loss of data
16>.\src\GameListCtrl.cpp(279) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
16>.\src\GameListCtrl.cpp(293) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
16>Frame.cpp
16>Generating Code...
16>Compiling...
16>stdafx.cpp
16>Linking...
16>LINK : fatal error LNK1181: cannot open input file '..\common\x64\release\common.lib'
16>Build log was saved at "file://e:\My Documents\My Archived Programs\Dolphin\Source\Core\DolphinWX\x64\Release\BuildLog.htm"
16>DolphinWX - 1 error(s), 4 warning(s)
========== Rebuild All: 8 succeeded, 9 failed, 0 skipped ==========
Xtreme2damax is offline   Reply With Quote
Old July 30th, 2008   #54 (permalink)
so i herd you like emu's?
 
daco's Avatar
 
Join Date: Oct 2007
Location: a country called Belgium
Posts: 559
clean the build (build->clean solution) and try again
it looks like the common project didn't get compiled
__________________
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 30th, 2008   #55 (permalink)
Registered Ball Crusher
 
Xtreme2damax's Avatar
 
Join Date: Aug 2005
Location: In my bedroomz optimizing PCSX2 by kicking it in the nuts.
Posts: 2,009
Ok, I did as you suggested however I have a new problem now when trying to compile the x64 build, I had to attach it as a text file since it contains too many characters and the forum won't let me post it:
Attached Files
File Type: txt errors.txt (56.9 KB, 5 views)
Xtreme2damax is offline   Reply With Quote
Old July 30th, 2008   #56 (permalink)
so i herd you like emu's?
 
daco's Avatar
 
Join Date: Oct 2007
Location: a country called Belgium
Posts: 559
its trying to open SubWCRev when compiling core O_o
i dont have such an instruction here.
do the same you've done before but this time do it for core(right click core,properties. config properties->build events->pre build events)
and remove that line.
core doesn't need the pre build event...
only common & DolphinWX do
__________________
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 30th, 2008   #57 (permalink)
Registered Ball Crusher
 
Xtreme2damax's Avatar
 
Join Date: Aug 2005
Location: In my bedroomz optimizing PCSX2 by kicking it in the nuts.
Posts: 2,009
Success! Thanks daco for helping me solve this problem.

Btw, menu's are still slightly funky when compiling under Visual Studio 2008.

:Edit: This seems much slower than before, am I supposed to add optimizations before compiling? If so, how can I achieve this?

Last edited by Xtreme2damax; July 30th, 2008 at 13:33.
Xtreme2damax is offline   Reply With Quote
Old July 30th, 2008   #58 (permalink)
Registered User
 
Join Date: Jan 2006
Location: Romania
Posts: 84
Hi there! I have managed to succesfully compile it with VC2005 express. However there's a catch. If you try to install & use WTL and ATL in VC2005,
you come to a point where you can't compile and get a LINK error like:

Code:
error LNK(can't remeber number, I think 2505) : 'class ATL::CComModule _Module&(/*class identifier here*/)' already defined in (your subproject's obj where the int main() function resides).
Here's the catch:

1) In stdafx.h comment out (or remove all atl references),then exclude all the AboutDlg's and ConfigDlg's (inheriting from ATL) from your project.

2)Comment out all the instances of the AboutDlg's and ConfigDlg's from step 1.

3)Replace #include "afxres.h" with #include "windows.h"

4)Add "#define IDC_STATIC -1" to all the "resource.h" files.

5)Add the standard win32 libs (gdi32, ole32,user32,etc.) to the projects and remove the odbc libs.

6)Compile.

If you don't use the njoy pad plugin (only pad plugin without an ATL dialog), either edit the config manually (notepad) or use the config from the previous revision.

The GPU plugins have dialogs.

The DSP plugins dialogs are pretty useless (the DSP not being fully emulated and all that), but for the few games that have sound, use the same trick as with the pad plugins.(Unfortunately, this means NO dsp debbuger!!!)

Enjoy compiling for free!

Compile log posted as proof:
Code:
------ Build started: Project: Bochs_disasm, Configuration: Release Win32 ------
Compiling...
stdafx.cpp
Compiling...
dis_decode.cpp
syntax.cpp
resolve.cpp
PowerPCDisasm.cpp
dis_groups.cpp
.\dis_groups.cpp(553) : warning C4244: 'initializing' : conversion from 'bx_address' to 'Bit32u', possible loss of data
.\dis_groups.cpp(553) : warning C4244: '+=' : conversion from 'bx_address' to 'Bit32u', possible loss of data
.\dis_groups.cpp(562) : warning C4244: 'initializing' : conversion from 'bx_address' to 'Bit16u', possible loss of data
.\dis_groups.cpp(578) : warning C4244: 'initializing' : conversion from 'bx_address' to 'Bit16u', possible loss of data
.\dis_groups.cpp(604) : warning C4244: 'initializing' : conversion from 'bx_address' to 'Bit32u', possible loss of data
.\dis_groups.cpp(604) : warning C4244: '+=' : conversion from 'bx_address' to 'Bit32u', possible loss of data
Generating Code...
Creating library...
Build log was saved at "file://c:\dolphin-emu-read-only\Externals\Bochs_disasm\Win32\Release\BuildLog.htm"
Bochs_disasm - 0 error(s), 6 warning(s)
------ Build started: Project: DiscIO, Configuration: Release Win32 ------
Compiling...
stdafx.cpp
Compiling...
aes_cbc.c
aes_core.c
Generating Code...
Compiling...
FileHandlerARC.cpp
.\Src\FileHandlerARC.cpp(228) : warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.
        C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(215) : see declaration of 'stricmp'
BannerLoaderWii.cpp
BannerLoaderGC.cpp
BannerLoader.cpp
FileSystemGCWii.cpp
.\Src\FileSystemGCWii.cpp(167) : warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.
        C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(215) : see declaration of 'stricmp'
Filesystem.cpp
Blob.cpp
VolumeWiiCrypted.cpp
VolumeGC.cpp
VolumeCreator.cpp
Generating Code...
Creating library...
Build log was saved at "file://c:\dolphin-emu-read-only\Source\Core\DiscIO\Win32\Release\BuildLog.htm"
DiscIO - 0 error(s), 2 warning(s)
------ Build started: Project: Common, Configuration: Release Win32 ------
Performing Pre-Build Event...
SubWCRev: 'C:\dolphin-emu-read-only\Source\'
Last committed at revision 92
Updated to revision 93
Local modifications found
Compiling...
stdafx.cpp
Compiling...
Common.cpp
x64Emitter.cpp
x64Analyzer.cpp
Thread.cpp
TestFramework.cpp
StringUtil.cpp
PortableSockets.cpp
Plugin.cpp
MemoryUtil.cpp
MemArena.cpp
MathUtil.cpp
MappedFile.cpp
IniFile.cpp
.\Src\IniFile.cpp(334) : warning C4018: '<' : signed/unsigned mismatch
HTTP.cpp
Hash.cpp
FileUtil.cpp
DynamicLibrary.cpp
CPUDetect.cpp
Generating Code...
Compiling...
Timer.cpp
Creating library...
Build log was saved at "file://c:\dolphin-emu-read-only\Source\Core\Common\Win32\Release\BuildLog.htm"
Common - 0 error(s), 1 warning(s)
------ Build started: Project: zlib, Configuration: Release Win32 ------
Compiling...
adler32.c
zutil.c
uncompr.c
trees.c
inftrees.c
inflate.c
inffast.c
infback.c
gzio.c
deflate.c
crc32.c
compress.c
Generating Code...
Creating library...
Build log was saved at "file://c:\dolphin-emu-read-only\Externals\zlib\Win32\Release\BuildLog.htm"
zlib - 0 error(s), 0 warning(s)
------ Build started: Project: VideoCommon, Configuration: Release Win32 ------
Compiling...
BPMemory.cpp
XFMemory.cpp
TextureDecoder.cpp
LookUpTables.cpp
CPMemory.cpp
Creating library...
Build log was saved at "file://c:\dolphin-emu-read-only\Source\Core\VideoCommon\Win32\Release\BuildLog.htm"
VideoCommon - 0 error(s), 0 warning(s)
------ Build started: Project: wxCore28, Configuration: Release Win32 ------
Creating ..\..\lib\vc_lib\msw\wx\msw\rcdefs.h
genrcdefs.h
Creating ..\..\lib\vc_lib\msw\wx\setup.h
        1 file(s) copied.
Compiling...
dummy.cpp
Compiling...
hyperlink.cpp
fontpickerg.cpp
filepickerg.cpp
dragimgg.cpp
dirctrlg.cpp
dcpsg.cpp
combog.cpp
collpaneg.cpp
clrpickerg.cpp
choicdgg.cpp
choicbkg.cpp
buttonbar.cpp
busyinfo.cpp
aboutdlgg.cpp
window.cpp
volume.cpp
uxtheme.cpp
uuid.cpp
utilsgui.cpp
treectrl.cpp
Generating Code...
Compiling...
toplevel.cpp
tooltip.cpp
timer.cpp
tglbtn.cpp
textctrl.cpp
tbar95.cpp
tabctrl.cpp
stattext.cpp
statline.cpp
statbr95.cpp
statbox.cpp
statbmp.cpp
spinctrl.cpp
spinbutt.cpp
slider95.cpp
settings.cpp
scrolbar.cpp
renderer.cpp
region.cpp
radiobut.cpp
Generating Code...
Compiling...
radiobox.cpp
printwin.cpp
printdlg.cpp
popupwin.cpp
pen.cpp
palette.cpp
ownerdrw.cpp
oleutils.cpp
notebook.cpp
nativdlg.cpp
mslu.cpp
ms