Murga-Projects Forums
Build process - Printable Version

+- Murga-Projects Forums (http://www.murga-projects.com/forum)
+-- Forum: Project Forums (/forumdisplay.php?fid=1)
+--- Forum: MurgaLua - General (/forumdisplay.php?fid=2)
+--- Thread: Build process (/showthread.php?tid=399)


Build process - jpjacobs - 12-22-2010 08:13 PM

As I've still got some time to spare, I was looking into debugging the Red Color Channel problem (see here).
I installed all required packages as in packages.txt, but I did not succeed in building the whole thing. It stopped with this complaint:

Code:
In file included from bind-fltk-ext.cxx:24:
fltk.cxx:26: fatal error: FL/Fl.h: No such file or directory
compilation terminated.
make[2]: *** [bind-fltk-ext.o] Error 1
make[2]: Leaving directory `/home/jpjacobs/sandbox/murgalua/murgaLua/src'
make[1]: *** [linuxStatic] Error 2
make[1]: Leaving directory `/home/jpjacobs/sandbox/murgalua/murgaLua/src'
make: *** [linuxStatic] Error 2


I checked and /usr/include/FL/Fl.h exists and this does not give problems with the other fltk examples (in C++) I tried to compile.

So what's there more to do to compile the code?

PS: Having the code in something like github would be significantly easier to send in patches etc.


RE: Build process - mikshaw - 12-23-2010 01:42 AM

What does fltk-config tell you? Maybe it's pointing to /usr/local/include or something like that.


RE: Build process - jpjacobs - 12-23-2010 06:49 AM

Well, I don't have a clue what fltk-config option I'm looking for... just that it works nicely with the helloworld example that comes with it (through fltk-config even).


RE: Build process - JohnMurga - 12-25-2010 07:11 AM

jpjacobs Wrote:
Well, I don't have a clue what fltk-config option I'm looking for... just that it works nicely with the helloworld example that comes with it (through fltk-config even).


If you are using my batch files they expect things to be installed to /usr/local and not /usr ...

I think that is your problem ...

This line in the script "export INSTALL_TOP=/usr/local"


RE: Build process - jpjacobs - 12-28-2010 10:48 PM

I tried replacing all occurances of /usr/local by /usr, to no avail ... Still getting the same error.
Any other ideas?
Thanks, JP


RE: Build process - mikshaw - 12-29-2010 02:09 AM

I'm no compiling wizard, but maybe add -I/usr/include to CXXFLAGS in Makefile


RE: Build process - jpjacobs - 12-29-2010 02:15 AM

Good idea, but still the same old error...


RE: Build process - mikshaw - 12-29-2010 02:40 AM

Okay then...

What about ln -s /usr/include/FL /usr/local/include/FL
I don't know if this will help, considering fltk-config is probably still pointing to /usr/include

You might end up having to reinstall Fltk with /usr/local prefix


RE: Build process - JohnMurga - 01-14-2011 12:59 AM

jpjacobs Wrote:
I tried replacing all occurances of /usr/local by /usr, to no avail ... Still getting the same error.
Any other ideas?
Thanks, JP


Sorry, been away ...

Where did you replace this ?


RE: Build process - jpjacobs - 01-14-2011 02:53 AM

In:

* tools/build/build-LinuxAll.sh
* tools/build/build-LinuxXft.sh
* src/Makefile
* tools/build/patches/cross/lua_Make-top.patch

I think that's all, but still a no go.