Niklas Nebel
Tue, 15 Dec 2009 06:12:14 -0800
On 12/15/09 15:00, rashi dhing wrote:
Hi , I've been having a hard trying trying building a new module (directory) that I added to the "sc" project. I am using cygwin in windows to do the build. I want to parse the formula string that is entered in the formula bar and i created a new class called "ScParser" under the sc/source/ui/parser directory that does the parsing where "parser" is the new dir that i created. I added a makefile for that directory and included the header file in the "inc" directory under "ui". I also changed the build.lst to include my module. A method of this class is to be called in the "inputwin.cxx" file which is in sc/source/ui/app. While the compiling of the scparser.cxx has no errors and creates an .obj file , i get a "LNK2019" for the line in "inputwin.cxx" where i am calling the method of the "ScParser" class. The error is unresolved external symbol . I just cannot figure out what am i doing wrong ! Any one has any idea ?
If there's a new directory where a new library is built, that library has to be included in sc/util/makefile.mk. But in most cases it's better to add a file to one of the existing directories (sc/source/ui/app could be a candidate), instead of having a new directory with only one file.
Niklas --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@sc.openoffice.org For additional commands, e-mail: dev-h...@sc.openoffice.org