On 2007-04-09 09:10-0700 winson wrote:
> I used the newly compiled library in my code. Similar
> error, but a little bit different info.
>
> Error:
> HEAP CORRUPTION DETECTED: after Normal block (#18524)
> at 0x01809958. CRT detected that the application wrote
> to memory after end of heap buffer.
On 2007-04-09 09:10-0700 winson wrote:
> Alan,
>
> I tried again, and no more error message while buiding
> the library. Good job!
Couldn't have done it without your clear error reports. Thanks for those
as well as pioneering the Visual C++ 2005 platform for us.
I will let Werner handle the add
Alan,
I tried again, and no more error message while buiding
the library. Good job!
I used the newly compiled library in my code. Similar
error, but a little bit different info.
Error:
HEAP CORRUPTION DETECTED: after Normal block (#18524)
at 0x01809958. CRT detected that the application wrote
to
On 2007-04-08 21:48-0700 winson wrote:
> Alan,
>
> I did a fresh build again. The same error.
Hi Winson:
Thanks for your quick test, and your report of results. I just committed
another change (revision 7662) which solves one obvious cross-platform issue
in the last commit. Perhaps it will work
Alan,
I did a fresh build again. The same error. What I did
is as following.
1) In subversion repository, in folder
'trunk/'(Rev7661), under 'include/'(Rev7659), I
downloaded file CMakeLists.txt(7659).
2)Unpack plplot-5.7.3 into D:\plplot. Replace
CMakeLists.txt in folder D:\plplot\include with
On 2007-04-07 11:42-0700 Alan W. Irwin wrote:
> []I have never been particularly happy with the brute-force approach
> I authored to establish the dependency of the custom command on the
> plhershey-unicode-gen executable, and I will ask if there is a better way to
> establish such a dependenc
I finally put the library compiled into use. I added
the following code in my program, as suggested by the
wxWidgets example in the document.
#include "plplotP.h"
#include "plstream.h"
#include "wxPLplotstream.h"
#include "wx/dcmemory.h"
#include "wx/bitmap.h"
#include "wx/dc.h"
class MyPanelGra
Alan,
Thank you for the help. I just have replied to
Werner's message with a little bit more testing
results. So far I have managed to create the library
files with no error message from either cmake or VC++,
although with some cheating. I feel that the compiled
library files should be all right t
Werner,
I appreciate your encouragement and help. I was so
confused these several days. Here is what I get in the
project file:
In this configuration, the path seems
D:\plplot-5.7.3\VC2005\include\plhershey-unicode-gen.exe
But where I found the file on my computer for release
build is
D:\plp
On 2007-04-07 10:26-0700 winson wrote:
> 4) Build the library with release configuration, and I
> got the same fail:
>
> Generating plhershey-unicode.h
> 'plhershey-unicode-gen.exe' is not recognized as an
> internal or external command,
> operable program or batch file.
>
> I searched the file 'p
Hi Winson,
> One question I have now is that how I should change
> the configuration so that the compiler can find
> 'plhershey-unicode-gen.exe' on my computer and do the
> header file generation? Perhaps add a couple of lines
> in CMakeLists.txt, but which one and what shall I add?
> Thanks.
>
Alan,
I tried it again with release building. Here is what I
did and what's going on.
1) I unpacked the plplot5.7.3 package into folder
D:\plplot-5.7.3
2) I launched the command-line window, ran the batch
file which set up the VC command env. And then typed
in:
cd plplot-5.7.3
mkdir vcxx
cd vcx
On 2007-04-06 19:43-0700 winson wrote:
> Alan,
>
> Thanks for the suggestion. I tried again as you
> suggested by only doing the debug build. The same
> thing still happens.
Thanks for that additional testing. My impression is that debug builds are
not well tested for CMake. For example, even f
Alan,
Thanks for the suggestion. I tried again as you
suggested by only doing the debug build. The same
thing still happens.
Winson
--- "Alan W. Irwin" <[EMAIL PROTECTED]> wrote:
> On 2007-04-06 15:56-0700 winson wrote:
>
> > I tweaked the build a little bit this morning. The
> > file "plher
On 2007-04-06 15:56-0700 winson wrote:
> I tweaked the build a little bit this morning. The
> file "plhershey-unicode-gen.exe" was found to be in
> the folder $CMAKE_CURRENT_BINARY_DIR/include/debug
> instead of CMAKE_CURRENT_BINARY_DIR. This may be due
> to the fact that, when I built the library
Werner,
I did try to set up the command line interface first
by running the batch file with the content:
set CMAKEDIR=C:\Program Files\CMake 2.4
set PATH=D:\Program Files\Microsoft Platform SDK for
Windows Server 2003 R2\Bin;;%PATH%
set INCLUDE=D:\Program Files\Microsoft Platform SDK
for Windows
Hi Winson,
one thing you do wrong is, that you must set up the command line
interface correctly for Visual C++ 2005. You must run the batch file
vcvars.bat which is somewhere in the bin directory where the compiler is
installed "program files\Microsoft Visual Studio 8\VC\bin" or similar.
Than
Alan, thank you so much for the explanation.
--- "Alan W. Irwin" <[EMAIL PROTECTED]> wrote:
> On 2007-04-06 10:41-0700 winson wrote:
>
> > With the information from the build log, I have
> > managed to generate file "plhershey-unicode.h" by
> > launching plhershey-unicode.exe with parameters on
On 2007-04-06 10:41-0700 winson wrote:
> With the information from the build log, I have
> managed to generate file "plhershey-unicode.h" by
> launching plhershey-unicode.exe with parameters on
> command-line. Then I copied the file manually to the
> "include" directory. My question now is, is it
With the information from the build log, I have
managed to generate file "plhershey-unicode.h" by
launching plhershey-unicode.exe with parameters on
command-line. Then I copied the file manually to the
"include" directory. My question now is, is it what
this perticular build process all about? In o
Werner,
Thanks for the response. I was using the project files
created by cmake. I did not use "NMake Makefiles".
I am using VC++ 2005 Express on Windows XP. I was
totally lost with cmake. When I used command-line
version of cmake, just as described on plplot wiki, it
just does not work. It some
Hi,
could you run "nmake VERBOSE=1" and send the output to the list? And do
you use the "NMake Makefiles" Generator or are you using the project
files? The latter was never tested and very likely not to work at all.
Regards,
Werner
winson wrote:
> Hello there,
>
> I used VC++ 2005 Express to bui
Hello there,
I used VC++ 2005 Express to build plplot library from
files created by cmake. I got 8 succeeded and 1
failed. Error message is as following.
Generating plhershey-unicode.h
'plhershey-unicode-gen.exe' is not recognized as an
internal or external command,
operable program or batch file
23 matches
Mail list logo