User forums > Help

CB 8.02 backticks problem

<< < (2/2)

afb:

--- Quote from: spectrum on June 22, 2009, 03:58:44 pm ---on project->settings, linker->settings:

`wx-config --libs` expand fine

`wx-config --libs --unicode=no` expand to nothing (empty)

but on the osx shell,
wx-config --libs --unicode=no

magically expand right to:
-L/usr/local/lib   -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL  -lwx_mac_richtext-2.8 -lwx_mac_aui-2.8 -lwx_mac_xrc-2.8 -lwx_mac_qa-2.8 -lwx_mac_html-2.8 -lwx_mac_adv-2.8 -lwx_mac_core-2.8 -lwx_base_carbon_xml-2.8 -lwx_base_carbon_net-2.8 -lwx_base_carbon-2.8

So, i read many posts that bacticks/CB works perfetc, but don't seems.

--- End quote ---

Try with `/usr/local/bin/wx-config` (full path) instead of `wx-config`,
so that you aren't picking up the ancient /usr/bin/wx-config by mistake...

It would give an error (instead of output) when trying in the ANSI mode:

--- Code: ---
  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=no
           in /usr/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.


--- End code ---

foobar123:
On Linux, with C::B svn rev. 5986, the backtick command
 `date +"%F %H:%M"`
also generates an empty string, while `date +%F` works as expected.

Navigation

[0] Message Index

[*] Previous page

Go to full version