dev  

Re: [sc-dev] Linker error on adding a new module to the sc project

rashi dhing
Tue, 15 Dec 2009 11:49:46 -0800

Niklas, that hit bulls - eye !!  Thanks a billion .
Could you also shed some light on the following :

- Is it possible to build the installation set just for the spreadsheet rather
than the entire openoffice suite.

- The "SetTextString" function in "inputwin.cxx" is responsible for setting
the text in the input-line but only when it is entered from the cells.
When text is directly entered in the input-line is it the edit engine that
comes into play ? Can you tell me which function handles this ?

Appreciate all your help ! Many thanks again !

On 12/15/09, Niklas Nebel <niklas.ne...@sun.com> wrote:
> 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
>
>


-- 
" Happiness makes up in height for what it lacks in length." (Robert Frost)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@sc.openoffice.org
For additional commands, e-mail: dev-h...@sc.openoffice.org