| 09-14-2007, 03:14 PM | #11 |
|
Core Member
Corporal
Join Date: Aug 2007
Posts: 58
Thanks: 1 Thanked 1 Time in 1 Post |
yes, I have installed CDT, but have not set up Cygwin. I am looking for step by step set up intruction
![]() Son |
|
|
|
| 09-16-2007, 12:43 PM | #12 |
|
I'm sorry for not having spare time to answer earlier.
A step by step instruction is probably impossible for me (at least for now). Installing Cygwin is pretty straight forward possibly except choosing which packages to include. If you're to program in CDT, you need to have make, gcc, g++ under the devel category. If you want to use gsl, it's available under the libs category. If you want to have graphical outputs then you need to have xwindow packages (they are all under X11). Depending on what you do, you may need additional packages. This link has a list of all packages together with brief explanations. Unless you change the default path, Eclipse should call the compiler/linker appropriately. |
|
|
|
|
| 09-17-2007, 12:09 AM | #13 |
|
Core Member
Corporal
Join Date: Aug 2007
Posts: 58
Thanks: 1 Thanked 1 Time in 1 Post |
cool, I have europa release and it work witg cygwin flawlessly.
open question just wonder how to have it work other compiler like intel c++ or visual c++. |
|
|
|
| 09-17-2007, 11:06 AM | #14 |
|
I haven't tried but this should work:
By default, Eclipse generates the makefile automatically. In the project properties, deselect this feature. Create a makefile yourself in the project directory. In the makefile, you can call whatever you want, even Solitaire instead of a C++ compiler. |
|
|
|
|
| 09-19-2007, 07:16 AM | #15 |
|
References for numerics programming in C++
My friend, Dag Lindbo at NADA (KTH), has written some guidelines for numerical C++, short but quite useful. Here's the link: http://www.nada.kth.se/~dag/index.php?n=Dl.GuidelinesForNumericalC His page also links to a "C++ Programming for Scientists" course and to Object-Oriented Numerics Page (but in scientific computing research, abusing OOP is many times discouraged due to computational inefficiency <- this is still debatable though). For plotting Yet another guide on how to do simple 2DPlot (http://na37.nada.kth.se/mediawiki/in...le_2D_plotting) or 3DPlot (http://na37.nada.kth.se/mediawiki/index.php/Simple_surface_plotting), also written also by NADA guys. Numerical Linear Algebra Library For matrix/vector operations:
Last edited by Khoa Tran; 09-19-2007 at 07:56 AM. |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|