User forums > Help

code printout in Linux is poor

<< < (3/3)

MortenMacFly:

--- Quote from: Ceniza on March 12, 2011, 08:36:57 am ---[edit]
Do we really want that?
[/edit]

--- End quote ---
I wanted that, yes - because other 3rd party libs (wxprogrid, wxflatnb, wxchartctrl...) we provide as dynamic libs as well. So my intention was to be consistent. If it's a 3rd party lib - make it dynamically linked. However, you've probably noticed the issues with wxscintilla, so there might also be drawbacks. As you've disabled it it's gone now. But I can live with that. Just make sure it's the same style on all platforms.

Ceniza:
I got it to compile in Linux both as a project file and with autotools, but there is a freaking sigsev when creating the PDF for which I have not been able to do any debugging. There seems to be something terribly wrong as well with Code::Blocks as it is all messed up if I try to debug it through Code::Blocks itself, or even run it from the output directory. All GDB gives me is a backtrace with the methods being called, but no source file/line information. All I know is that something goes wrong when calling wxPdfFontManager::GetFont(wxString const&, int) const (). I am using the non-stripped, -g enabled, .so, so why is it failing? :x

[edit]
I finally got GDB to find the sources, I am looking into the problem now...
[/edit]

MortenMacFly:

--- Quote from: Ceniza on March 12, 2011, 11:26:53 am ---[edit]
I finally got GDB to find the sources, I am looking into the problem now...
[/edit]

--- End quote ---
You shall not use -DwxPG_USE_WXMODULE=1 when using wxPDFDoc as static lib. I forgot to tell that.

Ceniza:

--- Quote from: MortenMacFly on March 12, 2011, 11:34:57 am ---
--- Quote from: Ceniza on March 12, 2011, 11:26:53 am ---[edit]
I finally got GDB to find the sources, I am looking into the problem now...
[/edit]

--- End quote ---
You shall not use -DwxPG_USE_WXMODULE=1 when using wxPDFDoc as static lib. I forgot to tell that.

--- End quote ---

Right, that was the problem. I have got it working with autotools and also with the project file. Time to commit.

Navigation

[0] Message Index

[*] Previous page

Go to full version