WG: [ MathGL ] Build MathGL 1.11.2 from source

79 views
Skip to first unread message

Walter Kaufmann

unread,
Feb 27, 2012, 3:49:41 PM2/27/12
to mat...@googlegroups.com
... sorry, 'veI forgotten the attachment ...

Walter

-----Ursprüngliche Nachricht-----
Von: Walter Kaufmann [mailto:d...@itec-home.info]
Gesendet: Montag, 27. Februar 2012 21:47
An: 'mat...@googlegroups.com'
Betreff: AW: [ MathGL ] Build MathGL 1.11.2 from source

Sorry Alexey,

the build process seems to be ok, but some problems with the use of MinGW
occured.
The build process needs the latest MinGW version, but some parts will have
older versions of MingW, Is this possible?

_ZNSt8_detail15_List_node_base7_M_hookEPS0_ was not found in libstc++-6.dll

Thanks a lot
Walter

-----Ursprüngliche Nachricht-----
Von: mat...@googlegroups.com [mailto:mat...@googlegroups.com] Im Auftrag von
Walter Kaufmann
Gesendet: Montag, 27. Februar 2012 21:24
An: mat...@googlegroups.com
Betreff: [ MathGL ] Build MathGL 1.11.2 from source

Hi Alexey,

I am so happy, I think I found the reason of producing the damn errors in
build process.


Solution:

1. use latest MinGW 4.6.1
2. throw away the official CMake Release 2.8.7
3. take latest CMake Beta -Release:
cmake-2.8.7.20120117-g95dd0-win32-x86.exe

Result:
No error occurs, but I am not to guy, who has the experience to say,
that everything is complete OK.

Therefore, as usual, I send all recent files in the attachment.
Please give me an answer.

Thank you very, for supporting me :-)
Walter

-----Ursprüngliche Nachricht-----
Von: mat...@googlegroups.com [mailto:mat...@googlegroups.com] Im Auftrag von
Alexey Balakin
Gesendet: Montag, 27. Februar 2012 17:15
An: mat...@googlegroups.com
Betreff: Re: AW: [ MathGL ] Build MathGL 1.11.2 from source

Dear Walter,

it seems that you don't install libpng. But by some way you can bypass
cmake configuration. How??? This strict limitation in cmake variant.
Formally, you can switch off PNG support by defining NO_PNG. But
question still present -- how you did that cmake generate makefile while
you have no PNG?

Alexey

В Вс., 26/02/2012 в 11:09 +0100, Walter Kaufmann пишет:
> Dear Alexey,
>
> Thanks for quick reply, really.
>
> State: zlib - problem seems to solved ...
>
> But a new error occurred in mgl_export.cpp
>
> Complete description in attachment.
> Also, if there is time, please give me a hint that I can go on.
> I can not thank you enough for your support, really.
>
>
> Thanks a lot
> Walter

Problem_Build_MathGL_1.11.2_WK_004.pdf

Walter Kaufmann

unread,
Feb 28, 2012, 2:24:47 PM2/28/12
to mat...@googlegroups.com
Dear Alexey,

I recompiled everything and it works now.
I don't know what the reason for the problem was.

Now, I am again happy !!!

So, shall we go on with MathGL 2x?

Thanks a lot,
Walter

Alexey Balakin

unread,
Feb 28, 2012, 2:39:21 PM2/28/12
to mat...@googlegroups.com
Dear Walter,

> I recompiled everything and it works now.
> I don't know what the reason for the problem was.
>
> Now, I am again happy !!!

I'm glad. You should write HOWTO about this (compilation on Window7).

> So, shall we go on with MathGL 2x?

As you wish. It is almost ready.

However, it is not tested well (yesterday I found a error with ticks
adjustment/factoring and with time-ticks). Also I should test export to
new formats and write documentation (at least English version). So, I
hope during a week or two I'll finalize it. But I will not do nothing
essential (just testing/bugfixes, speeding up and documentation).

Alexey

Walter Kaufmann

unread,
Feb 28, 2012, 3:08:00 PM2/28/12
to mat...@googlegroups.com
Hello Alexey,

I will freeze now MathGL 1.11.2 and save my work.
Then I will go on with MathGL2x, modifying the environment so that I can
build both version.

Is there anything, that I should know (differences between version 2x and
1x) before I start with the work with MathGL2x.

And what was the reason for starting up the new version 2x?
A complete new design?
Where do I find interesting information/knews ...?

Thanks a lot,
Walter

-----Ursprüngliche Nachricht-----
Von: mat...@googlegroups.com [mailto:mat...@googlegroups.com] Im Auftrag von
Alexey Balakin

Gesendet: Dienstag, 28. Februar 2012 20:39
An: mat...@googlegroups.com
Betreff: Re: [ MathGL ] Build MathGL 1.11.2 from source

Alexey Balakin

