• 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 ... 30 31 32 33 34 ... 116 Next »

how to build a binary program that load relative path at linux?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
how to build a binary program that load relative path at linux?
01-21-2016, 03:12 AM
#1
shouhuanxiaoji
Unregistered
 
Hello,friends!
I want to compile the dolphin-emu to a binary program that load relative paths eg datadir..

I download sources package from stable branch in github and use c++-4.9 at Ubuntu 14.04 amd64.

If I use below command:
Code:
cmake
make
make install
or
Code:
cmake -D datadir=/home/xiaoji/dolphin
the path of datadir will be absolute.So after I move the whole path to another path,the program will be error: some path or some files is missing.

I want to know how to modify the cmakefile.txt? or add some parameter when use cmake command?
Thanks very much!
Reply
01-21-2016, 03:46 AM
#2
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,874
Threads: 7
Joined: Oct 2014
This PR added support for it: https://github.com/dolphin-emu/dolphin/pull/3247

You will need to use the master branch. The stable branch is generally not recommended, because it's out of date.
Find
Reply
01-21-2016, 01:47 PM
#3
shouhuanxiaoji
Unregistered
 
(01-21-2016, 03:46 AM)JosJuice Wrote: This PR added support for it: https://github.com/dolphin-emu/dolphin/pull/3247

You will need to use the master branch. The stable branch is generally not recommended, because it's out of date.

thanks very much!
I have build the relocatable version.
Meanwhile I have another question.How to load the locale path?
The language UI is still English.
how to config to load other language?
I mean that after modify the language menu in dolphin-emu's opthin-preference-Interface-Language,it has not been effective.I think it cant find the locale path.
thanks!
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