• 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 116 Next »

Dolphin build woes
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
Dolphin build woes
06-26-2009, 01:14 PM
#1
Matt Offline
Junior Member
**
Posts: 10
Threads: 2
Joined: Jun 2009
Sad 
I built Dolphin r3543 on Windows Vista using Visual C++ earlier today, but for some reason the DirectX9 video plugin does not work. I have the DirectX SDK installed and the OpenGL plugin works fine. Any ideas on why this could be happening? And while I'm on the topic, does the DirectX plugin even offer better performance that the OpenGL plugin?

Also, I just tried building the same revision under Linux, but I get this error:
Code:
[matt@arch dolphin]$ scons                                                                
scons: Reading SConscript files ...                                                      
Checking for pkg-config version > 0.15.0... (cached) yes                                  
Checking for sdl lib version > 1.0.0... (cached) yes                                      
Checking for bluez... (cached)                                                            
Using pkg-config for bluez... (cached) yes                                                
Checking for ao... (cached)                                                              
Using pkg-config for ao... (cached) yes                                                  
Checking for openal... (cached)                                                          
Using pkg-config for openal... (cached) no                                                
Looking for lib openal... (cached) no                                                    
Checking for portaudio... (cached)                                                        
Using pkg-config for portaudio... (cached) no                                            
Looking for lib portaudio... (cached) no                                                  
Checking for sfml-network... (cached)                                                    
Using pkg-config for sfml-network... (cached) no                                          
Looking for lib sfml-network... (cached) no                                              
Checking for x11... (cached)                                                              
Using pkg-config for x11... (cached) yes                                                  
Checking for wxWidgets >= 2.8... (cached) yes                                            
Checking for GL... (cached)                                                              
Using pkg-config for gl... (cached) yes                                                  
Checking for GLU... (cached)                                                              
Using pkg-config for glu... (cached) yes                                                  
Checking for Cg... (cached)                                                              
Using pkg-config for cg... (cached) no                                                    
Looking for lib Cg... (cached) yes
Checking for CgGL... (cached)
Using pkg-config for cggl... (cached) no
Looking for lib CgGL... (cached) yes
Checking for GLEW... (cached)
Using pkg-config for glew... (cached) no
Looking for lib GLEW... (cached) yes
Checking for xxf86vm... (cached)
Using pkg-config for xxf86vm... (cached) yes
Plugin_PadSimpleEvnt Doesn't work without testgl
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: Build/Linux-i686-release
Linking Binary/Linux-i686/Dolphin
Build/Linux-i686-release/libs/libcommon.a(Thread.o): In function `Common::SyncInterlockedIncrement(int*)':
Thread.cpp:(.text+0x822): undefined reference to `__sync_add_and_fetch_4'
Build/Linux-i686-release/libs/libcommon.a(Thread.o): In function `Common::SyncInterlockedExchangeAdd(int*, int)':
Thread.cpp:(.text+0x84c): undefined reference to `__sync_add_and_fetch_4'
collect2: ld returned 1 exit status
scons: *** [Binary/Linux-i686/Dolphin] Error 1
scons: building terminated because of errors.


This is the build output from a second build attempt, so the rest of the build messages are not there. Thanks in advance for any help.
Find
Reply
06-26-2009, 01:33 PM
#2
nosound97 Offline
Cheetahmen on the N64 D:
*******
Posts: 3,552
Threads: 107
Joined: Mar 2009
You may not care about Direct3D plugin, main development now goes on OpenGL one Smile
[Image: 1147431.png]
YouTube channel | Xfire
Find
Reply
06-26-2009, 01:34 PM
#3
boogerlad Offline
Above and Beyond
*******
Posts: 1,134
Threads: 21
Joined: Apr 2009
It never worked after revision 25XX
Find
Reply
06-26-2009, 01:43 PM
#4
gcp111
Unregistered
 
You may want to try the latest version if you want to compile on Linux, since it gets broken often.
Reply
06-27-2009, 10:34 AM
#5
Matt Offline
Junior Member
**
Posts: 10
Threads: 2
Joined: Jun 2009
Thanks guys, I'll just stick with the OpenGL plugin then. I fixed my Linux build problem; it tuns out I needed to add '-march=i686' to the compile flags for scons in the SConstruct file. This might be a distribution specific issue. Also, how do I build an x64 binary in Visual C++? If I set the build setting to Release x64 it skips all the builds, doesn't compile anything, yet it gives no errors.
Find
Reply
06-27-2009, 11:35 AM
#6
gcp111
Unregistered
 
(06-27-2009, 10:34 AM)Matt Wrote: If I set the build setting to Release x64 it skips all the builds, doesn't compile anything, yet it gives no errors.

Did you hit Rebuild All? Just build probably won't do anything.
Reply
06-27-2009, 12:25 PM
#7
Matt Offline
Junior Member
**
Posts: 10
Threads: 2
Joined: Jun 2009
Hmm, it seems that I'm missing the x64 libraries entriely; on the VC++ directories settings screen Win32 is the only platform available. I'm going to try reinstalling VC++ and see if that fixes it.
Find
Reply
06-27-2009, 12:27 PM
#8
gcp111
Unregistered
 
(06-27-2009, 12:25 PM)Matt Wrote: Hmm, it seems that I'm missing the x64 libraries entriely; on the VC++ directories settings screen Win32 is the only platform available. I'm going to try reinstalling VC++ and see if that fixes it.

Yeah. If that doesn't work, just install the Platform SDK, which will install X64 build tools. Smile
Reply
06-28-2009, 06:52 AM
#9
CacoFFF Offline
Member
****
Posts: 722
Threads: 15
Joined: Mar 2009
I just had the exact same problem, i'm already getting the sdk stuff.
Had i known i had to download 2gb in stuff to compile dolphin...
ASRock Conroe 1333-D667
Intel Pentium Dual Core E2180 2.00GHZ
2GB ram
Windows XP x64
Ati Radeon HD3650 256mb GDDR3
[Image: bugwk7.gif]
[Image: 338184.jpg]
Find
Reply
06-28-2009, 12:20 PM
#10
gcp111
Unregistered
 
(06-28-2009, 06:52 AM)CacoFFF Wrote: I just had the exact same problem, i'm already getting the sdk stuff.
Had i known i had to download 2gb in stuff to compile dolphin...

That's why I wish it would compile with MinGW. (I never liked Microsoft compilers, you know why.) Hell, I don't even know if it does already... there are no instructions. 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