From: David B. <stu...@gm...> - 2019-09-06 17:18:18
|
All, I have made some progress with building and installing the new plplot with a new wxwidets using VS 2017. I still have not gone past the install process in the IDE w/o an error but I seem to have all the headers and dll I need (though I'm not sure if they are corrupted). At present I've decided to move forward with what I have and try a simple example I wrote that worked with my previous config. I get unresolved externals, 14 to be exact. Basically every plplot function I call seems to cause this. A few example are provided. plAlloc2dGrid and all the plstream functions like box3, col0, font, etc. Typically what I cause this it's due to a function declaration in a class that is not defined elsewhere. It "seems like" my new build has the same files as the old one and the projects are comparable (with only diffs being the location of the new folders). Thanks in advance for your help. David --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: Phil R. <p.d...@gm...> - 2019-09-06 19:44:37
|
Is this building the examples? Sounds like the libs are not being linked to properly. Did you get past the wxwidgets problem? Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: David Bergman <stu...@gm...> Sent: Friday, September 6, 2019 6:17:59 PM To: plp...@li... <plp...@li...> Subject: [Plplot-general] Problem with LNK2019 error unresolved external All, I have made some progress with building and installing the new plplot with a new wxwidets using VS 2017. I still have not gone past the install process in the IDE w/o an error but I seem to have all the headers and dll I need (though I'm not sure if they are corrupted). At present I've decided to move forward with what I have and try a simple example I wrote that worked with my previous config. I get unresolved externals, 14 to be exact. Basically every plplot function I call seems to cause this. A few example are provided. plAlloc2dGrid and all the plstream functions like box3, col0, font, etc. Typically what I cause this it's due to a function declaration in a class that is not defined elsewhere. It "seems like" my new build has the same files as the old one and the projects are comparable (with only diffs being the location of the new folders). Thanks in advance for your help. David --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus _______________________________________________ Plplot-general mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general |
From: David B. <stu...@gm...> - 2019-09-06 20:21:16
|
Phil, As per our last correspondence I had succeeded in getting the widgets headers and drivers built when I changed from Win64 to no Win64. But I still got an install error in the IDE (sent in a previous email). You had suggested that perhaps I didn't build widgets using 64bit so I decided to purge everything and start over. I built the widgets files using their sln with x64 set. Then built plplot with cmake no problem and widgets was declared ON as expected. Using the IDE and the sln to INSTALL led to hanging and errors three times in a row. After the 3rd time I just looked in the folders and figured if I can find everything I might be okay. My recollection is that this happened last time too (back in 2017). The example I was trying to run was a simple one of my own that plotted various 3-dim mesh surfaces. I did not try to build the official plplot examples yet. Perhaps I should try that first. I don't know if what I've written is helpful in helping you help me get it working. David On 9/6/2019 3:44 PM, Phil Rosenberg wrote: > > Is this building the examples? Sounds like the libs are not being > linked to properly. > > Did you get past the wxwidgets problem? > > Get Outlook for Android <https://aka.ms/ghei36> > > ------------------------------------------------------------------------ > *From:* David Bergman <stu...@gm...> > *Sent:* Friday, September 6, 2019 6:17:59 PM > *To:* plp...@li... > <plp...@li...> > *Subject:* [Plplot-general] Problem with LNK2019 error unresolved > external > All, > > I have made some progress with building and installing the new plplot > with a new wxwidets using VS 2017. > > I still have not gone past the install process in the IDE w/o an error > but I seem to have all the headers and dll I need (though I'm not sure > if they are corrupted). > > At present I've decided to move forward with what I have and try a > simple example I wrote that worked with my previous config. > > I get unresolved externals, 14 to be exact. Basically every plplot > function I call seems to cause this. A few example are provided. > > plAlloc2dGrid > > and all the plstream functions like box3, col0, font, etc. > > Typically what I cause this it's due to a function declaration in a > class that is not defined elsewhere. > > It "seems like" my new build has the same files as the old one and the > projects are comparable (with only diffs being the location of the new > folders). > > Thanks in advance for your help. > > David > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > > > _______________________________________________ > Plplot-general mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-general -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com |
From: Phil R. <p.d...@gm...> - 2019-09-07 07:35:09
|
Hi David Sounds like either one of the libs has been forgotten, or you are building a 32bit exe and trying to link to the 64 bit libs you just built. Might be worth noting that I think the naming convention of the libs changed at some point. They used to have a d suffix to indicate using double precision. This has been dropped I think. So you might need to update the lib names in your project. Phil Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: David Bergman <stu...@gm...> Sent: Friday, September 6, 2019 9:20:57 PM To: Phil Rosenberg <p.d...@gm...>; plp...@li... <plp...@li...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Phil, As per our last correspondence I had succeeded in getting the widgets headers and drivers built when I changed from Win64 to no Win64. But I still got an install error in the IDE (sent in a previous email). You had suggested that perhaps I didn't build widgets using 64bit so I decided to purge everything and start over. I built the widgets files using their sln with x64 set. Then built plplot with cmake no problem and widgets was declared ON as expected. Using the IDE and the sln to INSTALL led to hanging and errors three times in a row. After the 3rd time I just looked in the folders and figured if I can find everything I might be okay. My recollection is that this happened last time too (back in 2017). The example I was trying to run was a simple one of my own that plotted various 3-dim mesh surfaces. I did not try to build the official plplot examples yet. Perhaps I should try that first. I don't know if what I've written is helpful in helping you help me get it working. David On 9/6/2019 3:44 PM, Phil Rosenberg wrote: Is this building the examples? Sounds like the libs are not being linked to properly. Did you get past the wxwidgets problem? Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: David Bergman <stu...@gm...><mailto:stu...@gm...> Sent: Friday, September 6, 2019 6:17:59 PM To: plp...@li...<mailto:plp...@li...> <plp...@li...><mailto:plp...@li...> Subject: [Plplot-general] Problem with LNK2019 error unresolved external All, I have made some progress with building and installing the new plplot with a new wxwidets using VS 2017. I still have not gone past the install process in the IDE w/o an error but I seem to have all the headers and dll I need (though I'm not sure if they are corrupted). At present I've decided to move forward with what I have and try a simple example I wrote that worked with my previous config. I get unresolved externals, 14 to be exact. Basically every plplot function I call seems to cause this. A few example are provided. plAlloc2dGrid and all the plstream functions like box3, col0, font, etc. Typically what I cause this it's due to a function declaration in a class that is not defined elsewhere. It "seems like" my new build has the same files as the old one and the projects are comparable (with only diffs being the location of the new folders). Thanks in advance for your help. David --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus _______________________________________________ Plplot-general mailing list Plp...@li...<mailto:Plp...@li...> https://lists.sourceforge.net/lists/listinfo/plplot-general -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm...<mailto:stu...@gm...> www.davidrobertbergmanmusic.com<http://www.davidrobertbergmanmusic.com> [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> Virus-free. www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> |
From: stuntguitar1969 <stu...@gm...> - 2019-09-07 17:54:44
|
I did build 64 bit. I wi double check the names. That may be it. I might have just changed the dir in the project and left the dll and lib names unchanged. Sent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: Phil Rosenberg <p.d...@gm...> Date: 9/7/19 3:34 AM (GMT-05:00) To: plp...@li..., David Bergman <stu...@gm...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Hi David Sounds like either one of the libs has been forgotten, or you are building a 32bit exe and trying to link to the 64 bit libs you just built. Might be worth noting that I think the naming convention of the libs changed at some point. They used to have a d suffix to indicate using double precision. This has been dropped I think. So you might need to update the lib names in your project. Phil Get Outlook for Android From: David Bergman <stu...@gm...> Sent: Friday, September 6, 2019 9:20:57 PM To: Phil Rosenberg <p.d...@gm...>; plp...@li... <plp...@li...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Phil, As per our last correspondence I had succeeded in getting the widgets headers and drivers built when I changed from Win64 to no Win64. But I still got an install error in the IDE (sent in a previous email). You had suggested that perhaps I didn't build widgets using 64bit so I decided to purge everything and start over. I built the widgets files using their sln with x64 set. Then built plplot with cmake no problem and widgets was declared ON as expected. Using the IDE and the sln to INSTALL led to hanging and errors three times in a row. After the 3rd time I just looked in the folders and figured if I can find everything I might be okay. My recollection is that this happened last time too (back in 2017). The example I was trying to run was a simple one of my own that plotted various 3-dim mesh surfaces. I did not try to build the official plplot examples yet. Perhaps I should try that first. I don't know if what I've written is helpful in helping you help me get it working. David On 9/6/2019 3:44 PM, Phil Rosenberg wrote: <!-- .EmailQuote {margin-left:1pt; padding-left:4pt; border-left:#800000 2px solid} --> Is this building the examples? Sounds like the libs are not being linked to properly. Did you get past the wxwidgets problem? Get Outlook for Android From: David Bergman <stu...@gm...> Sent: Friday, September 6, 2019 6:17:59 PM To: plp...@li... <plp...@li...> Subject: [Plplot-general] Problem with LNK2019 error unresolved external All, I have made some progress with building and installing the new plplot with a new wxwidets using VS 2017. I still have not gone past the install process in the IDE w/o an error but I seem to have all the headers and dll I need (though I'm not sure if they are corrupted). At present I've decided to move forward with what I have and try a simple example I wrote that worked with my previous config. I get unresolved externals, 14 to be exact. Basically every plplot function I call seems to cause this. A few example are provided. plAlloc2dGrid and all the plstream functions like box3, col0, font, etc. Typically what I cause this it's due to a function declaration in a class that is not defined elsewhere. It "seems like" my new build has the same files as the old one and the projects are comparable (with only diffs being the location of the new folders). Thanks in advance for your help. David --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus _______________________________________________ Plplot-general mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com Virus-free. www.avast.com |
From: David B. <stu...@gm...> - 2019-09-08 15:49:35
|
Well, I checked and the d suffix was not in my previous file names, the new and old have identical names. I am not seeing all the same headers in this build as before but I do see all the ones you listed in your previous email. David On 9/7/2019 3:34 AM, Phil Rosenberg wrote: > Hi David > Sounds like either one of the libs has been forgotten, or you are > building a 32bit exe and trying to link to the 64 bit libs you just built. > > Might be worth noting that I think the naming convention of the libs > changed at some point. They used to have a d suffix to indicate using > double precision. This has been dropped I think. So you might need to > update the lib names in your project. > > Phil > > Get Outlook for Android <https://aka.ms/ghei36> > > ------------------------------------------------------------------------ > *From:* David Bergman <stu...@gm...> > *Sent:* Friday, September 6, 2019 9:20:57 PM > *To:* Phil Rosenberg <p.d...@gm...>; > plp...@li... > <plp...@li...> > *Subject:* Re: [Plplot-general] Problem with LNK2019 error unresolved > external > > Phil, > > As per our last correspondence I had succeeded in getting the widgets > headers and drivers built when I changed from Win64 to no Win64. But > I still got an install error in the IDE (sent in a previous email). > You had suggested that perhaps I didn't build widgets using 64bit so I > decided to purge everything and start over. I built the widgets files > using their sln with x64 set. Then built plplot with cmake no problem > and widgets was declared ON as expected. Using the IDE and the sln to > INSTALL led to hanging and errors three times in a row. After the 3rd > time I just looked in the folders and figured if I can find everything > I might be okay. My recollection is that this happened last time too > (back in 2017). > > The example I was trying to run was a simple one of my own that > plotted various 3-dim mesh surfaces. > > I did not try to build the official plplot examples yet. Perhaps I > should try that first. > > I don't know if what I've written is helpful in helping you help me > get it working. > > David > > > > On 9/6/2019 3:44 PM, Phil Rosenberg wrote: >> >> Is this building the examples? Sounds like the libs are not being >> linked to properly. >> >> Did you get past the wxwidgets problem? >> >> Get Outlook for Android <https://aka.ms/ghei36> >> >> ------------------------------------------------------------------------ >> *From:* David Bergman <stu...@gm...> >> *Sent:* Friday, September 6, 2019 6:17:59 PM >> *To:* plp...@li... >> <plp...@li...> >> *Subject:* [Plplot-general] Problem with LNK2019 error unresolved >> external >> All, >> >> I have made some progress with building and installing the new plplot >> with a new wxwidets using VS 2017. >> >> I still have not gone past the install process in the IDE w/o an error >> but I seem to have all the headers and dll I need (though I'm not sure >> if they are corrupted). >> >> At present I've decided to move forward with what I have and try a >> simple example I wrote that worked with my previous config. >> >> I get unresolved externals, 14 to be exact. Basically every plplot >> function I call seems to cause this. A few example are provided. >> >> plAlloc2dGrid >> >> and all the plstream functions like box3, col0, font, etc. >> >> Typically what I cause this it's due to a function declaration in a >> class that is not defined elsewhere. >> >> It "seems like" my new build has the same files as the old one and the >> projects are comparable (with only diffs being the location of the new >> folders). >> >> Thanks in advance for your help. >> >> David >> >> >> --- >> This email has been checked for viruses by Avast antivirus software. >> https://www.avast.com/antivirus >> >> >> >> _______________________________________________ >> Plplot-general mailing list >> Plp...@li... >> https://lists.sourceforge.net/lists/listinfo/plplot-general > -- > David Bergman > David R Bergman Music LLC > "Have Guitar Will Travel" > Morristown NJ > 551-655-4720 > stu...@gm... > www.davidrobertbergmanmusic.com > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> > Virus-free. www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> > > -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com |
From: David B. <stu...@gm...> - 2019-09-09 17:31:22
|
Phil, I've gotten a little further. I tried to run one of the examples building a VS project and sln. Making sure everything was aligned w/r to he choice x64 I got a corrupted file error. Error LNK1107 invalid or corrupt file: cannot read at 0x310 plplotExamples C:\build-plplot-new-man\dll\csirocsa.dll 1 I am not sure what to do. Looking through some of the old blog posts of the issues I had last year it seems that is was also an issue then. When you do your build were you able to get everything using the sln or did you have to install at the command prompt too. That rings a bell and I think I wound up using nmake. Can you confirm your build/install procedure and perhaps shed some light on why csirocsa.dll would be corrupted? Thank you for your help. David On 9/7/2019 3:34 AM, Phil Rosenberg wrote: > Hi David > Sounds like either one of the libs has been forgotten, or you are > building a 32bit exe and trying to link to the 64 bit libs you just built. > > Might be worth noting that I think the naming convention of the libs > changed at some point. They used to have a d suffix to indicate using > double precision. This has been dropped I think. So you might need to > update the lib names in your project. > > Phil > > Get Outlook for Android <https://aka.ms/ghei36> > > ------------------------------------------------------------------------ > *From:* David Bergman <stu...@gm...> > *Sent:* Friday, September 6, 2019 9:20:57 PM > *To:* Phil Rosenberg <p.d...@gm...>; > plp...@li... > <plp...@li...> > *Subject:* Re: [Plplot-general] Problem with LNK2019 error unresolved > external > > Phil, > > As per our last correspondence I had succeeded in getting the widgets > headers and drivers built when I changed from Win64 to no Win64. But > I still got an install error in the IDE (sent in a previous email). > You had suggested that perhaps I didn't build widgets using 64bit so I > decided to purge everything and start over. I built the widgets files > using their sln with x64 set. Then built plplot with cmake no problem > and widgets was declared ON as expected. Using the IDE and the sln to > INSTALL led to hanging and errors three times in a row. After the 3rd > time I just looked in the folders and figured if I can find everything > I might be okay. My recollection is that this happened last time too > (back in 2017). > > The example I was trying to run was a simple one of my own that > plotted various 3-dim mesh surfaces. > > I did not try to build the official plplot examples yet. Perhaps I > should try that first. > > I don't know if what I've written is helpful in helping you help me > get it working. > > David > > > > On 9/6/2019 3:44 PM, Phil Rosenberg wrote: >> >> Is this building the examples? Sounds like the libs are not being >> linked to properly. >> >> Did you get past the wxwidgets problem? >> >> Get Outlook for Android <https://aka.ms/ghei36> >> >> ------------------------------------------------------------------------ >> *From:* David Bergman <stu...@gm...> >> *Sent:* Friday, September 6, 2019 6:17:59 PM >> *To:* plp...@li... >> <plp...@li...> >> *Subject:* [Plplot-general] Problem with LNK2019 error unresolved >> external >> All, >> >> I have made some progress with building and installing the new plplot >> with a new wxwidets using VS 2017. >> >> I still have not gone past the install process in the IDE w/o an error >> but I seem to have all the headers and dll I need (though I'm not sure >> if they are corrupted). >> >> At present I've decided to move forward with what I have and try a >> simple example I wrote that worked with my previous config. >> >> I get unresolved externals, 14 to be exact. Basically every plplot >> function I call seems to cause this. A few example are provided. >> >> plAlloc2dGrid >> >> and all the plstream functions like box3, col0, font, etc. >> >> Typically what I cause this it's due to a function declaration in a >> class that is not defined elsewhere. >> >> It "seems like" my new build has the same files as the old one and the >> projects are comparable (with only diffs being the location of the new >> folders). >> >> Thanks in advance for your help. >> >> David >> >> >> --- >> This email has been checked for viruses by Avast antivirus software. >> https://www.avast.com/antivirus >> >> >> >> _______________________________________________ >> Plplot-general mailing list >> Plp...@li... >> https://lists.sourceforge.net/lists/listinfo/plplot-general > -- > David Bergman > David R Bergman Music LLC > "Have Guitar Will Travel" > Morristown NJ > 551-655-4720 > stu...@gm... > www.davidrobertbergmanmusic.com > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> > Virus-free. www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> > > -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com |
From: Phil R. <p.d...@gm...> - 2019-09-09 18:20:22
|
Corrupt file error sounds like you are mixing 64 and 32 bit exes and dlls. I think I've had that error with some libraries before and found that was my mistake. Is your install bin directory on your path? Do you have any old dlls somewhere that might be on your path? I usually use static libs. I used a dll version of wxwidgets about 6 months ago, so I know things worked back then. But I'm back to using static libs again. I will build a dll version of plplot this evening and send you exactly the commands I used. Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: David Bergman <stu...@gm...> Sent: Monday, September 9, 2019 6:31:00 PM To: Phil Rosenberg <p.d...@gm...>; plp...@li... <plp...@li...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Phil, I've gotten a little further. I tried to run one of the examples building a VS project and sln. Making sure everything was aligned w/r to he choice x64 I got a corrupted file error. Error LNK1107 invalid or corrupt file: cannot read at 0x310 plplotExamples C:\build-plplot-new-man\dll\csirocsa.dll 1 I am not sure what to do. Looking through some of the old blog posts of the issues I had last year it seems that is was also an issue then. When you do your build were you able to get everything using the sln or did you have to install at the command prompt too. That rings a bell and I think I wound up using nmake. Can you confirm your build/install procedure and perhaps shed some light on why csirocsa.dll would be corrupted? Thank you for your help. David On 9/7/2019 3:34 AM, Phil Rosenberg wrote: Hi David Sounds like either one of the libs has been forgotten, or you are building a 32bit exe and trying to link to the 64 bit libs you just built. Might be worth noting that I think the naming convention of the libs changed at some point. They used to have a d suffix to indicate using double precision. This has been dropped I think. So you might need to update the lib names in your project. Phil Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: David Bergman <stu...@gm...><mailto:stu...@gm...> Sent: Friday, September 6, 2019 9:20:57 PM To: Phil Rosenberg <p.d...@gm...><mailto:p.d...@gm...>; plp...@li...<mailto:plp...@li...> <plp...@li...><mailto:plp...@li...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Phil, As per our last correspondence I had succeeded in getting the widgets headers and drivers built when I changed from Win64 to no Win64. But I still got an install error in the IDE (sent in a previous email). You had suggested that perhaps I didn't build widgets using 64bit so I decided to purge everything and start over. I built the widgets files using their sln with x64 set. Then built plplot with cmake no problem and widgets was declared ON as expected. Using the IDE and the sln to INSTALL led to hanging and errors three times in a row. After the 3rd time I just looked in the folders and figured if I can find everything I might be okay. My recollection is that this happened last time too (back in 2017). The example I was trying to run was a simple one of my own that plotted various 3-dim mesh surfaces. I did not try to build the official plplot examples yet. Perhaps I should try that first. I don't know if what I've written is helpful in helping you help me get it working. David On 9/6/2019 3:44 PM, Phil Rosenberg wrote: Is this building the examples? Sounds like the libs are not being linked to properly. Did you get past the wxwidgets problem? Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: David Bergman <stu...@gm...><mailto:stu...@gm...> Sent: Friday, September 6, 2019 6:17:59 PM To: plp...@li...<mailto:plp...@li...> <plp...@li...><mailto:plp...@li...> Subject: [Plplot-general] Problem with LNK2019 error unresolved external All, I have made some progress with building and installing the new plplot with a new wxwidets using VS 2017. I still have not gone past the install process in the IDE w/o an error but I seem to have all the headers and dll I need (though I'm not sure if they are corrupted). At present I've decided to move forward with what I have and try a simple example I wrote that worked with my previous config. I get unresolved externals, 14 to be exact. Basically every plplot function I call seems to cause this. A few example are provided. plAlloc2dGrid and all the plstream functions like box3, col0, font, etc. Typically what I cause this it's due to a function declaration in a class that is not defined elsewhere. It "seems like" my new build has the same files as the old one and the projects are comparable (with only diffs being the location of the new folders). Thanks in advance for your help. David --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus _______________________________________________ Plplot-general mailing list Plp...@li...<mailto:Plp...@li...> https://lists.sourceforge.net/lists/listinfo/plplot-general -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm...<mailto:stu...@gm...> www.davidrobertbergmanmusic.com<http://www.davidrobertbergmanmusic.com> [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> Virus-free. www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm...<mailto:stu...@gm...> www.davidrobertbergmanmusic.com<http://www.davidrobertbergmanmusic.com> |
From: stuntguitar1969 <stu...@gm...> - 2019-09-09 18:37:58
|
I will double check everything. Past issues in the thread have resolved by rebuilding and making sure x64 is chosen everywhere. I cannot rule out that something might be 32 bit but I tried to be thorough in the last build and install of everything. I do have my old libs and dlls but they are in a different dir which is not used in the project. I'll try the example again just to be sure. Sent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: Phil Rosenberg <p.d...@gm...> Date: 9/9/19 2:20 PM (GMT-05:00) To: plp...@li..., David Bergman <stu...@gm...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Corrupt file error sounds like you are mixing 64 and 32 bit exes and dlls. I think I've had that error with some libraries before and found that was my mistake. Is your install bin directory on your path? Do you have any old dlls somewhere that might be on your path? I usually use static libs. I used a dll version of wxwidgets about 6 months ago, so I know things worked back then. But I'm back to using static libs again. I will build a dll version of plplot this evening and send you exactly the commands I used. Get Outlook for Android From: David Bergman <stu...@gm...> Sent: Monday, September 9, 2019 6:31:00 PM To: Phil Rosenberg <p.d...@gm...>; plp...@li... <plp...@li...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Phil, I've gotten a little further. I tried to run one of the examples building a VS project and sln. Making sure everything was aligned w/r to he choice x64 I got a corrupted file error. Error LNK1107 invalid or corrupt file: cannot read at 0x310 plplotExamples C:\build-plplot-new-man\dll\csirocsa.dll 1 I am not sure what to do. Looking through some of the old blog posts of the issues I had last year it seems that is was also an issue then. When you do your build were you able to get everything using the sln or did you have to install at the command prompt too. That rings a bell and I think I wound up using nmake. Can you confirm your build/install procedure and perhaps shed some light on why csirocsa.dll would be corrupted? Thank you for your help. David On 9/7/2019 3:34 AM, Phil Rosenberg wrote: Hi David Sounds like either one of the libs has been forgotten, or you are building a 32bit exe and trying to link to the 64 bit libs you just built. Might be worth noting that I think the naming convention of the libs changed at some point. They used to have a d suffix to indicate using double precision. This has been dropped I think. So you might need to update the lib names in your project. Phil Get Outlook for Android From: David Bergman <stu...@gm...> Sent: Friday, September 6, 2019 9:20:57 PM To: Phil Rosenberg <p.d...@gm...>; plp...@li... <plp...@li...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Phil, As per our last correspondence I had succeeded in getting the widgets headers and drivers built when I changed from Win64 to no Win64. But I still got an install error in the IDE (sent in a previous email). You had suggested that perhaps I didn't build widgets using 64bit so I decided to purge everything and start over. I built the widgets files using their sln with x64 set. Then built plplot with cmake no problem and widgets was declared ON as expected. Using the IDE and the sln to INSTALL led to hanging and errors three times in a row. After the 3rd time I just looked in the folders and figured if I can find everything I might be okay. My recollection is that this happened last time too (back in 2017). The example I was trying to run was a simple one of my own that plotted various 3-dim mesh surfaces. I did not try to build the official plplot examples yet. Perhaps I should try that first. I don't know if what I've written is helpful in helping you help me get it working. David On 9/6/2019 3:44 PM, Phil Rosenberg wrote: <!-- .EmailQuote {margin-left:1pt; padding-left:4pt; border-left:#800000 2px solid} --> Is this building the examples? Sounds like the libs are not being linked to properly. Did you get past the wxwidgets problem? Get Outlook for Android From: David Bergman <stu...@gm...> Sent: Friday, September 6, 2019 6:17:59 PM To: plp...@li... <plp...@li...> Subject: [Plplot-general] Problem with LNK2019 error unresolved external All, I have made some progress with building and installing the new plplot with a new wxwidets using VS 2017. I still have not gone past the install process in the IDE w/o an error but I seem to have all the headers and dll I need (though I'm not sure if they are corrupted). At present I've decided to move forward with what I have and try a simple example I wrote that worked with my previous config. I get unresolved externals, 14 to be exact. Basically every plplot function I call seems to cause this. A few example are provided. plAlloc2dGrid and all the plstream functions like box3, col0, font, etc. Typically what I cause this it's due to a function declaration in a class that is not defined elsewhere. It "seems like" my new build has the same files as the old one and the projects are comparable (with only diffs being the location of the new folders). Thanks in advance for your help. David --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus _______________________________________________ Plplot-general mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com Virus-free. www.avast.com -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com |
From: Phil R. <p.d...@gm...> - 2019-09-09 19:34:12
|
Is the directory containing your old dlls listed in your path variable. If so, the old ones can be found by mistake and erroneously used. Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: stuntguitar1969 <stu...@gm...> Sent: Monday, September 9, 2019 7:37:47 PM To: Phil Rosenberg <p.d...@gm...>; plp...@li... <plp...@li...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external I will double check everything. Past issues in the thread have resolved by rebuilding and making sure x64 is chosen everywhere. I cannot rule out that something might be 32 bit but I tried to be thorough in the last build and install of everything. I do have my old libs and dlls but they are in a different dir which is not used in the project. I'll try the example again just to be sure. Sent from my Verizon, Samsung Galaxy smartphone -------- Original message -------- From: Phil Rosenberg <p.d...@gm...> Date: 9/9/19 2:20 PM (GMT-05:00) To: plp...@li..., David Bergman <stu...@gm...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Corrupt file error sounds like you are mixing 64 and 32 bit exes and dlls. I think I've had that error with some libraries before and found that was my mistake. Is your install bin directory on your path? Do you have any old dlls somewhere that might be on your path? I usually use static libs. I used a dll version of wxwidgets about 6 months ago, so I know things worked back then. But I'm back to using static libs again. I will build a dll version of plplot this evening and send you exactly the commands I used. Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: David Bergman <stu...@gm...> Sent: Monday, September 9, 2019 6:31:00 PM To: Phil Rosenberg <p.d...@gm...>; plp...@li... <plp...@li...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Phil, I've gotten a little further. I tried to run one of the examples building a VS project and sln. Making sure everything was aligned w/r to he choice x64 I got a corrupted file error. Error LNK1107 invalid or corrupt file: cannot read at 0x310 plplotExamples C:\build-plplot-new-man\dll\csirocsa.dll 1 I am not sure what to do. Looking through some of the old blog posts of the issues I had last year it seems that is was also an issue then. When you do your build were you able to get everything using the sln or did you have to install at the command prompt too. That rings a bell and I think I wound up using nmake. Can you confirm your build/install procedure and perhaps shed some light on why csirocsa.dll would be corrupted? Thank you for your help. David On 9/7/2019 3:34 AM, Phil Rosenberg wrote: Hi David Sounds like either one of the libs has been forgotten, or you are building a 32bit exe and trying to link to the 64 bit libs you just built. Might be worth noting that I think the naming convention of the libs changed at some point. They used to have a d suffix to indicate using double precision. This has been dropped I think. So you might need to update the lib names in your project. Phil Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: David Bergman <stu...@gm...><mailto:stu...@gm...> Sent: Friday, September 6, 2019 9:20:57 PM To: Phil Rosenberg <p.d...@gm...><mailto:p.d...@gm...>; plp...@li...<mailto:plp...@li...> <plp...@li...><mailto:plp...@li...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Phil, As per our last correspondence I had succeeded in getting the widgets headers and drivers built when I changed from Win64 to no Win64. But I still got an install error in the IDE (sent in a previous email). You had suggested that perhaps I didn't build widgets using 64bit so I decided to purge everything and start over. I built the widgets files using their sln with x64 set. Then built plplot with cmake no problem and widgets was declared ON as expected. Using the IDE and the sln to INSTALL led to hanging and errors three times in a row. After the 3rd time I just looked in the folders and figured if I can find everything I might be okay. My recollection is that this happened last time too (back in 2017). The example I was trying to run was a simple one of my own that plotted various 3-dim mesh surfaces. I did not try to build the official plplot examples yet. Perhaps I should try that first. I don't know if what I've written is helpful in helping you help me get it working. David On 9/6/2019 3:44 PM, Phil Rosenberg wrote: Is this building the examples? Sounds like the libs are not being linked to properly. Did you get past the wxwidgets problem? Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: David Bergman <stu...@gm...><mailto:stu...@gm...> Sent: Friday, September 6, 2019 6:17:59 PM To: plp...@li...<mailto:plp...@li...> <plp...@li...><mailto:plp...@li...> Subject: [Plplot-general] Problem with LNK2019 error unresolved external All, I have made some progress with building and installing the new plplot with a new wxwidets using VS 2017. I still have not gone past the install process in the IDE w/o an error but I seem to have all the headers and dll I need (though I'm not sure if they are corrupted). At present I've decided to move forward with what I have and try a simple example I wrote that worked with my previous config. I get unresolved externals, 14 to be exact. Basically every plplot function I call seems to cause this. A few example are provided. plAlloc2dGrid and all the plstream functions like box3, col0, font, etc. Typically what I cause this it's due to a function declaration in a class that is not defined elsewhere. It "seems like" my new build has the same files as the old one and the projects are comparable (with only diffs being the location of the new folders). Thanks in advance for your help. David --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus _______________________________________________ Plplot-general mailing list Plp...@li...<mailto:Plp...@li...> https://lists.sourceforge.net/lists/listinfo/plplot-general -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm...<mailto:stu...@gm...> www.davidrobertbergmanmusic.com<http://www.davidrobertbergmanmusic.com> [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> Virus-free. www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm...<mailto:stu...@gm...> www.davidrobertbergmanmusic.com<http://www.davidrobertbergmanmusic.com> |
From: David B. <stu...@gm...> - 2019-09-09 19:39:07
|
No it is not. On 9/9/2019 3:33 PM, Phil Rosenberg wrote: > Is the directory containing your old dlls listed in your path > variable. If so, the old ones can be found by mistake and erroneously > used. > > Get Outlook for Android <https://aka.ms/ghei36> > > ------------------------------------------------------------------------ > *From:* stuntguitar1969 <stu...@gm...> > *Sent:* Monday, September 9, 2019 7:37:47 PM > *To:* Phil Rosenberg <p.d...@gm...>; > plp...@li... > <plp...@li...> > *Subject:* Re: [Plplot-general] Problem with LNK2019 error unresolved > external > I will double check everything. Past issues in the thread have > resolved by rebuilding and making sure x64 is chosen everywhere. I > cannot rule out that something might be 32 bit but I tried to be > thorough in the last build and install of everything. I do have my > old libs and dlls but they are in a different dir which is not used in > the project. I'll try the example again just to be sure. > > > > Sent from my Verizon, Samsung Galaxy smartphone > > -------- Original message -------- > From: Phil Rosenberg <p.d...@gm...> > Date: 9/9/19 2:20 PM (GMT-05:00) > To: plp...@li..., David Bergman > <stu...@gm...> > Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved > external > > Corrupt file error sounds like you are mixing 64 and 32 bit exes and > dlls. I think I've had that error with some libraries before and found > that was my mistake. > > Is your install bin directory on your path? Do you have any old dlls > somewhere that might be on your path? > > I usually use static libs. I used a dll version of wxwidgets about 6 > months ago, so I know things worked back then. But I'm back to using > static libs again. I will build a dll version of plplot this evening > and send you exactly the commands I used. > > Get Outlook for Android <https://aka.ms/ghei36> > > ------------------------------------------------------------------------ > *From:* David Bergman <stu...@gm...> > *Sent:* Monday, September 9, 2019 6:31:00 PM > *To:* Phil Rosenberg <p.d...@gm...>; > plp...@li... > <plp...@li...> > *Subject:* Re: [Plplot-general] Problem with LNK2019 error unresolved > external > > Phil, > > I've gotten a little further. I tried to run one of the examples > building a VS project and sln. Making sure everything was aligned w/r > to he choice x64 I got a corrupted file error. > > Error LNK1107 invalid or corrupt file: cannot read at 0x310 > plplotExamples C:\build-plplot-new-man\dll\csirocsa.dll 1 > > I am not sure what to do. Looking through some of the old blog posts > of the issues I had last year it seems that is was also an issue then. > > When you do your build were you able to get everything using the sln > or did you have to install at the command prompt too. That rings a > bell and I think I wound up using nmake. > > Can you confirm your build/install procedure and perhaps shed some > light on why csirocsa.dll would be corrupted? > > Thank you for your help. > > David > > > > On 9/7/2019 3:34 AM, Phil Rosenberg wrote: >> Hi David >> Sounds like either one of the libs has been forgotten, or you are >> building a 32bit exe and trying to link to the 64 bit libs you just >> built. >> >> Might be worth noting that I think the naming convention of the libs >> changed at some point. They used to have a d suffix to indicate using >> double precision. This has been dropped I think. So you might need to >> update the lib names in your project. >> >> Phil >> >> Get Outlook for Android <https://aka.ms/ghei36> >> >> ------------------------------------------------------------------------ >> *From:* David Bergman <stu...@gm...> >> *Sent:* Friday, September 6, 2019 9:20:57 PM >> *To:* Phil Rosenberg <p.d...@gm...>; >> plp...@li... >> <plp...@li...> >> *Subject:* Re: [Plplot-general] Problem with LNK2019 error unresolved >> external >> >> Phil, >> >> As per our last correspondence I had succeeded in getting the widgets >> headers and drivers built when I changed from Win64 to no Win64. But >> I still got an install error in the IDE (sent in a previous email). >> You had suggested that perhaps I didn't build widgets using 64bit so >> I decided to purge everything and start over. I built the widgets >> files using their sln with x64 set. Then built plplot with cmake no >> problem and widgets was declared ON as expected. Using the IDE and >> the sln to INSTALL led to hanging and errors three times in a row. >> After the 3rd time I just looked in the folders and figured if I can >> find everything I might be okay. My recollection is that this >> happened last time too (back in 2017). >> >> The example I was trying to run was a simple one of my own that >> plotted various 3-dim mesh surfaces. >> >> I did not try to build the official plplot examples yet. Perhaps I >> should try that first. >> >> I don't know if what I've written is helpful in helping you help me >> get it working. >> >> David >> >> >> >> On 9/6/2019 3:44 PM, Phil Rosenberg wrote: >>> >>> Is this building the examples? Sounds like the libs are not being >>> linked to properly. >>> >>> Did you get past the wxwidgets problem? >>> >>> Get Outlook for Android <https://aka.ms/ghei36> >>> >>> ------------------------------------------------------------------------ >>> *From:* David Bergman <stu...@gm...> >>> *Sent:* Friday, September 6, 2019 6:17:59 PM >>> *To:* plp...@li... >>> <plp...@li...> >>> *Subject:* [Plplot-general] Problem with LNK2019 error unresolved >>> external >>> All, >>> >>> I have made some progress with building and installing the new plplot >>> with a new wxwidets using VS 2017. >>> >>> I still have not gone past the install process in the IDE w/o an error >>> but I seem to have all the headers and dll I need (though I'm not sure >>> if they are corrupted). >>> >>> At present I've decided to move forward with what I have and try a >>> simple example I wrote that worked with my previous config. >>> >>> I get unresolved externals, 14 to be exact. Basically every plplot >>> function I call seems to cause this. A few example are provided. >>> >>> plAlloc2dGrid >>> >>> and all the plstream functions like box3, col0, font, etc. >>> >>> Typically what I cause this it's due to a function declaration in a >>> class that is not defined elsewhere. >>> >>> It "seems like" my new build has the same files as the old one and the >>> projects are comparable (with only diffs being the location of the new >>> folders). >>> >>> Thanks in advance for your help. >>> >>> David >>> >>> >>> --- >>> This email has been checked for viruses by Avast antivirus software. >>> https://www.avast.com/antivirus >>> >>> >>> >>> _______________________________________________ >>> Plplot-general mailing list >>> Plp...@li... >>> https://lists.sourceforge.net/lists/listinfo/plplot-general >> -- >> David Bergman >> David R Bergman Music LLC >> "Have Guitar Will Travel" >> Morristown NJ >> 551-655-4720 >> stu...@gm... >> www.davidrobertbergmanmusic.com >> >> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> >> Virus-free. www.avast.com >> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> >> >> > -- > David Bergman > David R Bergman Music LLC > "Have Guitar Will Travel" > Morristown NJ > 551-655-4720 > stu...@gm... > www.davidrobertbergmanmusic.com -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com |
From: David B. <stu...@gm...> - 2019-10-18 15:15:27
|
Hello, I wanted to reach out, yet again, to try and resolve some of the issues I'm having with getting plplot to install and work. I really don't know why this has been so difficult. Based on some advice I received reaching out to the widgets and plplot user groups and my own review of my system I decided to completely delete my current plplot and wxwidgets builds and start over. This is for my Windows 8.1 laptop using VS 2017, x64. I also removed every occurrence of older versions of widgets and plplot even though I made sure they were not in the path. So I started with a completely clean system in this regard. I installed wxwidgets using the sln provided and that went without any issue. The I built and installed plplot using cmake followed by the sln without any trouble at all. I made sure both were built with the x64 (64 bit) option chosen so as to not mix 32 and 64 bit. Trying to build and run one of the plplot examples (x64 option) leads to the following: (1) dynamic linking causes a corrupt dll error (likely cause 32 and 64 mix, but I can't see how that is). (2) static linking works! but I still get a system crash upon closing the terminal. I cannot offer more than what I've provided in previous email threads. It seems that there are a few things I'm doing wrong but I just cannot see based on following the directions, or there is a bad combo of packages, SDK toolkit, and OS. Any suggestions would be appreciated. David On 9/9/2019 2:20 PM, Phil Rosenberg wrote: > Corrupt file error sounds like you are mixing 64 and 32 bit exes and > dlls. I think I've had that error with some libraries before and found > that was my mistake. > > Is your install bin directory on your path? Do you have any old dlls > somewhere that might be on your path? > > I usually use static libs. I used a dll version of wxwidgets about 6 > months ago, so I know things worked back then. But I'm back to using > static libs again. I will build a dll version of plplot this evening > and send you exactly the commands I used. > > Get Outlook for Android <https://aka.ms/ghei36> > > ------------------------------------------------------------------------ > *From:* David Bergman <stu...@gm...> > *Sent:* Monday, September 9, 2019 6:31:00 PM > *To:* Phil Rosenberg <p.d...@gm...>; > plp...@li... > <plp...@li...> > *Subject:* Re: [Plplot-general] Problem with LNK2019 error unresolved > external > > Phil, > > I've gotten a little further. I tried to run one of the examples > building a VS project and sln. Making sure everything was aligned w/r > to he choice x64 I got a corrupted file error. > > Error LNK1107 invalid or corrupt file: cannot read at 0x310 > plplotExamples C:\build-plplot-new-man\dll\csirocsa.dll 1 > > I am not sure what to do. Looking through some of the old blog posts > of the issues I had last year it seems that is was also an issue then. > > When you do your build were you able to get everything using the sln > or did you have to install at the command prompt too. That rings a > bell and I think I wound up using nmake. > > Can you confirm your build/install procedure and perhaps shed some > light on why csirocsa.dll would be corrupted? > > Thank you for your help. > > David > > > > On 9/7/2019 3:34 AM, Phil Rosenberg wrote: >> Hi David >> Sounds like either one of the libs has been forgotten, or you are >> building a 32bit exe and trying to link to the 64 bit libs you just >> built. >> >> Might be worth noting that I think the naming convention of the libs >> changed at some point. They used to have a d suffix to indicate using >> double precision. This has been dropped I think. So you might need to >> update the lib names in your project. >> >> Phil >> >> Get Outlook for Android <https://aka.ms/ghei36> >> >> ------------------------------------------------------------------------ >> *From:* David Bergman <stu...@gm...> >> *Sent:* Friday, September 6, 2019 9:20:57 PM >> *To:* Phil Rosenberg <p.d...@gm...>; >> plp...@li... >> <plp...@li...> >> *Subject:* Re: [Plplot-general] Problem with LNK2019 error unresolved >> external >> >> Phil, >> >> As per our last correspondence I had succeeded in getting the widgets >> headers and drivers built when I changed from Win64 to no Win64. But >> I still got an install error in the IDE (sent in a previous email). >> You had suggested that perhaps I didn't build widgets using 64bit so >> I decided to purge everything and start over. I built the widgets >> files using their sln with x64 set. Then built plplot with cmake no >> problem and widgets was declared ON as expected. Using the IDE and >> the sln to INSTALL led to hanging and errors three times in a row. >> After the 3rd time I just looked in the folders and figured if I can >> find everything I might be okay. My recollection is that this >> happened last time too (back in 2017). >> >> The example I was trying to run was a simple one of my own that >> plotted various 3-dim mesh surfaces. >> >> I did not try to build the official plplot examples yet. Perhaps I >> should try that first. >> >> I don't know if what I've written is helpful in helping you help me >> get it working. >> >> David >> >> >> >> On 9/6/2019 3:44 PM, Phil Rosenberg wrote: >>> >>> Is this building the examples? Sounds like the libs are not being >>> linked to properly. >>> >>> Did you get past the wxwidgets problem? >>> >>> Get Outlook for Android <https://aka.ms/ghei36> >>> >>> ------------------------------------------------------------------------ >>> *From:* David Bergman <stu...@gm...> >>> *Sent:* Friday, September 6, 2019 6:17:59 PM >>> *To:* plp...@li... >>> <plp...@li...> >>> *Subject:* [Plplot-general] Problem with LNK2019 error unresolved >>> external >>> All, >>> >>> I have made some progress with building and installing the new plplot >>> with a new wxwidets using VS 2017. >>> >>> I still have not gone past the install process in the IDE w/o an error >>> but I seem to have all the headers and dll I need (though I'm not sure >>> if they are corrupted). >>> >>> At present I've decided to move forward with what I have and try a >>> simple example I wrote that worked with my previous config. >>> >>> I get unresolved externals, 14 to be exact. Basically every plplot >>> function I call seems to cause this. A few example are provided. >>> >>> plAlloc2dGrid >>> >>> and all the plstream functions like box3, col0, font, etc. >>> >>> Typically what I cause this it's due to a function declaration in a >>> class that is not defined elsewhere. >>> >>> It "seems like" my new build has the same files as the old one and the >>> projects are comparable (with only diffs being the location of the new >>> folders). >>> >>> Thanks in advance for your help. >>> >>> David >>> >>> >>> --- >>> This email has been checked for viruses by Avast antivirus software. >>> https://www.avast.com/antivirus >>> >>> >>> >>> _______________________________________________ >>> Plplot-general mailing list >>> Plp...@li... >>> https://lists.sourceforge.net/lists/listinfo/plplot-general >> -- >> David Bergman >> David R Bergman Music LLC >> "Have Guitar Will Travel" >> Morristown NJ >> 551-655-4720 >> stu...@gm... >> www.davidrobertbergmanmusic.com >> >> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> >> Virus-free. www.avast.com >> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> >> >> > -- > David Bergman > David R Bergman Music LLC > "Have Guitar Will Travel" > Morristown NJ > 551-655-4720 > stu...@gm... > www.davidrobertbergmanmusic.com -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: Phil R. <p.d...@gm...> - 2019-10-21 18:02:47
|
Hi David Sorry I've not been back to you again on this. I've been away with work and had a week laid up with flu. For your dll build. Can you open the plplot.sln. Where it says platform at the top, check it says x64. If you hit the drop down, the only option should be x64. How have you created the sln for the example? Did you do it manually or using the -DBUILD_TEST=ON option with cmake? If you did it manually then check the x64 is set in your example at the top when you open it in visual studio. If this doesn't work then try emptying your build directory and rerunning cmake including the test option from above. Now when you open the plplot.sln file you will find a set of example projects in the solution explorer. Try right clicking and building one of these. Some other things you can try: Install dependency walker and run this on your example executable - it should show you the dlls it is using which might give you a clue. Try using the "where" command from the command line. Something like where plplot.dll Should list all instances of plplot.dll on your path. You may wish to run this from the working directory of your example - I'm not sure, but maybe it makes a difference. Hope that helps you make progress. Phil Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: David Bergman <stu...@gm...> Sent: Friday, October 18, 2019 4:15:07 PM To: Phil Rosenberg <p.d...@gm...>; plp...@li... <plp...@li...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Hello, I wanted to reach out, yet again, to try and resolve some of the issues I'm having with getting plplot to install and work. I really don't know why this has been so difficult. Based on some advice I received reaching out to the widgets and plplot user groups and my own review of my system I decided to completely delete my current plplot and wxwidgets builds and start over. This is for my Windows 8.1 laptop using VS 2017, x64. I also removed every occurrence of older versions of widgets and plplot even though I made sure they were not in the path. So I started with a completely clean system in this regard. I installed wxwidgets using the sln provided and that went without any issue. The I built and installed plplot using cmake followed by the sln without any trouble at all. I made sure both were built with the x64 (64 bit) option chosen so as to not mix 32 and 64 bit. Trying to build and run one of the plplot examples (x64 option) leads to the following: (1) dynamic linking causes a corrupt dll error (likely cause 32 and 64 mix, but I can't see how that is). (2) static linking works! but I still get a system crash upon closing the terminal. I cannot offer more than what I've provided in previous email threads. It seems that there are a few things I'm doing wrong but I just cannot see based on following the directions, or there is a bad combo of packages, SDK toolkit, and OS. Any suggestions would be appreciated. David On 9/9/2019 2:20 PM, Phil Rosenberg wrote: Corrupt file error sounds like you are mixing 64 and 32 bit exes and dlls. I think I've had that error with some libraries before and found that was my mistake. Is your install bin directory on your path? Do you have any old dlls somewhere that might be on your path? I usually use static libs. I used a dll version of wxwidgets about 6 months ago, so I know things worked back then. But I'm back to using static libs again. I will build a dll version of plplot this evening and send you exactly the commands I used. Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: David Bergman <stu...@gm...><mailto:stu...@gm...> Sent: Monday, September 9, 2019 6:31:00 PM To: Phil Rosenberg <p.d...@gm...><mailto:p.d...@gm...>; plp...@li...<mailto:plp...@li...> <plp...@li...><mailto:plp...@li...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Phil, I've gotten a little further. I tried to run one of the examples building a VS project and sln. Making sure everything was aligned w/r to he choice x64 I got a corrupted file error. Error LNK1107 invalid or corrupt file: cannot read at 0x310 plplotExamples C:\build-plplot-new-man\dll\csirocsa.dll 1 I am not sure what to do. Looking through some of the old blog posts of the issues I had last year it seems that is was also an issue then. When you do your build were you able to get everything using the sln or did you have to install at the command prompt too. That rings a bell and I think I wound up using nmake. Can you confirm your build/install procedure and perhaps shed some light on why csirocsa.dll would be corrupted? Thank you for your help. David On 9/7/2019 3:34 AM, Phil Rosenberg wrote: Hi David Sounds like either one of the libs has been forgotten, or you are building a 32bit exe and trying to link to the 64 bit libs you just built. Might be worth noting that I think the naming convention of the libs changed at some point. They used to have a d suffix to indicate using double precision. This has been dropped I think. So you might need to update the lib names in your project. Phil Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: David Bergman <stu...@gm...><mailto:stu...@gm...> Sent: Friday, September 6, 2019 9:20:57 PM To: Phil Rosenberg <p.d...@gm...><mailto:p.d...@gm...>; plp...@li...<mailto:plp...@li...> <plp...@li...><mailto:plp...@li...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Phil, As per our last correspondence I had succeeded in getting the widgets headers and drivers built when I changed from Win64 to no Win64. But I still got an install error in the IDE (sent in a previous email). You had suggested that perhaps I didn't build widgets using 64bit so I decided to purge everything and start over. I built the widgets files using their sln with x64 set. Then built plplot with cmake no problem and widgets was declared ON as expected. Using the IDE and the sln to INSTALL led to hanging and errors three times in a row. After the 3rd time I just looked in the folders and figured if I can find everything I might be okay. My recollection is that this happened last time too (back in 2017). The example I was trying to run was a simple one of my own that plotted various 3-dim mesh surfaces. I did not try to build the official plplot examples yet. Perhaps I should try that first. I don't know if what I've written is helpful in helping you help me get it working. David On 9/6/2019 3:44 PM, Phil Rosenberg wrote: Is this building the examples? Sounds like the libs are not being linked to properly. Did you get past the wxwidgets problem? Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: David Bergman <stu...@gm...><mailto:stu...@gm...> Sent: Friday, September 6, 2019 6:17:59 PM To: plp...@li...<mailto:plp...@li...> <plp...@li...><mailto:plp...@li...> Subject: [Plplot-general] Problem with LNK2019 error unresolved external All, I have made some progress with building and installing the new plplot with a new wxwidets using VS 2017. I still have not gone past the install process in the IDE w/o an error but I seem to have all the headers and dll I need (though I'm not sure if they are corrupted). At present I've decided to move forward with what I have and try a simple example I wrote that worked with my previous config. I get unresolved externals, 14 to be exact. Basically every plplot function I call seems to cause this. A few example are provided. plAlloc2dGrid and all the plstream functions like box3, col0, font, etc. Typically what I cause this it's due to a function declaration in a class that is not defined elsewhere. It "seems like" my new build has the same files as the old one and the projects are comparable (with only diffs being the location of the new folders). Thanks in advance for your help. David --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus _______________________________________________ Plplot-general mailing list Plp...@li...<mailto:Plp...@li...> https://lists.sourceforge.net/lists/listinfo/plplot-general -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm...<mailto:stu...@gm...> www.davidrobertbergmanmusic.com<http://www.davidrobertbergmanmusic.com> [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> Virus-free. www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm...<mailto:stu...@gm...> www.davidrobertbergmanmusic.com<http://www.davidrobertbergmanmusic.com> -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm...<mailto:stu...@gm...> www.davidrobertbergmanmusic.com<http://www.davidrobertbergmanmusic.com> |
From: David B. <stu...@gm...> - 2019-10-21 18:11:22
|
I am sorry you had the flu and hope you are on the mend. Well, I did got some other folks chiming in and the consensus is that my system may be hosed. I've been trying to get the same config up and running on an "identical" Windows 8.1 machine (Inspiron 15R) and running into problems with the plplot sln hanging and failing to build the dyndriver test project. I have answered your questions below with my initials as a tag. David On 10/21/2019 2:02 PM, Phil Rosenberg wrote: > Hi David > Sorry I've not been back to you again on this. I've been away with > work and had a week laid up with flu. > > For your dll build. Can you open the plplot.sln. Where it says > platform at the top, check it says x64. If you hit the drop down, the > only option should be x64. > [BD] Yes, everything was x64. > How have you created the sln for the example? Did you do it manually > or using the -DBUILD_TEST=ON option with cmake? > [DB] I did it manually. > If you did it manually then check the x64 is set in your example at > the top when you open it in visual studio. > [DB] Yes, x64 was the choice. > If this doesn't work then try emptying your build directory and > rerunning cmake including the test option from above. > [DB] I did try that and having -DBUILD_TEST=ON causes the build to fail. > Now when you open the plplot.sln file you will find a set of example > projects in the solution explorer. Try right clicking and building one > of these. > > Some other things you can try: > Install dependency walker and run this on your example executable - it > should show you the dlls it is using which might give you a clue. > [DB] I'll give this a try. I've never used it. > Try using the "where" command from the command line. Something like > where plplot.dll > Should list all instances of plplot.dll on your path. You may wish to > run this from the working directory of your example - I'm not sure, > but maybe it makes a difference. > > Hope that helps you make progress. > > Phil > > Get Outlook for Android <https://aka.ms/ghei36> > > ------------------------------------------------------------------------ > *From:* David Bergman <stu...@gm...> > *Sent:* Friday, October 18, 2019 4:15:07 PM > *To:* Phil Rosenberg <p.d...@gm...>; > plp...@li... > <plp...@li...> > *Subject:* Re: [Plplot-general] Problem with LNK2019 error unresolved > external > > Hello, > > I wanted to reach out, yet again, to try and resolve some of the > issues I'm having with getting plplot to install and work. I really > don't know why this has been so difficult. Based on some advice I > received reaching out to the widgets and plplot user groups and my own > review of my system I decided to completely delete my current plplot > and wxwidgets builds and start over. > > This is for my Windows 8.1 laptop using VS 2017, x64. I also removed > every occurrence of older versions of widgets and plplot even though I > made sure they were not in the path. So I started with a completely > clean system in this regard. > > I installed wxwidgets using the sln provided and that went without any > issue. > > The I built and installed plplot using cmake followed by the sln > without any trouble at all. > > I made sure both were built with the x64 (64 bit) option chosen so as > to not mix 32 and 64 bit. > > Trying to build and run one of the plplot examples (x64 option) leads > to the following: > > (1) dynamic linking causes a corrupt dll error (likely cause 32 and 64 > mix, but I can't see how that is). > > (2) static linking works! but I still get a system crash upon closing > the terminal. > > I cannot offer more than what I've provided in previous email > threads. It seems that there are a few things I'm doing wrong but I > just cannot see based on following the directions, or there is a bad > combo of packages, SDK toolkit, and OS. > > Any suggestions would be appreciated. > > David > > > On 9/9/2019 2:20 PM, Phil Rosenberg wrote: >> Corrupt file error sounds like you are mixing 64 and 32 bit exes and >> dlls. I think I've had that error with some libraries before and >> found that was my mistake. >> >> Is your install bin directory on your path? Do you have any old dlls >> somewhere that might be on your path? >> >> I usually use static libs. I used a dll version of wxwidgets about 6 >> months ago, so I know things worked back then. But I'm back to using >> static libs again. I will build a dll version of plplot this evening >> and send you exactly the commands I used. >> >> Get Outlook for Android <https://aka.ms/ghei36> >> >> ------------------------------------------------------------------------ >> *From:* David Bergman <stu...@gm...> >> *Sent:* Monday, September 9, 2019 6:31:00 PM >> *To:* Phil Rosenberg <p.d...@gm...>; >> plp...@li... >> <plp...@li...> >> *Subject:* Re: [Plplot-general] Problem with LNK2019 error unresolved >> external >> >> Phil, >> >> I've gotten a little further. I tried to run one of the examples >> building a VS project and sln. Making sure everything was aligned >> w/r to he choice x64 I got a corrupted file error. >> >> Error LNK1107 invalid or corrupt file: cannot read at 0x310 >> plplotExamples C:\build-plplot-new-man\dll\csirocsa.dll 1 >> >> I am not sure what to do. Looking through some of the old blog posts >> of the issues I had last year it seems that is was also an issue then. >> >> When you do your build were you able to get everything using the sln >> or did you have to install at the command prompt too. That rings a >> bell and I think I wound up using nmake. >> >> Can you confirm your build/install procedure and perhaps shed some >> light on why csirocsa.dll would be corrupted? >> >> Thank you for your help. >> >> David >> >> >> >> On 9/7/2019 3:34 AM, Phil Rosenberg wrote: >>> Hi David >>> Sounds like either one of the libs has been forgotten, or you are >>> building a 32bit exe and trying to link to the 64 bit libs you just >>> built. >>> >>> Might be worth noting that I think the naming convention of the libs >>> changed at some point. They used to have a d suffix to indicate >>> using double precision. This has been dropped I think. So you might >>> need to update the lib names in your project. >>> >>> Phil >>> >>> Get Outlook for Android <https://aka.ms/ghei36> >>> >>> ------------------------------------------------------------------------ >>> *From:* David Bergman <stu...@gm...> >>> *Sent:* Friday, September 6, 2019 9:20:57 PM >>> *To:* Phil Rosenberg <p.d...@gm...>; >>> plp...@li... >>> <plp...@li...> >>> *Subject:* Re: [Plplot-general] Problem with LNK2019 error >>> unresolved external >>> >>> Phil, >>> >>> As per our last correspondence I had succeeded in getting the >>> widgets headers and drivers built when I changed from Win64 to no >>> Win64. But I still got an install error in the IDE (sent in a >>> previous email). You had suggested that perhaps I didn't build >>> widgets using 64bit so I decided to purge everything and start >>> over. I built the widgets files using their sln with x64 set. Then >>> built plplot with cmake no problem and widgets was declared ON as >>> expected. Using the IDE and the sln to INSTALL led to hanging and >>> errors three times in a row. After the 3rd time I just looked in >>> the folders and figured if I can find everything I might be okay. >>> My recollection is that this happened last time too (back in 2017). >>> >>> The example I was trying to run was a simple one of my own that >>> plotted various 3-dim mesh surfaces. >>> >>> I did not try to build the official plplot examples yet. Perhaps I >>> should try that first. >>> >>> I don't know if what I've written is helpful in helping you help me >>> get it working. >>> >>> David >>> >>> >>> >>> On 9/6/2019 3:44 PM, Phil Rosenberg wrote: >>>> >>>> Is this building the examples? Sounds like the libs are not being >>>> linked to properly. >>>> >>>> Did you get past the wxwidgets problem? >>>> >>>> Get Outlook for Android <https://aka.ms/ghei36> >>>> >>>> ------------------------------------------------------------------------ >>>> *From:* David Bergman <stu...@gm...> >>>> *Sent:* Friday, September 6, 2019 6:17:59 PM >>>> *To:* plp...@li... >>>> <plp...@li...> >>>> *Subject:* [Plplot-general] Problem with LNK2019 error unresolved >>>> external >>>> All, >>>> >>>> I have made some progress with building and installing the new plplot >>>> with a new wxwidets using VS 2017. >>>> >>>> I still have not gone past the install process in the IDE w/o an error >>>> but I seem to have all the headers and dll I need (though I'm not sure >>>> if they are corrupted). >>>> >>>> At present I've decided to move forward with what I have and try a >>>> simple example I wrote that worked with my previous config. >>>> >>>> I get unresolved externals, 14 to be exact. Basically every plplot >>>> function I call seems to cause this. A few example are provided. >>>> >>>> plAlloc2dGrid >>>> >>>> and all the plstream functions like box3, col0, font, etc. >>>> >>>> Typically what I cause this it's due to a function declaration in a >>>> class that is not defined elsewhere. >>>> >>>> It "seems like" my new build has the same files as the old one and the >>>> projects are comparable (with only diffs being the location of the new >>>> folders). >>>> >>>> Thanks in advance for your help. >>>> >>>> David >>>> >>>> >>>> --- >>>> This email has been checked for viruses by Avast antivirus software. >>>> https://www.avast.com/antivirus >>>> >>>> >>>> >>>> _______________________________________________ >>>> Plplot-general mailing list >>>> Plp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/plplot-general >>> -- >>> David Bergman >>> David R Bergman Music LLC >>> "Have Guitar Will Travel" >>> Morristown NJ >>> 551-655-4720 >>> stu...@gm... >>> www.davidrobertbergmanmusic.com >>> >>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> >>> Virus-free. www.avast.com >>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> >>> >>> >> -- >> David Bergman >> David R Bergman Music LLC >> "Have Guitar Will Travel" >> Morristown NJ >> 551-655-4720 >> stu...@gm... >> www.davidrobertbergmanmusic.com > -- > David Bergman > David R Bergman Music LLC > "Have Guitar Will Travel" > Morristown NJ > 551-655-4720 > stu...@gm... > www.davidrobertbergmanmusic.com -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: David B. <stu...@gm...> - 2019-10-21 23:36:55
|
I thought I'd give an update. I just finished building up the complete configuration of VS 2017 + wxWidgets + PLplot on a completely independent but otherwise identical computer. A Dell Inspiron 15R with Windows 8.1. It was suggested that my other computer might have a corrupted OS if it had been installed from an image that was corrupted before the drive crash occurred. Unfortunately this new build produced the exact same error for the plplot examples, namely heap issue related to ntdll.dll upon calling "delete pls", deletion of the pl stream. This type of thing is beyond me. If anyone has more suggestions I would appreciate it. Thank you, David On 10/21/2019 2:11 PM, David Bergman wrote: > > I am sorry you had the flu and hope you are on the mend. Well, I did > got some other folks chiming in and the consensus is that my system > may be hosed. I've been trying to get the same config up and running > on an "identical" Windows 8.1 machine (Inspiron 15R) and running into > problems with the plplot sln hanging and failing to build the > dyndriver test project. I have answered your questions below with my > initials as a tag. > > David > > > On 10/21/2019 2:02 PM, Phil Rosenberg wrote: >> Hi David >> Sorry I've not been back to you again on this. I've been away with >> work and had a week laid up with flu. >> >> For your dll build. Can you open the plplot.sln. Where it says >> platform at the top, check it says x64. If you hit the drop down, the >> only option should be x64. >> > [BD] Yes, everything was x64. > >> How have you created the sln for the example? Did you do it manually >> or using the -DBUILD_TEST=ON option with cmake? >> > [DB] I did it manually. > >> If you did it manually then check the x64 is set in your example at >> the top when you open it in visual studio. >> > [DB] Yes, x64 was the choice. >> If this doesn't work then try emptying your build directory and >> rerunning cmake including the test option from above. >> > [DB] I did try that and having -DBUILD_TEST=ON causes the build to fail. >> Now when you open the plplot.sln file you will find a set of example >> projects in the solution explorer. Try right clicking and building >> one of these. >> >> Some other things you can try: >> Install dependency walker and run this on your example executable - >> it should show you the dlls it is using which might give you a clue. >> > [DB] I'll give this a try. I've never used it. >> Try using the "where" command from the command line. Something like >> where plplot.dll >> Should list all instances of plplot.dll on your path. You may wish to >> run this from the working directory of your example - I'm not sure, >> but maybe it makes a difference. >> >> Hope that helps you make progress. >> >> Phil >> >> Get Outlook for Android <https://aka.ms/ghei36> >> >> ------------------------------------------------------------------------ >> *From:* David Bergman <stu...@gm...> >> *Sent:* Friday, October 18, 2019 4:15:07 PM >> *To:* Phil Rosenberg <p.d...@gm...>; >> plp...@li... >> <plp...@li...> >> *Subject:* Re: [Plplot-general] Problem with LNK2019 error unresolved >> external >> >> Hello, >> >> I wanted to reach out, yet again, to try and resolve some of the >> issues I'm having with getting plplot to install and work. I really >> don't know why this has been so difficult. Based on some advice I >> received reaching out to the widgets and plplot user groups and my >> own review of my system I decided to completely delete my current >> plplot and wxwidgets builds and start over. >> >> This is for my Windows 8.1 laptop using VS 2017, x64. I also removed >> every occurrence of older versions of widgets and plplot even though >> I made sure they were not in the path. So I started with a >> completely clean system in this regard. >> >> I installed wxwidgets using the sln provided and that went without >> any issue. >> >> The I built and installed plplot using cmake followed by the sln >> without any trouble at all. >> >> I made sure both were built with the x64 (64 bit) option chosen so as >> to not mix 32 and 64 bit. >> >> Trying to build and run one of the plplot examples (x64 option) leads >> to the following: >> >> (1) dynamic linking causes a corrupt dll error (likely cause 32 and >> 64 mix, but I can't see how that is). >> >> (2) static linking works! but I still get a system crash upon closing >> the terminal. >> >> I cannot offer more than what I've provided in previous email >> threads. It seems that there are a few things I'm doing wrong but I >> just cannot see based on following the directions, or there is a bad >> combo of packages, SDK toolkit, and OS. >> >> Any suggestions would be appreciated. >> >> David >> >> >> On 9/9/2019 2:20 PM, Phil Rosenberg wrote: >>> Corrupt file error sounds like you are mixing 64 and 32 bit exes and >>> dlls. I think I've had that error with some libraries before and >>> found that was my mistake. >>> >>> Is your install bin directory on your path? Do you have any old dlls >>> somewhere that might be on your path? >>> >>> I usually use static libs. I used a dll version of wxwidgets about 6 >>> months ago, so I know things worked back then. But I'm back to using >>> static libs again. I will build a dll version of plplot this evening >>> and send you exactly the commands I used. >>> >>> Get Outlook for Android <https://aka.ms/ghei36> >>> >>> ------------------------------------------------------------------------ >>> *From:* David Bergman <stu...@gm...> >>> *Sent:* Monday, September 9, 2019 6:31:00 PM >>> *To:* Phil Rosenberg <p.d...@gm...>; >>> plp...@li... >>> <plp...@li...> >>> *Subject:* Re: [Plplot-general] Problem with LNK2019 error >>> unresolved external >>> >>> Phil, >>> >>> I've gotten a little further. I tried to run one of the examples >>> building a VS project and sln. Making sure everything was aligned >>> w/r to he choice x64 I got a corrupted file error. >>> >>> Error LNK1107 invalid or corrupt file: cannot read at 0x310 >>> plplotExamples C:\build-plplot-new-man\dll\csirocsa.dll 1 >>> >>> I am not sure what to do. Looking through some of the old blog >>> posts of the issues I had last year it seems that is was also an >>> issue then. >>> >>> When you do your build were you able to get everything using the sln >>> or did you have to install at the command prompt too. That rings a >>> bell and I think I wound up using nmake. >>> >>> Can you confirm your build/install procedure and perhaps shed some >>> light on why csirocsa.dll would be corrupted? >>> >>> Thank you for your help. >>> >>> David >>> >>> >>> >>> On 9/7/2019 3:34 AM, Phil Rosenberg wrote: >>>> Hi David >>>> Sounds like either one of the libs has been forgotten, or you are >>>> building a 32bit exe and trying to link to the 64 bit libs you just >>>> built. >>>> >>>> Might be worth noting that I think the naming convention of the >>>> libs changed at some point. They used to have a d suffix to >>>> indicate using double precision. This has been dropped I think. So >>>> you might need to update the lib names in your project. >>>> >>>> Phil >>>> >>>> Get Outlook for Android <https://aka.ms/ghei36> >>>> >>>> ------------------------------------------------------------------------ >>>> *From:* David Bergman <stu...@gm...> >>>> *Sent:* Friday, September 6, 2019 9:20:57 PM >>>> *To:* Phil Rosenberg <p.d...@gm...>; >>>> plp...@li... >>>> <plp...@li...> >>>> *Subject:* Re: [Plplot-general] Problem with LNK2019 error >>>> unresolved external >>>> >>>> Phil, >>>> >>>> As per our last correspondence I had succeeded in getting the >>>> widgets headers and drivers built when I changed from Win64 to no >>>> Win64. But I still got an install error in the IDE (sent in a >>>> previous email). You had suggested that perhaps I didn't build >>>> widgets using 64bit so I decided to purge everything and start >>>> over. I built the widgets files using their sln with x64 set. >>>> Then built plplot with cmake no problem and widgets was declared ON >>>> as expected. Using the IDE and the sln to INSTALL led to hanging >>>> and errors three times in a row. After the 3rd time I just looked >>>> in the folders and figured if I can find everything I might be >>>> okay. My recollection is that this happened last time too (back in >>>> 2017). >>>> >>>> The example I was trying to run was a simple one of my own that >>>> plotted various 3-dim mesh surfaces. >>>> >>>> I did not try to build the official plplot examples yet. Perhaps I >>>> should try that first. >>>> >>>> I don't know if what I've written is helpful in helping you help me >>>> get it working. >>>> >>>> David >>>> >>>> >>>> >>>> On 9/6/2019 3:44 PM, Phil Rosenberg wrote: >>>>> >>>>> Is this building the examples? Sounds like the libs are not being >>>>> linked to properly. >>>>> >>>>> Did you get past the wxwidgets problem? >>>>> >>>>> Get Outlook for Android <https://aka.ms/ghei36> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> *From:* David Bergman <stu...@gm...> >>>>> *Sent:* Friday, September 6, 2019 6:17:59 PM >>>>> *To:* plp...@li... >>>>> <plp...@li...> >>>>> *Subject:* [Plplot-general] Problem with LNK2019 error unresolved >>>>> external >>>>> All, >>>>> >>>>> I have made some progress with building and installing the new plplot >>>>> with a new wxwidets using VS 2017. >>>>> >>>>> I still have not gone past the install process in the IDE w/o an >>>>> error >>>>> but I seem to have all the headers and dll I need (though I'm not >>>>> sure >>>>> if they are corrupted). >>>>> >>>>> At present I've decided to move forward with what I have and try a >>>>> simple example I wrote that worked with my previous config. >>>>> >>>>> I get unresolved externals, 14 to be exact. Basically every plplot >>>>> function I call seems to cause this. A few example are provided. >>>>> >>>>> plAlloc2dGrid >>>>> >>>>> and all the plstream functions like box3, col0, font, etc. >>>>> >>>>> Typically what I cause this it's due to a function declaration in a >>>>> class that is not defined elsewhere. >>>>> >>>>> It "seems like" my new build has the same files as the old one and >>>>> the >>>>> projects are comparable (with only diffs being the location of the >>>>> new >>>>> folders). >>>>> >>>>> Thanks in advance for your help. >>>>> >>>>> David >>>>> >>>>> >>>>> --- >>>>> This email has been checked for viruses by Avast antivirus software. >>>>> https://www.avast.com/antivirus >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Plplot-general mailing list >>>>> Plp...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/plplot-general >>>> -- >>>> David Bergman >>>> David R Bergman Music LLC >>>> "Have Guitar Will Travel" >>>> Morristown NJ >>>> 551-655-4720 >>>> stu...@gm... >>>> www.davidrobertbergmanmusic.com >>>> >>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> >>>> Virus-free. www.avast.com >>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> >>>> >>>> >>> -- >>> David Bergman >>> David R Bergman Music LLC >>> "Have Guitar Will Travel" >>> Morristown NJ >>> 551-655-4720 >>> stu...@gm... >>> www.davidrobertbergmanmusic.com >> -- >> David Bergman >> David R Bergman Music LLC >> "Have Guitar Will Travel" >> Morristown NJ >> 551-655-4720 >> stu...@gm... >> www.davidrobertbergmanmusic.com > -- > David Bergman > David R Bergman Music LLC > "Have Guitar Will Travel" > Morristown NJ > 551-655-4720 > stu...@gm... > www.davidrobertbergmanmusic.com -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: Ferrell, S. <sfe...@ya...> - 2019-10-22 09:25:10
|
I just completed a fresh PLPlot 5.15 build on a fresh install of Windows 8.1 using a fresh install of VS 2013 update 5 on a virtual machine. I can't recreate your problem with any of the C++ examples that call delete pls. The only thing that I can think of at this point is that possibly your copy of VS doesn't have the latest updates applied. -- The quality of your thoughts will determine the quality of your life. On Monday, October 21, 2019, 04:37:11 PM MST, David Bergman <stu...@gm...> wrote: I thought I'd give an update. I just finished building up the complete configuration of VS 2017 + wxWidgets + PLplot on a completely independent but otherwise identical computer. A Dell Inspiron 15R with Windows 8.1. It was suggested that my other computer might have a corrupted OS if it had been installed from an image that was corrupted before the drive crash occurred. Unfortunately this new build produced the exact same error for the plplot examples, namely heap issue related to ntdll.dll upon calling "delete pls", deletion of the pl stream. This type of thing is beyond me. If anyone has more suggestions I would appreciate it. Thank you, David On 10/21/2019 2:11 PM, David Bergman wrote: I am sorry you had the flu and hope you are on the mend. Well, I did got some other folks chiming in and the consensus is that my system may be hosed. I've been trying to get the same config up and running on an "identical" Windows 8.1 machine (Inspiron 15R) and running into problems with the plplot sln hanging and failing to build the dyndriver test project. I have answered your questions below with my initials as a tag. David On 10/21/2019 2:02 PM, Phil Rosenberg wrote: Hi David Sorry I've not been back to you again on this. I've been away with work and had a week laid up with flu. For your dll build. Can you open the plplot.sln. Where it says platform at the top, check it says x64. If you hit the drop down, the only option should be x64. [BD] Yes, everything was x64. How have you created the sln for the example? Did you do it manually or using the -DBUILD_TEST=ON option with cmake? [DB] I did it manually. If you did it manually then check the x64 is set in your example at the top when you open it in visual studio. [DB] Yes, x64 was the choice. If this doesn't work then try emptying your build directory and rerunning cmake including the test option from above. [DB] I did try that and having -DBUILD_TEST=ON causes the build to fail. Now when you open the plplot.sln file you will find a set of example projects in the solution explorer. Try right clicking and building one of these. Some other things you can try: Install dependency walker and run this on your example executable - it should show you the dlls it is using which might give you a clue. [DB] I'll give this a try. I've never used it. Try using the "where" command from the command line. Something like where plplot.dll Should list all instances of plplot.dll on your path. You may wish to run this from the working directory of your example - I'm not sure, but maybe it makes a difference. Hope that helps you make progress. Phil Get Outlook for Android From: David Bergman <stu...@gm...> Sent: Friday, October 18, 2019 4:15:07 PM To: Phil Rosenberg <p.d...@gm...>; plp...@li... <plp...@li...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Hello, I wanted to reach out, yet again, to try and resolve some of the issues I'm having with getting plplot to install and work. I really don't know why this has been so difficult. Based on some advice I received reaching out to the widgets and plplot user groups and my own review of my system I decided to completely delete my current plplot and wxwidgets builds and start over. This is for my Windows 8.1 laptop using VS 2017, x64. I also removed every occurrence of older versions of widgets and plplot even though I made sure they were not in the path. So I started with a completely clean system in this regard. I installed wxwidgets using the sln provided and that went without any issue. The I built and installed plplot using cmake followed by the sln without any trouble at all. I made sure both were built with the x64 (64 bit) option chosen so as to not mix 32 and 64 bit. Trying to build and run one of the plplot examples (x64 option) leads to the following: (1) dynamic linking causes a corrupt dll error (likely cause 32 and 64 mix, but I can't see how that is). (2) static linking works! but I still get a system crash upon closing the terminal. I cannot offer more than what I've provided in previous email threads. It seems that there are a few things I'm doing wrong but I just cannot see based on following the directions, or there is a bad combo of packages, SDK toolkit, and OS. Any suggestions would be appreciated. David On 9/9/2019 2:20 PM, Phil Rosenberg wrote: Corrupt file error sounds like you are mixing 64 and 32 bit exes and dlls. I think I've had that error with some libraries before and found that was my mistake. Is your install bin directory on your path? Do you have any old dlls somewhere that might be on your path? I usually use static libs. I used a dll version of wxwidgets about 6 months ago, so I know things worked back then. But I'm back to using static libs again. I will build a dll version of plplot this evening and send you exactly the commands I used. Get Outlook for Android From: David Bergman <stu...@gm...> Sent: Monday, September 9, 2019 6:31:00 PM To: Phil Rosenberg <p.d...@gm...>; plp...@li... <plp...@li...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Phil, I've gotten a little further. I tried to run one of the examples building a VS project and sln. Making sure everything was aligned w/r to he choice x64 I got a corrupted file error. Error LNK1107 invalid or corrupt file: cannot read at 0x310 plplotExamples C:\build-plplot-new-man\dll\csirocsa.dll 1 I am not sure what to do. Looking through some of the old blog posts of the issues I had last year it seems that is was also an issue then. When you do your build were you able to get everything using the sln or did you have to install at the command prompt too. That rings a bell and I think I wound up using nmake. Can you confirm your build/install procedure and perhaps shed some light on why csirocsa.dll would be corrupted? Thank you for your help. David On 9/7/2019 3:34 AM, Phil Rosenberg wrote: Hi David Sounds like either one of the libs has been forgotten, or you are building a 32bit exe and trying to link to the 64 bit libs you just built. Might be worth noting that I think the naming convention of the libs changed at some point. They used to have a d suffix to indicate using double precision. This has been dropped I think. So you might need to update the lib names in your project. Phil Get Outlook for Android From: David Bergman <stu...@gm...> Sent: Friday, September 6, 2019 9:20:57 PM To: Phil Rosenberg <p.d...@gm...>; plp...@li... <plp...@li...> Subject: Re: [Plplot-general] Problem with LNK2019 error unresolved external Phil, As per our last correspondence I had succeeded in getting the widgets headers and drivers built when I changed from Win64 to no Win64. But I still got an install error in the IDE (sent in a previous email). You had suggested that perhaps I didn't build widgets using 64bit so I decided to purge everything and start over. I built the widgets files using their sln with x64 set. Then built plplot with cmake no problem and widgets was declared ON as expected. Using the IDE and the sln to INSTALL led to hanging and errors three times in a row. After the 3rd time I just looked in the folders and figured if I can find everything I might be okay. My recollection is that this happened last time too (back in 2017). The example I was trying to run was a simple one of my own that plotted various 3-dim mesh surfaces. I did not try to build the official plplot examples yet. Perhaps I should try that first. I don't know if what I've written is helpful in helping you help me get it working. David On 9/6/2019 3:44 PM, Phil Rosenberg wrote: Is this building the examples? Sounds like the libs are not being linked to properly. Did you get past the wxwidgets problem? Get Outlook for Android From: David Bergman <stu...@gm...> Sent: Friday, September 6, 2019 6:17:59 PM To: plp...@li... <plp...@li...> Subject: [Plplot-general] Problem with LNK2019 error unresolved external All, I have made some progress with building and installing the new plplot with a new wxwidets using VS 2017. I still have not gone past the install process in the IDE w/o an error but I seem to have all the headers and dll I need (though I'm not sure if they are corrupted). At present I've decided to move forward with what I have and try a simple example I wrote that worked with my previous config. I get unresolved externals, 14 to be exact. Basically every plplot function I call seems to cause this. A few example are provided. plAlloc2dGrid and all the plstream functions like box3, col0, font, etc. Typically what I cause this it's due to a function declaration in a class that is not defined elsewhere. It "seems like" my new build has the same files as the old one and the projects are comparable (with only diffs being the location of the new folders). Thanks in advance for your help. David --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus _______________________________________________ Plplot-general mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com | | Virus-free. www.avast.com | -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com _______________________________________________ Plplot-general mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general |
From: David B. <stu...@gm...> - 2019-10-22 13:07:47
|
Just out of curiosity has anyone actually tried the same config as I am? VS 2017, on Windows 8.1, with plplot-5.15.0 and wxWidgets-3.1.2? On 10/22/2019 5:23 AM, Ferrell, Stephen wrote: > I just completed a fresh PLPlot 5.15 build on a fresh install of > Windows 8.1 using a fresh install of VS 2013 update 5 on a virtual > machine. I can't recreate your problem with any of the C++ examples > that call delete pls. The only thing that I can think of at this point > is that possibly your copy of VS doesn't have the latest updates applied. > > -- The quality of your thoughts will determine the quality of your life. > > > On Monday, October 21, 2019, 04:37:11 PM MST, David Bergman > <stu...@gm...> wrote: > > > I thought I'd give an update. I just finished building up the > complete configuration of VS 2017 + wxWidgets + PLplot on a completely > independent but otherwise identical computer. A Dell Inspiron 15R > with Windows 8.1. It was suggested that my other computer might have > a corrupted OS if it had been installed from an image that was > corrupted before the drive crash occurred. Unfortunately this new > build produced the exact same error for the plplot examples, namely > heap issue related to ntdll.dll upon calling "delete pls", deletion of > the pl stream. > > This type of thing is beyond me. If anyone has more suggestions I > would appreciate it. > > Thank you, > > David > > > On 10/21/2019 2:11 PM, David Bergman wrote: > > I am sorry you had the flu and hope you are on the mend. Well, I did > got some other folks chiming in and the consensus is that my system > may be hosed. I've been trying to get the same config up and running > on an "identical" Windows 8.1 machine (Inspiron 15R) and running into > problems with the plplot sln hanging and failing to build the > dyndriver test project. I have answered your questions below with my > initials as a tag. > > David > > > On 10/21/2019 2:02 PM, Phil Rosenberg wrote: > Hi David > Sorry I've not been back to you again on this. I've been away with > work and had a week laid up with flu. > > For your dll build. Can you open the plplot.sln. Where it says > platform at the top, check it says x64. If you hit the drop down, the > only option should be x64. > > [BD] Yes, everything was x64. > >> How have you created the sln for the example? Did you do it manually >> or using the -DBUILD_TEST=ON option with cmake? >> > [DB] I did it manually. > >> If you did it manually then check the x64 is set in your example at >> the top when you open it in visual studio. >> > [DB] Yes, x64 was the choice. >> If this doesn't work then try emptying your build directory and >> rerunning cmake including the test option from above. >> > [DB] I did try that and having -DBUILD_TEST=ON causes the build to fail. >> Now when you open the plplot.sln file you will find a set of example >> projects in the solution explorer. Try right clicking and building >> one of these. >> >> Some other things you can try: >> Install dependency walker and run this on your example executable - >> it should show you the dlls it is using which might give you a clue. >> > [DB] I'll give this a try. I've never used it. >> Try using the "where" command from the command line. Something like >> where plplot.dll >> Should list all instances of plplot.dll on your path. You may wish to >> run this from the working directory of your example - I'm not sure, >> but maybe it makes a difference. >> >> Hope that helps you make progress. >> >> Phil >> >> Get Outlook for Android <https://aka.ms/ghei36> >> >> ------------------------------------------------------------------------ >> *From:* David Bergman <stu...@gm...> >> <mailto:stu...@gm...> >> *Sent:* Friday, October 18, 2019 4:15:07 PM >> *To:* Phil Rosenberg <p.d...@gm...> >> <mailto:p.d...@gm...>; >> plp...@li... >> <mailto:plp...@li...> >> <plp...@li...> >> <mailto:plp...@li...> >> *Subject:* Re: [Plplot-general] Problem with LNK2019 error unresolved >> external >> >> Hello, >> >> I wanted to reach out, yet again, to try and resolve some of the >> issues I'm having with getting plplot to install and work. I really >> don't know why this has been so difficult. Based on some advice I >> received reaching out to the widgets and plplot user groups and my >> own review of my system I decided to completely delete my current >> plplot and wxwidgets builds and start over. >> >> This is for my Windows 8.1 laptop using VS 2017, x64. I also removed >> every occurrence of older versions of widgets and plplot even though >> I made sure they were not in the path. So I started with a >> completely clean system in this regard. >> >> I installed wxwidgets using the sln provided and that went without >> any issue. >> >> The I built and installed plplot using cmake followed by the sln >> without any trouble at all. >> >> I made sure both were built with the x64 (64 bit) option chosen so as >> to not mix 32 and 64 bit. >> >> Trying to build and run one of the plplot examples (x64 option) leads >> to the following: >> >> (1) dynamic linking causes a corrupt dll error (likely cause 32 and >> 64 mix, but I can't see how that is). >> >> (2) static linking works! but I still get a system crash upon closing >> the terminal. >> >> I cannot offer more than what I've provided in previous email >> threads. It seems that there are a few things I'm doing wrong but I >> just cannot see based on following the directions, or there is a bad >> combo of packages, SDK toolkit, and OS. >> >> Any suggestions would be appreciated. >> >> David >> >> >> On 9/9/2019 2:20 PM, Phil Rosenberg wrote: > Corrupt file error sounds like you are mixing 64 and 32 bit exes and > dlls. I think I've had that error with some libraries before and found > that was my mistake. > > Is your install bin directory on your path? Do you have any old dlls > somewhere that might be on your path? > > I usually use static libs. I used a dll version of wxwidgets about 6 > months ago, so I know things worked back then. But I'm back to using > static libs again. I will build a dll version of plplot this evening > and send you exactly the commands I used. > > Get Outlook for Android <https://aka.ms/ghei36> > > ------------------------------------------------------------------------ > *From:* David Bergman <stu...@gm...> > <mailto:stu...@gm...> > *Sent:* Monday, September 9, 2019 6:31:00 PM > *To:* Phil Rosenberg <p.d...@gm...> > <mailto:p.d...@gm...>; plp...@li... > <mailto:plp...@li...> > <plp...@li...> > <mailto:plp...@li...> > *Subject:* Re: [Plplot-general] Problem with LNK2019 error unresolved > external > > Phil, > > I've gotten a little further. I tried to run one of the examples > building a VS project and sln. Making sure everything was aligned w/r > to he choice x64 I got a corrupted file error. > > Error LNK1107 invalid or corrupt file: cannot read at 0x310 > plplotExamples C:\build-plplot-new-man\dll\csirocsa.dll 1 > > I am not sure what to do. Looking through some of the old blog posts > of the issues I had last year it seems that is was also an issue then. > > When you do your build were you able to get everything using the sln > or did you have to install at the command prompt too. That rings a > bell and I think I wound up using nmake. > > Can you confirm your build/install procedure and perhaps shed some > light on why csirocsa.dll would be corrupted? > > Thank you for your help. > > David > > > > On 9/7/2019 3:34 AM, Phil Rosenberg wrote: > Hi David > Sounds like either one of the libs has been forgotten, or you are > building a 32bit exe and trying to link to the 64 bit libs you just built. > > Might be worth noting that I think the naming convention of the libs > changed at some point. They used to have a d suffix to indicate using > double precision. This has been dropped I think. So you might need to > update the lib names in your project. > > Phil > > Get Outlook for Android <https://aka.ms/ghei36> > > ------------------------------------------------------------------------ > *From:* David Bergman <stu...@gm...> > <mailto:stu...@gm...> > *Sent:* Friday, September 6, 2019 9:20:57 PM > *To:* Phil Rosenberg <p.d...@gm...> > <mailto:p.d...@gm...>; plp...@li... > <mailto:plp...@li...> > <plp...@li...> > <mailto:plp...@li...> > *Subject:* Re: [Plplot-general] Problem with LNK2019 error unresolved > external > > Phil, > > As per our last correspondence I had succeeded in getting the widgets > headers and drivers built when I changed from Win64 to no Win64. But > I still got an install error in the IDE (sent in a previous email). > You had suggested that perhaps I didn't build widgets using 64bit so I > decided to purge everything and start over. I built the widgets files > using their sln with x64 set. Then built plplot with cmake no problem > and widgets was declared ON as expected. Using the IDE and the sln to > INSTALL led to hanging and errors three times in a row. After the 3rd > time I just looked in the folders and figured if I can find everything > I might be okay. My recollection is that this happened last time too > (back in 2017). > > The example I was trying to run was a simple one of my own that > plotted various 3-dim mesh surfaces. > > I did not try to build the official plplot examples yet. Perhaps I > should try that first. > > I don't know if what I've written is helpful in helping you help me > get it working. > > David > > > > On 9/6/2019 3:44 PM, Phil Rosenberg wrote: > > Is this building the examples? Sounds like the libs are not being > linked to properly. > > Did you get past the wxwidgets problem? > > Get Outlook for Android <https://aka.ms/ghei36> > > ------------------------------------------------------------------------ > *From:* David Bergman <stu...@gm...> > <mailto:stu...@gm...> > *Sent:* Friday, September 6, 2019 6:17:59 PM > *To:* plp...@li... > <mailto:plp...@li...> > <plp...@li...> > <mailto:plp...@li...> > *Subject:* [Plplot-general] Problem with LNK2019 error unresolved > external > All, > > I have made some progress with building and installing the new plplot > with a new wxwidets using VS 2017. > > I still have not gone past the install process in the IDE w/o an error > but I seem to have all the headers and dll I need (though I'm not sure > if they are corrupted). > > At present I've decided to move forward with what I have and try a > simple example I wrote that worked with my previous config. > > I get unresolved externals, 14 to be exact. Basically every plplot > function I call seems to cause this. A few example are provided. > > plAlloc2dGrid > > and all the plstream functions like box3, col0, font, etc. > > Typically what I cause this it's due to a function declaration in a > class that is not defined elsewhere. > > It "seems like" my new build has the same files as the old one and the > projects are comparable (with only diffs being the location of the new > folders). > > Thanks in advance for your help. > > David > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > > > _______________________________________________ > Plplot-general mailing list > Plp...@li... > <mailto:Plp...@li...> > https://lists.sourceforge.net/lists/listinfo/plplot-general > -- > David Bergman > David R Bergman Music LLC > "Have Guitar Will Travel" > Morristown NJ > 551-655-4720 > stu...@gm... <mailto:stu...@gm...> > www.davidrobertbergmanmusic.com <http://www.davidrobertbergmanmusic.com> > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> > Virus-free. www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> > > > -- > David Bergman > David R Bergman Music LLC > "Have Guitar Will Travel" > Morristown NJ > 551-655-4720 > stu...@gm... <mailto:stu...@gm...> > www.davidrobertbergmanmusic.com <http://www.davidrobertbergmanmusic.com> > -- > David Bergman > David R Bergman Music LLC > "Have Guitar Will Travel" > Morristown NJ > 551-655-4720 > stu...@gm... <mailto:stu...@gm...> > www.davidrobertbergmanmusic.com <http://www.davidrobertbergmanmusic.com> > -- > David Bergman > David R Bergman Music LLC > "Have Guitar Will Travel" > Morristown NJ > 551-655-4720 > stu...@gm... <mailto:stu...@gm...> > www.davidrobertbergmanmusic.com <http://www.davidrobertbergmanmusic.com> > -- > David Bergman > David R Bergman Music LLC > "Have Guitar Will Travel" > Morristown NJ > 551-655-4720 > stu...@gm... <mailto:stu...@gm...> > www.davidrobertbergmanmusic.com <http://www.davidrobertbergmanmusic.com> > _______________________________________________ > Plplot-general mailing list > Plp...@li... > <mailto:Plp...@li...> > https://lists.sourceforge.net/lists/listinfo/plplot-general -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com |