> I tried to compile the MathGL qt_example-cpp with MathGL-version
> 1.11.2
>
> I used qtcreator with VS2008 option:
>
> - Qt4.7.3 for Desktop - MSVSC2008(QtDSK) Debug
This will not work due to incompatible formats of C++ function names
in MinGW and MSVS. You only can use pure C functions and wrapper class
(from <mgl/mgl_w.h>). No widget will not work in v.1.*. See
http://mathgl.sourceforge.net/mathgl_en/mathgl_en_6.html#FAQ
> and later
>
> - Qt4.7.3 for Desktop - MinGW 4.4(QtDSK) Debug
>
>
> Both trials of compliling failed with the same error:
>
> LINK (used path) lib no such file
>
>
> The result using using VS2008 is:
> LINK : fatal error LNK1181: Eingabedatei "(used path)/lib.obj" cannot be opened
It seems as you specify folder name as the library name. Valid library
files are *.a for MinGW.
For MSVS you have to produce valid *.lib files from *.dll.
--
All the best,
Alexey Balakin
we are forced into our private project with VS2008 and Qt Windows7 use.
We use mathgl version 1.11.2.
For 3 days we are working (Walter & Mike) it to generate the binaries from
the source code.
Unfortunately, without success and we are complete frustrated :-(.
Please send us a link to download any of us needed dlls and libs (*. Lib *.
Dll).
How is the wrapper class #include <mgl/mgl_w.h> to use?
Please help us as soon as possible,
Best regards and thanks a lot
Walter & Mike
MathGL v.1.11.2 was compiled by MinGW gcc v.4.5.2 with Qt 4.7.2. From
yours log (in PDF) I can suppose (unfortunately I don't understand
German) that it require newer libstdc++ (mingwm10.dll). So, you may
need to upgrade to the newest MinGW version or try to use static
MathGL libraries (i.e. libmgl.a, libmgl-qt.a). Note, that usage of
both static (libmgl.a) and dynamic (libmgl.dll.a) libraries can cause
a problem too.
--
All the best,
Alexey Balakin
2012/2/24 Walter Kaufmann <d...@itec-home.info>:
First: I could compile and generate qt_examle. Fine! I am happy!!!
Then I tried to build MathGl bottom up from source.
Result: error(s) occurred
Complete description in attachment.
If there is time, please give me a hint that I can go on.
I have no idea, what the reason is for these errors is
("zlib.h not found", but it is there in the expected folder,
I checked).
Thanks a lot
Walter
you are good tester! I never can imagine that somebody will use zlib
from sources and will not use PNG and/or GSL. So, I hope that I've fixed
this in SVN. Please check it.
Alexey
В Вс., 26/02/2012 в 01:26 +0100, Walter Kaufmann пишет:
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
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 пишет:
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
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