• 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 ... 58 59 60 61 62 ... 116 Next »

Linux Fedeora 15 building help on R7670 (Latest SVN)
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Linux Fedeora 15 building help on R7670 (Latest SVN)
06-25-2011, 10:13 AM (This post was last modified: 07-08-2011, 11:35 PM by RoundSparrow.)
#1
RoundSparrow Offline
Member
***
Posts: 56
Threads: 5
Joined: Jun 2011
New to Fedora... started out with

yum install cmake subversion gcc-c++ gtk git mesa-libGLU-devel wxGTK-devel

got cmake to run. But then compile:

Code:
[ 23%] Building CXX object Source/Plugins/Plugin_VideoSoftware/CMakeFiles/videosoftware.dir/Src/DebugUtil.cpp.o
In file included from /home/work1/dolphin-emu-read-only/Source/Plugins/Plugin_VideoSoftware/Src/HwRasterizer.h:24:0,
                 from /home/work1/dolphin-emu-read-only/Source/Plugins/Plugin_VideoSoftware/Src/DebugUtil.cpp:26:
/home/work1/dolphin-emu-read-only/Source/Plugins/Plugin_VideoSoftware/Src/../../Plugin_VideoOGL/Src/GLUtil.h:117:19: fatal error: Cg/cg.h: No such file or directory
compilation terminated.
make[2]: *** [Source/Plugins/Plugin_VideoSoftware/CMakeFiles/videosoftware.dir/Src/DebugUtil.cpp.o] Error 1
make[1]: *** [Source/Plugins/Plugin_VideoSoftware/CMakeFiles/videosoftware.dir/all] Error 2
make: *** [all] Error 2

Any ideas?
Find
Reply
06-29-2011, 07:59 AM
#2
GumBo Offline
Junior Member
**
Posts: 11
Threads: 3
Joined: Jun 2011
(06-25-2011, 10:13 AM)RoundSparrow Wrote:
Code:
/Src/DebugUtil.cpp:26:
/home/work1/dolphin-emu-read-only/Source/Plugins/Plugin_VideoSoftware/Src/../../Plugin_VideoOGL/Src/GLUtil.h:117:19: fatal error: Cg/cg.h: No such file or directory

It looks like you haven't installed Cg

Try building with these dependencies - working on svn 7590 (last one I built) on Fedora 14 x86_64:

Code:
cd ~ && sudo yum install subversion scons gcc-c++ wxBase wxGTK wxGTK-gl wxGTK-devel SDL-devel SDL-debuginfo Cg libCg libXxf86vm-devel libXxf86vm-debuginfo libXext-devel libXext-debuginfo glew-devel cairo-devel cairo-debuginfo libao libao-devel bluez-libs-devel gcc cmake-fedora qmake-qt4 mingw32-qt-cmake libgcc.x86_64 libgcc.i686 compat-gcc-34-c++ && svn checkout http://dolphin-emu.googlecode.com/svn/trunk/ dolphin-emu-read-only && cd dolphin-emu-read-only && mkdir Build && cd Build && cmake .. && make && sudo make install

Can't guarantee all these are *strictly* necessary - but they worked for me...
Find
Reply
06-29-2011, 11:15 AM
#3
RoundSparrow Offline
Member
***
Posts: 56
Threads: 5
Joined: Jun 2011
"sudo yum install Cg libCg" yields nothing on F15.

I found a recent thread on Fedora forums, still reading: http://fedoraforum.org/forum/showthread.php?p=1490192
Find
Reply
06-29-2011, 05:49 PM
#4
GumBo Offline
Junior Member
**
Posts: 11
Threads: 3
Joined: Jun 2011
(06-29-2011, 11:15 AM)RoundSparrow Wrote: "sudo yum install Cg libCg" yields nothing on F15.

I found a recent thread on Fedora forums, still reading: http://fedoraforum.org/forum/showthread.php?p=1490192

Rolleyes that's a thread I posted!
But I don't think it's the same issue you're getting.

