Thread: RE: [Dev-C++] Does anybody uses KOOLPLOT together with DEV-C++ ?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Guillermo G. <ggu...@ma...> - 2006-02-22 15:29:07
|
hello, if you placed the include files in the dev-cpp include directory, you = might want to try replacing the "'s with <>'s. example: change=20 #include "koolplot.h" to=20 #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... = [mailto:dev...@li...]On Behalf Of Marek = 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=20 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=20 Dev-C++ include directory and libkoolplot.a to Dev-C++ lib directory as it is written in the above=20 mentioned page, but I'm not able to compile this easy example - some compiler or linker = errors=20 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 = 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/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Guillermo G. <ggu...@ma...> - 2006-02-22 15:56:46
|
d2hvb3BzISEhIQ0KeWVzLCB5b3UgY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gQUpBWCBzZWFyY2ggZW5naW5lIHRoYXQgbWFrZXMNCj4gc2Vh cmNoaW5nIHlvdXIgbG9nIGZpbGVzIGFzIGVhc3kgYXMgc3VyZmluZyB0aGUgIHdlYi4gIERPV05M T0FEIFNQTFVOSyENCj4gaHR0cDovL3NlbC5hcy11cy5mYWxrYWcubmV0L3NlbD9jbWQ9ayZraWQQ MzQzMiZiaWQjMDQ4NiZkYXQSMTY0Mg0KPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fXw0KPiBEZXYtY3BwLXVzZXJzIG1haWxpbmcgbGlzdA0KPiBEZXYtY3Bw LXVzZXJzQGxpc3RzLnNvdXJjZWZvcmdlLm5ldA0KPiBUTyBVTlNVQlNDUklCRTogaHR0cDovL3d3 dzIzLmJyaW5rc3Rlci5jb20vbm9pY3lzL2RldmNwcC8NCg0K |
|
From: Per W. <pw...@ia...> - 2006-02-22 15:55:46
|
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 mig=
ht want to try replacing the "'s with <>'s.
>
> example:
>
> change
> =09#include "koolplot.h"
> to
> =09#include <koolplot.h>
>
> if you placed them in a subdirectory, then make it:
>
> =09#include <sub_dir>/<koolplot.h>
>
> hope this helps some.
>
> Guillermo
>
> -----Original Message-----
> From: dev...@li... [mailto:dev-cpp-users-adm=
in...@li...]On Behalf Of Marek 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 error=
s
> 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 fi=
les
> 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/
|
|
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
|