compiling c++ classes in linux machine using gedit

Posted by Pavan Shah-2 on
URL: http://quantlib.414.s1.nabble.com/compiling-c-classes-in-linux-machine-using-gedit-tp13921.html

Hi all,

I am trying to compile the same code that I already compiled in visual studio on my windows machine but now using gedit on a linux machine.

Based on the error I get on my terminal, it seems like none of my member functions in classes are being recognized.  The error tells me that these member functions are not declared when they clearly are in the corresponding ".h" file.

All the ".cpp" and ".h" files are in the same directory on my linux machine.
And I am using #include "myclass.h"  at the top of my ".cpp" files.
I am not sure what is causing the g++ compiler to not recognize any of members in classes.

Keep in mind that this exact same code works and compiles on windows using visual studio.

What needs to change?
is there something in gedit that I should change?



Thanks
Pavan

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users