Can't compile fviewer example lazarus / 54-FPvectorial ---------------------------------------------------------------------- BlueIcaro · 2012-08-19 11:49 Hello I'm trying to compile the last fpviewer dowloaded from svn, and I got this error: Quotefpvv_mainform.pas(244,14) Error: Identifier not found "TvFormula" I was looking for the definition of TvFormula throught the files and I didn't find it. I using the last official release of Lazarus 1.0 RC1. Any idea? /BlueIcaro ---------------------------------------------------------------------- reinerr · 2012-10-28 23:49 Quote from: BlueIcaro on August 19, 2012, 01:49:57 pmfpvv_mainform.pas(244,14) Error: Identifier not found "TvFormula" A couple of months passed but still valid... I have same problem (now with Laz 1.0.2). My solution was to comment out that line (as well as the next error a couple of lines down). All this means is the View FPVectorial Tokens button won't work... but I couldn't open any dxf files properly anyway after that (either they display erroneous marks/dot or they crash on load for more complex files). EDIT: green_rect_arrow_text.dxf opens ok ---------------------------------------------------------------------- felipemdc · 2012-10-30 19:52 The example is kept in synchrony with the latest Lazarus SVN sources, not with older releases like 1.0 ---------------------------------------------------------------------- CM630 · 2014-02-18 09:09 .I do try to compile fpvviewer. I got it from here: https://svn.code.sf.net/p/lazarus- ccr/svn/applications/fpvviewer/ And I took fpvvectrorial.lpk from here: http://code.ohloh.net/project? pid=inrG8KdJiUI&did=components%2Ffpvectorial&cid=sIQrfQPsIho&fp=301989 &projSelected=true When I try to compile the app, I get the following error: fpvv_mainform.pas(137,51) Error: identifier idents no member "GetPageAsVectorial" several times. The content of one of the lines is: if checkForceWhiteBackground.Checked then Vec.GetPageAsVectorial(0).BackgroundColor := colWhite; I get yet another error: fpvv_mainform.pas(337,19) Error: Identifier not found "TvPage" on linelCurPage: TvPage; Is GetPageAsVectorial an obsolete property? Or could someone give me a working example on displaying a SVG or converting it to a raster image? Wiki examples are too far away from working, too. EDIT: I replaced  GetPageAsVectorial(0) with GatPage(0) and TvPage withTvVectorialPage. I tried to replace lCurPage.CalculateDocumentSize(); with lCurPage.GuessDocumentSize();  but it did not recognize GuessDocumentSize. So, now when I load a document a press the Visualize button I see something. I have created an ellipse with InkScape, but I see a filled arc, instead. I have attached the SVG file, if someone finds it useful. ---------------------------------------------------------------------- djzepi · 2014-02-18 19:46 Quote from: paskal on February 18, 2014, 10:09:15 am So, now when I load a document a press the Visualize button I see something. I have created an ellipse with InkScape, but I see a filled arc, instead. I have attached the SVG file, if someone finds it useful. I looked like this (see attachment) ---------------------------------------------------------------------- CM630 · 2014-02-19 08:53 Okay, finally I did it. I am not sure what exactly happened, but when I manually added (open file) fpvectorial.pas (the file I downloaded from the repository) from the Lazarus IDE and added it top the project everthing went fine and I got the same image as *djzepi. Obviously there is a still a bug in the renderer, but it's much better. Unfortunately gradients cannot be handled yet ---------------------------------------------------------------------- trayres · 2015-01-04 05:43 I'm having the same issue with the current version and what's in the repository.