• 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 ... 31 32 33 34 35 ... 117 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
« Next Oldest | Next Newest »


Messages In This Thread
how to build a binary program that load relative path at linux? - shouhuanxiaoji - 01-21-2016, 03:12 AM
RE: how to build a binary program that load relative path at linux? - JosJuice - 01-21-2016, 03:46 AM
RE: how to build a binary program that load relative path at linux? - shouhuanxiaoji - 01-21-2016, 01:47 PM

  • 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