Re: [Dev-C++] Does anybody uses KOOLPLOT together with DEV-C++ ?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <ma...@sc...> - 2006-02-22 20:40:04
|
Thanks but it doesn't work.
The errors are the same for this case
#include <c:/Dev-cpp/include/koolplot.h>
as for this case
#include <koolplot.h>
as for this case
#include "c:/Dev-cpp/include/koolplot.h"
as for case
#include "koolplot.h"
When I substitut line
const double NOPLOT =3D 0; nan(""); // A point of that value will not be=20
plotted
with line:
const double NOPLOT =3D 0;//nan(""); // A point of that value will not be=
=20
plotted
in koolplot.h I obtain errors which depend ONLY on LINKED LIBRARIES.
in situation
1) -lkoolplot
there are linker errors like this:
[Linker error] undefined reference to=20
`std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
[Linker error] undefined reference to=20
`std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
[Linker error] undefined reference to `initwindow'
[Linker error] undefined reference to `cleardevice'
[Linker error] undefined reference to `swapbuffers'
in situation
2) -lkoolplot -lbgi
[Linker error] undefined reference to=20
`std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
[Linker error] undefined reference to `swapbuffers'
[Linker error] undefined reference to `CreatePen@12'
[Linker error] undefined reference to `SelectObject@8'
in situation
3) -lkoolplot -lbgi -lgdi32
there are linker errors like this:
[Linker error] undefined reference to `std::string::_M_check(unsigned=20
int) const'
[Linker error] undefined reference to `swapbuffers'
[Linker error] undefined reference to=20
`std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
The best situation is 3) but it still not OK.
In my opinion the main reason for which KOOLPLOT works with "Quincy 2005"=
=20
and
doesn't work with "Dev-C++ (v. 4.9.9.2)" is, that Quincy uses "WinBGIm=20
(v.6.0)"
and "Dev-C++ (v. 4.9.9.2)" works well with "WinBGIm (v.3.52)". I think
that current version of KOOLPLOT is not compatible with this older versio=
n
WinBGIm. I tried used "WinBGIm (v.6.0)" together with "Dev-C++ (v.=20
4.9.9.2)"
for compiling very easy sources which were compiled with "WinBGIm (v.3.52=
)"
withot problems but there were errors. This separate problem I sent to th=
is
discussion formum but nobody adviced me what to do.
Quincy, Koolplot and WinBGIm v. 6.0(include sources) are available here:
http://www.codecutter.net/tools/winbgim
WinBGIm (v.3.52)(include sources) is available here:
http://www14.brinkster.com/aditsu/console
If somebody will have success in problems
1) Make compatible
"Dev-C++ (v. 4.9.9.2)" with "WinBGIm (v.6.0)"
2) Make compatible
"Dev-C++ (v. 4.9.9.2)" with current version of Koolplot
Please send mee modified files ( winbgim.h, libbgi.a, ...) or send me=20
method
how he achieve his success.
Thanks
Marek
On Wed, 22 Feb 2006 16:55:30 +0100 (CET), Per Westermark=20
<pw...@ia...> wrote:
> The sample line:
> #include <sub_dir>/<koolplot.h>
> should be:
> #include <sub_dir/koolplot.h>
>
> /pwm
>
> On Wed, 22 Feb 2006, Guillermo Gutierrez wrote:
>
>> hello,
>> if you placed the include files in the dev-cpp include directory, you=20
>> might want to try replacing the "'s with <>'s.
>>
>> example:
>>
>> change
>> #include "koolplot.h"
>> to
>> #include <koolplot.h>
>>
>> if you placed them in a subdirectory, then make it:
>>
>> #include <sub_dir>/<koolplot.h>
>>
>> hope this helps some.
>>
>> Guillermo
>>
>> -----Original Message-----
>> From: dev...@li...=20
>> [mailto:dev...@li...]On Behalf Of Marek=20
>> Mal=FD
>> Sent: Saturday, February 18, 2006 6:25 PM
>> To: dev...@li...
>> Subject: [Dev-C++] Does anybody uses KOOLPLOT together with DEV-C++ ?
>>
>>
>> Does anybody uses KOOLPLOT together with Dev-C++ ?
>>
>> Hi,
>>
>> I'am using Dev-C++ v. 4.9.9.2.
>>
>> Since I've downloaded actual WinBGIm files from here
>>
>> http://www14.brinkster.com/aditsu/console
>>
>> I have no problems with WinBGIm graphics used together with current
>> Dev-C++ version.
>>
>> I have just found out that exist C/C++ plotting library named Kooplot
>> which uses WinBGIm graphics - see this page:
>>
>> http://www.codecutter.net/tools/koolplot/index.html
>>
>> I have copied files koolplot.h, Plotdata.h, and Plotstream.h to
>> Dev-C++ include directory and
>> libkoolplot.a to Dev-C++ lib directory as it is written in the above
>> mentioned page, but
>> I'm not able to compile this easy example - some compiler or linker=20
>> errors
>> appears...
>>
>> #include "koolplot.h"
>> int main()
>> {
>> Plotdata x(-360, 360), y =3D sin(x) + 3*x;
>> plot(x, y);
>> return 0;
>> }
>>
>> Maybe some settings of Dev-C++ are necessary ...
>> Could anyone help me ?
>>
>> Marek
>>
>>
>> -------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc. Do you grep through log=
=20
>> files
>> for problems? Stop! Download the new AJAX search engine that makes
>> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK=
!
>> http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=103432&bid#0486&dat=121642
>> _______________________________________________
>> Dev-cpp-users mailing list
>> Dev...@li...
>> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log=20
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=103432&bid#0486&dat=12164=
2
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|