Hi Werner, hi all,

thank you very much for the quick answer. It took a while to get back to you 
because of a backlog of higher priority tasks.

In short, the only change I did was to upgrade to PLplot 5.9.1 - and now it 
works!

The long answer below just for the curious...

>> I've a problem with configuring, building and running a debug build of
>> PLplot 5.9.0 with a debug build of wxWidgets 2.8.0 under MINGW (using GCC
>> 3.4.5).
>
> You working with the MinGW compiler in a MSYS environment, right?

Right.

> Are you
> using wxWidgets 2.8.0 for a special reason? There is already wxWidgets 2.8.9
> available, which I use without problems.

I already implemented tons of stuff on top of wxWidgets. My code also works 
with 2.8.9, but there is a small issue with grids of the more recent version 
(either with my code or with wxWidgets). In large grids wxGrid seems to scroll 
back to the first column after some cell was edited, and this is not what I 
wanted to give to the users of my code, so I downgraded to 2.8.0. Of course, as 
soon as I have more time, I will change my code such that it does circumwind 
this issue with 2.8.9.

> Which version of cmake are you
> using?

2.6.2.

>> My configuration and building steps are as follows (from the root dir of
>> the PLplot distribution):
>>
>> PATH=/c/Program\ Files/CMake/bin:$PATH
>> export PATH

By the way: PLplot 5.9.1 needs the wxWidgets dlls in the PATH already at this 
point in time. I'm not sure whether 5.9.0 really didn't or whether I just 
forget "documenting" it in my last email.

>...

>> "wxWidgets_USE_DEBUG" is described in the CMake manual. Everything seems
>> to work fine. I can use MS Dependency Walker to check whether PLplot linked
>> against the correct wxWidgets dlls, and it looks good, i.e. wx-config knows
>> of both my release and my debug build of wxWidgets.
>
> Does it link against the debug libraries (libwxcore2.8d.dll or similar) if
> you use -DwxWidgets_USE_DEBUG=ON.

Yes, iff wx-config can find it. . I checked that with MS Dependency Walker.

> And does it link against the release
> libraries (libwxcore2.8.dll) if you skip this option.

Yes, iff wx-config can find it. I also checked this with MS Dependency Walter. 
According to the CMake manual, -DwxWidgets_USE_DEBUG=OFF does the same.

> For that reason I usually use the release version of the wxWidgets library,
> even if I compile the plplot library in debug mode. Usually I don't need to
> debug the wxWidgets code, so no problem here. If this is acceptable for you,
> I would also just do it that way.

This would have been my last resort.

Thank you again, cheers,
Philipp.

____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? 
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to