I just compiled wxwindows 2.6.1 with debug support.
After looking at rakelinux.rb I thought, "let''s set $debug to
true".
Setting it to true however caused a failure when linking. It was looking
for the wrong libs.
Removing the $debug block fixed the problem, ie. this code is no longer
needed:
$debug = false
if($debug)
$wx_libs.sub!(/lwx_gtk/, ''lwx_gtkd'')
end
Should someone have wx installed with AND without debug-support I think
it''s their responsibility to correctly link wx-config to whatever they
wish to use.
Hope this helps
Jonathan
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
Jonathan Maasland wrote:> Should someone have wx installed with AND without debug-support I think > it''s their responsibility to correctly link wx-config to whatever they > wish to use.I agree. Applied. Thanks! Kevin
Reasonably Related Threads
- [919] trunk/wxruby2/rake/rakelinux.rb: Use wxWidgets built-in support libs; add wxScintilla option
- [884] branches/wxruby2/wxwidgets_282/rake/rakemswin.rb: Compile flag fixes for Windows/Wx 2.8 (Artur Kuptel)
- [975] branches/wxruby2/wxwidgets_282/rake/rakemswin.rb: Correct spacing for link command; remove odbc and db_table which aren''t
- rakelinux.rb
- [885] branches/wxruby2/wxwidgets_282/rake/rakemacosx.rb: Compile flag fixes for OS X/Wx 2.8