User forums > Help
Mac OSX: How can I get it to find "wx"
Pecan:
--- Quote ---(Well i don't know how Code::Blocks behaves on 10.4 -- maybe it's more usable than on 10.3) However, if you need cross-platform, of course it won't work. Either use Code::Blocks, but knowing it may not work properly. For instance, on my compuer, Code::blocks isn't able to run projects or to debug.
--- End quote ---
My experience is that Mac CB works fine for me on 10.3.9 both for compiling and debugging.
I compile CB with CB weekly (sometimes more often). And thats a big complicated project.
Admittedly, there are some quirks in the UI. But they're not that bothersome.
Auria:
Nice it's working for you... but for me trying to run even the simplest project results in
Checking for existence: /[...]/project_name/project_name
Executing: xterm -T 'hg' -e 'LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH "/[...]/project_name" ' (in /[...]/project_name/.)
Process terminated with status 255 (0 minutes, 0 seconds)
(Or maybe it happens because i haven't configured something properly? I believed hitting 'run' should be okay but now i realize i should maybe have investigated a bit further...)
I know Code::Blocks on mac can be used, be probably still needs testing and might not fit the needs of someone looking for a well-tested reliable tool
afb:
The run path is currently still defaulting to use X11 and "xterm",
we need to set it to open the Terminal.app on Mac OS X (wxMac)
(i.e. it's a bug)
I usually set mine (C::B) to just run the produced binary/exe directly,
and it will open up a Terminal window if needed - or just run the GUI.
bnilsson:
Okay, all
I have go a big bunch of advice, so I understand things a little bit better now, I think.
I put in all the parameters given to me here into the project settings, but unfortunately it did not solve my initial question:
Line 9 in ./wx_pch.h in my barebones wxWidgets template project,
#include <wx/wxprec.h>
gives an error during the generation of the precompiled headers that the file is not found.
So it still don't know where wx is.
Again, the complete path to wxprec.h is:
/opt/local/include/wx-2.6/wx/wxprec.h
What more can I do?
Auria:
What'S the exact error messgae? 'gives an error that the file is not found' does not exactly sound obvious to me :lol:
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version