Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-04

compiling IDE error

9 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrea Mauri

Dear all,
under winXP, lazarus svn (14876), FPC 2.2, I am not able to rebuild lazarus. I got this error:
C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol: VMT_GRAPHICS_TBITMAPIMAGE
C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol: VMT_GRAPHICS_TBITMAP
C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Fatal: There were 2 errors compiling module, stopping

Under Linux I can compile lazarus without errors.
Any help?
Andrea

Reply by email

Andrea Mauri
to Mattias Gärtner

I tried in Lazarus Clean Up + Build All option.
But I get the error anyway.
Then I tried:
make clean all
And it works, but in order to get all the packages I have already installed I launched lazarus and then rebuild IDE with packages. I got the error again:

C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol:
VMT_GRAPHICS_TBITMAPIMAGE
C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol:
VMT_GRAPHICS_TBITMAP
C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Fatal: There were 2 errors
compiling module, stopping

There could be a problem in one of my installed packages? Regards,
Andrea

Mattias G?rtner ha scritto:

Show quoted text 29 lines
Zitat von Andrea Mauri : > Dear all, > under winXP, lazarus svn (14876), FPC 2.2, I am not able to rebuild lazarus. > I got this error: > C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol: > VMT_GRAPHICS_TBITMAPIMAGE > C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol: > VMT_GRAPHICS_TBITMAP > C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Fatal: There were 2 errors > compiling module, stopping > > Under Linux I can compile lazarus without errors. > Any help? > Did you try to compile clean? http://wiki.lazarus.freepascal.org/Lazarus_Faq#How_do_I_compile_lazarus.3F Mattias _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Stephano
to Andrea Mauri: under winXP, lazarus svn (14876), FPC 2.2, I am not able to rebuild lazarus. I got this…
Andrea Mauri wrote 13 lines
Dear all, under winXP, lazarus svn (14876), FPC 2.2, I am not able to rebuild lazarus. I got this error: C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol: VMT_GRAPHICS_TBITMAPIMAGE C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol: VMT_GRAPHICS_TBITMAP C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Fatal: There were 2 errors compiling module, stopping Under Linux I can compile lazarus without errors. Any help? Andrea

Same here!

Reply by email

Vincent Snijders
to Andrea Mauri: I tried in Lazarus Clean Up + Build All option. But I get the error anyway. Then I tried:…
Andrea Mauri wrote 16 lines
I tried in Lazarus Clean Up + Build All option. But I get the error anyway. Then I tried: make clean all And it works, but in order to get all the packages I have already installed I launched lazarus and then rebuild IDE with packages. I got the error again: C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol: VMT_GRAPHICS_TBITMAPIMAGE C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol: VMT_GRAPHICS_TBITMAP C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Fatal: There were 2 errors compiling module, stopping There could be a problem in one of my installed packages?

Make sure you clean also the compiled unit of your packages, for example by deleting all the .ppu.

Vincent

Reply by email

Andrea Mauri
to Vincent Snijders

I tried also deleting some component sources and updating again using svn but I got the same error.
Any suggestion?
andrea

Vincent Snijders ha scritto:

Show quoted text 30 lines
Andrea Mauri schreef: > I tried in Lazarus Clean Up + Build All option. > But I get the error anyway. > Then I tried: > make clean all > And it works, but in order to get all the packages I have already > installed I launched lazarus and then rebuild IDE with packages. > I got the error again: > > C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol: > VMT_GRAPHICS_TBITMAPIMAGE > C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol: > VMT_GRAPHICS_TBITMAP > C:\Programmi\Lazarus\ide\lazarus.pp(114,1) Fatal: There were 2 errors > compiling module, stopping > > There could be a problem in one of my installed packages? > Make sure you clean also the compiled unit of your packages, for example by deleting all the .ppu. Vincent _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Flávio Etrusco
to Andrea Mauri
Show quoted text 6 lines
> > Make sure you clean also the compiled unit of your packages, for example by deleting > all the .ppu. > > Vincent >

This fixed it for me.
Is it a temporary bug or we shouldn't be relying on "make clean" for this job?

Cheers,
Fl?vio

Reply by email