Re: [Plplot-general] Problem with LNK2019 error unresolved external

2019-10-23 Thread Ferrell, Stephen via Plplot-general
In your solution file, does your linker input look similar to this?  There should only be 2 link-libs listed. C:\plplot-5.15\build\dll\Release\plplotcxx.lib;C:\plplot-5.15\build\dll\Release\plplotwxwidgets.lib;%(AdditionalDependencies) Under Linker/System it should read: Console

Re: [Plplot-general] Problem with LNK2019 error unresolved external

2019-10-23 Thread David Bergman
Arjen, Thanks for your help.  I agree and will start trying to eliminate possibilities.  As I stated in previous emails the VS 2017, widgets, and plplot are newer versions and something may be off. It is not an exact replica of the previous state.  It has been suggested that perhaps my OS

Re: [Plplot-general] Problem with LNK2019 error unresolved external

2019-10-23 Thread Arjen Markus
Hi David, Perhaps try the most basic set-up of PLplot first indeed. So no default drivers, only C bindings etc. The problem you are facing looks to be connected to your particular computer system, so let’s eliminate as many potential problem dimensions as possible. Regards, Arjen From:

Re: [Plplot-general] Problem with LNK2019 error unresolved external

2019-10-23 Thread stuntguitar1969
This is a pure plplot example, not the wxplplot example.  I don't think I'm invoking the widgets driver.  Unless it's always being invoked because widgets was connected in the build stage.  I could try building plplot with widgets off and see.Sent from my Verizon, Samsung Galaxy smartphone

Re: [Plplot-general] Problem with LNK2019 error unresolved external

2019-10-23 Thread Arjen Markus
Hi David, Have you tried to run the examples with a different driver than WxWidgets? The failure at the end of the example could indicate a problem with the driver rather than PLplot perse. I have seen this happen in a totally different context several years ago, unfortunately I cannot

Re: [Plplot-general] Problem with LNK2019 error unresolved external

2019-10-23 Thread David Bergman
I just finished building and installing plplot without wxwidgets drivers.  Still had problems with the install. It hung for a while and had to be restarted, don't know if this causes corruption. I first built with dyndrivers on and the install crashed with the following error: Error   

Re: [Plplot-general] Problem with LNK2019 error unresolved external

2019-10-23 Thread Phil Rosenberg
Hi David So you have a build that succeeded. But causes an error at runtime. Rather than just trying random things to find a situation where the error does not occur - the best course of action next would be to create the minimum code sample that still creates the error. So could you start

Re: [Plplot-general] Problem with LNK2019 error unresolved external

2019-10-23 Thread stuntguitar1969
I'm using the smallest plplot example and according to the debugger it crashes upon calling delete on the plstream variable.   That has always been the case.  Sent from my Verizon, Samsung Galaxy smartphone Original message From: Phil Rosenberg Date: 10/23/19 11:57 AM

Re: [Plplot-general] Problem with LNK2019 error unresolved external

2019-10-23 Thread David Bergman
I didn't think I was trying random things.  Here is a simple code snippet that causes the crash. int main(int argc, char ** argv) {     cout << "About to declare and new a plstream variable..." << "\n" << endl;     plstream *pls;     pls = new plstream();     cout << "Testing delete

Re: [Plplot-general] Problem with LNK2019 error unresolved external

2019-10-23 Thread David Bergman
Well then I don't know what to do. Thanks anyway. On 10/23/2019 5:33 PM, Ferrell, Stephen wrote: This works perfectly on my system.  As in the examples, plstream is delcared globally: -- #include "plc++demos.h" #ifdef PL_USE_NAMESPACE using namespace std; #endif

Re: [Plplot-general] Problem with LNK2019 error unresolved external

2019-10-23 Thread Ferrell, Stephen via Plplot-general
This works perfectly on my system.  As in the examples, plstream is delcared globally: --#include "plc++demos.h" #ifdef PL_USE_NAMESPACEusing namespace std;#endif plstream         *pls; int main(int argc, char ** argv){    cout << "About to declare and new a plstream