The place to post if you need help or advice
Moderators: ChriThor, LXF moderators
I'm trying to compile a test program with xHarbour. It responds by not being able to find an 'include' file. I have tried defining a variable from bash but that doesn't work. eg.
I tried :
but that wouldn't show up when I entered 'set'. I tried defining the include path in an sh file: harb.sh and symlinking that from /etc/profile.d on advice from an FC user. The thing is my system is Mandriva LE2005 based.
Can anyone help?
- Posts: 24
- Joined: Wed Apr 20, 2005 8:40 pm
try the following command :
you can put this into your ~/.bashrc file if you want it set every time you start a new shell.
Alternatively, if xHarbour uses gcc, you could edit the gcc command in the makefile to have an include directory parameter, something like
gcc -I/sec/ixHarbour/include -o fred fred.c
Hope this helps,
- LXF regular
- Posts: 1141
- Joined: Fri Apr 08, 2005 8:03 pm
- Location: Gloucestershire, UK
Return to Help!
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest