Originally Posted by
Pekele
well i'm not lucky. I have errors during the compilation process. It can not find some wx headers files :
Code:
error: wx/wx.h: No such file or directory
I have had this problem. The makefiles are not being provided with the correct include directory.
FIRST
It would be helpful if you first do in your XaraLX build directory to clear out any partially built products, and if you get stuck do in the XaraLX top directory.
The instructions assume that you are in fact building in the top directory, and as I am fairly sure that when as one of the last steps, we come to create the double-clickable XaraLX.app this is easiest with the directory structure in this form, it would be best to do this, at least whilst getting started.
Try .
This will almost certainly fail if you have not installed wxWidgets. If it does not, then try
Code:
wc-config --version
.
Now on my system, I seem to have wc-config as /usr/bin/wx-config, which reports its version as 2.5.3 I have no idea where this came from. Nothing should be installing to /usr/bin except Apple. It was not from the disk with the Brooklyn Bridge Book for the elemental reason that I have not yet taken it out of the package. fink can install the wxgtk variant, but that is not the same thing.
If you have a wx-config, particularly if it is on your path, I would advise that you uninstall and remove the installation responsible, unless you are confident that you can work with two live installations of wxWidgets present simultaneously on your system.
NEXT
Locate the wx-config that your build of wxWidgets created, it will be in a place like /Users/pekele/wxWidgets-2.6.3/build-unicode-debug/wx-config,
run this as:
Code:
/Users/pekele/wxWidgets-2.6.3/build-unicode-debug/wx-config --version
looking for a result like:
Code:
$ build-unicode-debug/wx-config --version
2.6.3
$
You now know that the wx-config program is working, and if interested, you can examine the output of commands like
/Users/pekele/wxWidgets-2.6.3/build-unicode-debug/wx-config --libs and /Users/pekele/wxWidgets-2.6.3/build-unicode-debug/wx-config --cflags
FINALLY
This is where you need to use --with-wx-config option to ./configure. This code should work
Code:
./configure --enable-debug --with-wx-config=/Users/pekele/wxMac-2.6.3/build-unicode-debug/wx-config
The configure script will produce dozens of lines of output including these:
Code:
checking Compiler... gcc >= 3.4.0, PreCompiled headers enabled
checking wxWidgets version... 2.6.3
checking wxWidgets GTK usage... not found
checking Linker... Darwin ld
checking CDraw location... libs/darwin
If you get some output like this:
Code:
Warning: No config found to match: /Users/pekele/wxWidgets-2.6.3/build-unicode-debug/wx-config --static=no --debug=no --unicode=yes --cxxflags
in /Users/pekele/wxWidgets-2.6.3/build-unicode-debug/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
then you probably missed out the --enable-debug
I'm going to leave it there. It would be helpful if you could review my suggestions and post again if you find that what I have written above is wrong or is not helpful.
Ben
Bookmarks