unread,
Feb 28, 2012, 3:36:27 PM2/28/12
to mat...@googlegroups.com
Dear Walter,

> And what was the reason for starting up the new version 2x?
> A complete new design?

Partially.

I try to save the end-user interface like the same as in v.1.*. There
are mostly the same C function, similar mglData, mglGraph, mglParse
classes and so on. Of course, there are some changes -- interface look
more closer to <mgl/mgl_w.h> from v.1.*, i.e. there are no mglGraphZB,
mglGraphPS, ... There is just unified mglGraph class.

However, internally MathGL are very different. It is faster. The same
binary files can be used now with any compiler (i.e. MathGL classes can
be used from MSVS with binary library compiled by MinGW). There are also
changes in widgets but not so sufficient.

And of course new plotting functions, new setup functions, new export
functions and so on.

> Where do I find interesting information/knews ...?

http://mathgl.sourceforge.net/mgl2/mathgl_en/mathgl_en.html

This is not the latest documentation but more or less adequate.

Alexey

Walter Kaufmann

unread,
Feb 28, 2012, 4:11:45 PM2/28/12
to mat...@googlegroups.com
Dear Alexey,

thanks for the information ...


Questions to HOWTO:

... I told you, that I am a complete newbie
you remember my questions, lot of questions :-) )
Is there a template or a guide of writing a HOWTO for MathGL?
or
is it OK how I explained/described my steps in building the MathGL from
source?
or is it "free style :-)?


Best regards,
Walter

-----Ursprüngliche Nachricht-----
Von: mat...@googlegroups.com [mailto:mat...@googlegroups.com] Im Auftrag von
Alexey Balakin

Gesendet: Dienstag, 28. Februar 2012 21:36
An: mat...@googlegroups.com
Betreff: Re: AW: [ MathGL ] Build MathGL 1.11.2 from source

Alexey Balakin

unread,
Feb 28, 2012, 4:28:59 PM2/28/12
to mat...@googlegroups.com
Dear Walter,

There is no any special style for review. Just describe step-by-step
what you do for obtaining result. It is better to show simplest way
(with least step you'd done). I think it almost free style.

Alexey

В Вт., 28/02/2012 в 22:11 +0100, Walter Kaufmann пишет:

Vicky Budhiraja

unread,
Feb 28, 2012, 10:58:50 PM2/28/12
to mat...@googlegroups.com
Hi Walter,

I agree with Alexy. Just start the process, write everything you have done, free style and we will also contribute/help you.

Good Luck,
Vicky

Vicky Budhiraja
Technical Architect, Sitarasoft

(T) +91-9971-67-0099
www.Sitarasoft.com


Sitarasoft | 304, Krishna Tower-2, Plot-1, Dwarka - XII | New Delhi 110075
Please consider the environment before printing this email.
This message may contain confidential, privileged or otherwise legally protected information. If you are not the intended recipient of this email, please notify us at sup...@sitarasoft.com. Thank you for your time.

Message has been deleted

Walter Kaufmann

unread,
Mar 3, 2012, 6:19:06 PM3/3/12
to mat...@googlegroups.com
Dear Alexey,

I want to finish the HOWTO document, but I got some strange behaviour using
QtCreator (2.4.1).
I use now the latest Qt-Version (4.8.0).

1. Generation of libs is OK
2. Can run the shipped examples (your's) in DOS-prompt/Folder
(some strange outputs ... see as usual in attachment)
3. Can run my example in DOS-prompt/Folder
4. Debugging in QtCreator (every Version) is not really possible
but this is essential for developing SW.


So, I don't want to write a HOWTO, what is based on version with strange
outputs.

In the next weeks, I have a lot of work, but I will finish the HOWTO as soon
as possible. Therefore I need quick support.


Best regards,
Walter

Problem_Build_MathGL_1.11.2_WK_005.pdf
cmake_install.cmake
CMakeCache.txt
install_manifest.txt
Makefile

Walter Kaufmann

unread,
Mar 4, 2012, 5:45:13 AM3/4/12
to mat...@googlegroups.com

Dear Alexey,

 

I found something about the problem I informed in previous reports.

 

 

 

http://www.qtforum.org/article/12778/connecting-from-compat-signal-qaction-activated.html

 

 

 

 

 

 

 

May be these information is important?

 

All the best

Walter

 

image001.jpg
image003.jpg

mathgl....@gmail.com

unread,
Mar 4, 2012, 4:27:49 PM3/4/12
to mat...@googlegroups.com
Dear Walter,

1. I don't know why SIGSEGV occurs in this case. I try to change a bit sources (the places where the possible problems can be). But I'm not sure that it is enough.

2. About ::activated(). Yes, it should be changed. But I'll do it in v.2 only.

Alexey

2012/3/4 Walter Kaufmann <d...@itec-home.info>



--
All the best,
Alexey Balakin
image001.jpg
image003.jpg
Reply all
Reply to author
Forward
0 new messages