Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
t looks like that for some reason X11 is not detected.
What system is running on the device? Does it uses X11+GTK or something else?
What command is used for building the library? the stuff after bk-deps..
Allan,
What OS is running on your Blackberry/Cherri/whatever device? Is it X11 based? Does it capable of running X11-based application?
The "config.log" file you attached does say that the $PATH includes the path to the file in question, but you didn't post the line "make" is using to compile the wxWidgets.
Or you receive this error during "configure" part?
Thank you.
[EDIT]
The command you posted will install wxWidgets-2.8 on you Ubuntu machine from the Ubuntu repository. Notice that it will install the library itself (i.e. precompiled binaries) and not the source code.
You can compile wxWidgets yourself from sources which is best in you case.
Just grab the appropriate tarball from the wxWidgets website "Download" page, unpack it with Ubutu and then run "configure", "make" and "make install" as appropriate.
The only problem is X11 port is NOT well maintained and consist of a lot of bugs. It would be best if you can find out whether you can run WindowsCE or Windows Mobile as those 2 are better. Or find out if you can run GTK+ application on this device (Not your development machine, actual Cherri device).
If it's X11 only and no GTK+, then chances are you will hit a bug in X11 and you will be on your own (most likely) to fix it.
If you can run WinCE - great. Try to install it and compile wxWidgets WinCE port.
If neither are true - you are out of luck. You can't develop with wxWidgets for you platform unless you are prepared to create a new port.
[/EDIT]
What OS is running on your Blackberry/Cherri/whatever device? Is it X11 based? Does it capable of running X11-based application?
Target device is Raspberry pi & it will be using Debian Embedded Linux.
Just grab the appropriate tarball from the wxWidgets website "Download" page, unpack it with Ubutu and then run "configure", "make" and "make install" as appropriate.
this is what i am doing at present.
Or you receive this error during "configure" part?
Yes during the configure part i am getting the error in configure.log file ----- X11/Xlib.h: No such file or directory
And when i ignores it & runs the make command ---> compilation starts and after few minues terminates with error X11/*.h file not found.
Allan,
AFAIK, Debian is capable of running X. However you can also take a look at GPE. It is "GNOME Embedded". Gnome itself is too big and so you can use GPE instead.
When you compile and install GPE image it means that you will be able to run GTK+ application, and therefore wxGTK one.
It also would be feasible for you to compile all this stuff on a separate partition so as to know what to grab and install and not to confuse the main system.
So compile X, GPE and then wxWidgets with "--with-gtk=2" and then try the minimal sample.
It also would be feasible for you to compile all this stuff on a separate partition so as to know what to grab and install and not to confuse the main system.
So compile X, GPE and then wxWidgets with "--with-gtk=2" and then try the minimal sample.
What do you say create new cross-compiler & do everything from begning in new partition
Allan,
All I'm saying is that you need a dedicated partition to install the OS image and libraries compiled for you architecture so that they won't interfere with the native binaries.
You will now need to compile X for Raspberry with all it's dependencies, then probably GPE and then wx.
It is much easier if you can have a partition on you hard drive and then you could:
This way you will be able to see all you native binaries and will know what to grab. Also they will not interfere with the native binaries on you host machine.
You will now need to compile X for Raspberry with all it's dependencies, then probably GPE and then wx.
Should i use Openembedded for this or my Present crosscompiler is enough
It is much easier if you can have a partition on you hard drive and then you could:
../configure --prefix=<my_raspberry_partition>/usr/lib
This question may irritate you. As earlier i was compiling inside Wubi Ubantu then faced problem & Reinstalled OS again.
Now i do not want to be under trouble. I already have 4 NTFS drive apart from Linux.
All I'm saying is that you need a dedicated partition to install the OS image and libraries compiled for you architecture so that they won't interfere with the native binaries.