I have F15 32-bit installed on another machine.

Code:
yum search Cg

...

Cg.i686 : NVIDIA Cg Toolkit
Cg-docs.i686 : NVIDIA Cg Toolkit documentation

...

libCg.i686 : NVIDIA Cg Toolkit shared support library

Cg should exist in x86_64 too. I have Rpm fusion repository installed. Maybe this is your problem? Set up repositories in yum as detailed here:

Code:
http://www.mjmwired.net/resources/mjm-fedora-f15.html#yum
Find
Reply
07-08-2011, 11:28 PM (This post was last modified: 07-08-2011, 11:34 PM by RoundSparrow.)
#5
RoundSparrow Offline
Member
***
Posts: 56
Threads: 5
Joined: Jun 2011
I'm still having this failure. I observe that on F14 and F15, users of PSX emulator are having similar cmake failures!

Can one of the developers please review what is going on here?

http://forums.pcsx2.net/Thread-Unable-to-compile-svn-revision-4789-in-Fedora-14-x86-64

P.S. Origial subject was relative to SVN 7623, now up to SVN 7670 and still have the problem.
Find
Reply
07-09-2011, 12:39 AM
#6
GumBo Offline
Junior Member
**
Posts: 11
Threads: 3
Joined: Jun 2011
(07-08-2011, 11:28 PM)RoundSparrow Wrote: I'm still having this failure. I observe that on F14 and F15, users of PSX emulator are having similar cmake failures!

The issue in the pcsx2 post you link to was that the user was trying to build a 32-bit application (pcsx2) in a 64-bit environment - which should be okay in fedora - but had made symlinks to an unusually named 32-bit library folder. I don't think this is your issue (Again) as you'll be building dolphin-emu natively in 64-bit.... you are running 64-bit fedora right?

Did you manage to install Cg - What output did you get when you ran sudo yum install Cg libCg?
What version of Cg are you running? There is a bug logged against Cg 3.0 which *might* be your issue. http://code.google.com/p/dolphin-emu/issues/detail?id=4285&q=fedora although this didn't cause cmake build issues. Also I compiled the svn this weekend under Fedora 14 x86_64 without a problem.

What is the output now when you try to build?

I must say that when I had a recent bug (the one you linked to at the beginning of the post) it got no replies on this forum - if you have a genuine bug - and I'm not sure you do - I'd advise logging it on the issues section of the dolphin-emu googlecode page: http://code.google.com/p/dolphin-emu/issues/list



Find
Reply
07-11-2011, 11:05 AM (This post was last modified: 07-11-2011, 11:12 AM by RoundSparrow.)
#7
RoundSparrow Offline
Member
***
Posts: 56
Threads: 5
Joined: Jun 2011
(06-29-2011, 05:49 PM)GumBo Wrote: Cg should exist in x86_64 too. I have Rpm fusion repository installed. Maybe this is your problem? Set up repositories in yum as detailed here:

Code:
http://www.mjmwired.net/resources/mjm-fedora-f15.html#yum

I'm not sure exactly what settings fixed it. But I added the repository you mentioned and installed some more libraries. Here is sequence of commands I used

Code:
#
   sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
   sudo rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
   sudo yum update
   sudo yum install libCg.x86_64
   make

failure

   sudo yum install libCg.i686
   make
   cd ..
   sudo rm -r Build7673
   mkdir Build7673
   cd Build7673
   cmake ..
   make

failure

   sudo yum install libCg
   sudo yum install Cg.x86_64
   cmake ..
   make

now it compiled Smile
Find
Reply
07-11-2011, 04:26 PM
#8
GumBo Offline
Junior Member
**
Posts: 11
Threads: 3
Joined: Jun 2011
I'm not really sure what's going on from your command list - perhaps if you cut and pasted the contents of the terminal it would be clearer. Anyway, I'm glad everything is working now Smile Smile Enjoy!
Find
Reply
« Next Oldest | Next Newest »


  • 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