Hi guys,
i have a question about correctly adding new class to QuantLib in visual studio. I notice that if I just add a new class by using /File/->/New/->File from the menu i get problems with the linker. The linker tells me that my class already exists in another object files. So my question is that do i need to update the makefiles in the folder? Do I have to add the new file to the makefile.am and then use automake to create a new makefile.in? Is there adnother additional steps i have to do before linking the whole project? Thanks for your help, Kim Tang ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
On Mon, 2008-08-25 at 22:41 +0200, Kim Kuen Tang wrote:
> i have a question about correctly adding new class to QuantLib in visual > studio. > > I notice that if I just add a new class by using /File/->/New/->File > from the menu i get problems with the linker. The linker tells me that > my class already exists in another object files. So my question is > that do i need to update the makefiles in the folder? Hi, no, Visual Studio doesn't use the makefiles, so there's no need to modify them. Adding a new file to the project should be enough---it's what I do myself when I add classes. Pardon the question, but are you sure that a class with the same name doesn't exist already? Another way to add files is to right-click on the project from within Visual Studio and select "Add existing file"; you can try this instead. Later, Luigi -- The idea that an arbitrary naive human should be able to properly use a given tool without training or understanding is even more wrong for computing than it is for other tools (e.g. automobiles, airplanes, guns, power saws). -- Doug Gwyn ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |