wxart2d-users_dev Mailing List for wxArt2D (Page 4)
Status: Beta
Brought to you by:
titato
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(26) |
Aug
(28) |
Sep
(58) |
Oct
(164) |
Nov
(201) |
Dec
(179) |
| 2004 |
Jan
(165) |
Feb
(124) |
Mar
(106) |
Apr
(166) |
May
(203) |
Jun
(213) |
Jul
(102) |
Aug
(110) |
Sep
(61) |
Oct
(51) |
Nov
(54) |
Dec
(4) |
| 2005 |
Jan
(133) |
Feb
(47) |
Mar
(2) |
Apr
(22) |
May
(112) |
Jun
(193) |
Jul
(20) |
Aug
(8) |
Sep
(58) |
Oct
(6) |
Nov
(16) |
Dec
(14) |
| 2006 |
Jan
(50) |
Feb
(73) |
Mar
(18) |
Apr
(29) |
May
(42) |
Jun
(56) |
Jul
(19) |
Aug
(32) |
Sep
(45) |
Oct
(94) |
Nov
(30) |
Dec
(6) |
| 2007 |
Jan
(26) |
Feb
(31) |
Mar
(112) |
Apr
(48) |
May
(15) |
Jun
(15) |
Jul
(85) |
Aug
(94) |
Sep
(10) |
Oct
(26) |
Nov
(32) |
Dec
(9) |
| 2008 |
Jan
(100) |
Feb
(79) |
Mar
(59) |
Apr
(48) |
May
(13) |
Jun
(3) |
Jul
(26) |
Aug
(44) |
Sep
(30) |
Oct
(51) |
Nov
(6) |
Dec
(1) |
| 2009 |
Jan
|
Feb
(12) |
Mar
(1) |
Apr
(14) |
May
(3) |
Jun
(26) |
Jul
(39) |
Aug
(6) |
Sep
(11) |
Oct
(26) |
Nov
(3) |
Dec
(1) |
| 2010 |
Jan
(1) |
Feb
|
Mar
(14) |
Apr
(34) |
May
(4) |
Jun
(3) |
Jul
(11) |
Aug
(11) |
Sep
(19) |
Oct
(19) |
Nov
(31) |
Dec
|
| 2011 |
Jan
(13) |
Feb
(19) |
Mar
|
Apr
(28) |
May
(7) |
Jun
(1) |
Jul
(24) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(5) |
| 2012 |
Jan
|
Feb
(6) |
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(13) |
| 2013 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(8) |
Sep
|
Oct
(10) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
(22) |
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(4) |
Aug
|
Sep
(2) |
Oct
(2) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(10) |
Nov
(13) |
Dec
(7) |
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(6) |
Oct
|
Nov
|
Dec
(1) |
| 2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
|
From: klaas.holwerda <ng...@kl...> - 2014-09-15 21:48:08
|
Hi, I think it work again. Regards, Klaas On 09/14/2014 10:32 PM, Perry wrote: > Tried to access Wxart2d's web page from sourceforge link (http://www.wxart2d.org), but page not > found. I was looking for more information about Wxart2d, documentation etc. > Am I looking in the right place ? > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > > > _______________________________________________ > Wxart2d-users_dev mailing list > Wxa...@li... > https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev |
|
From: Perry <per...@gm...> - 2014-09-14 20:32:22
|
Tried to access Wxart2d’s web page from sourceforge link (http://www.wxart2d.org), but page not found. I was looking for more information about Wxart2d, documentation etc. Am I looking in the right place ? |
|
From: klaas.holwerda <ng...@kl...> - 2014-04-19 08:44:06
|
Hi Mike, Why do you want to use a2dCanvas just to display one image full dialog. Or do you plan to add something to that image somehow? If it is just displaying an image wxDc is of course the way to it, no need for a2dCanvas. If you want to draw on the image, having it as a sort of background, but always full window, it would be better to use it to draw the image as background of the canvas. I also notice that you re size the wxImage, unless it is totaly out of proportion, normally the a2dImage is scaled to the canvas correctly. For image like stuff cnvsImage->SetYaxis( false ) might be better, since it fits better to windows having 0,0 at the top left. The scale on resize is another thing. If the size of the dialog does not fit the bbox of the image, the new size in world coordinates will be something based on the old size middle/centre of the canvas. see: void a2dCanvas::OnSize( wxSizeEvent& WXUNUSED( event ) ) But with scrollbars on, this can be jumpy as you can read there. cnvsImage->FixScrollMaximum( true ); in combination with: MakeVirtualMaxFitVisibleArea(); Are your m_virtm_minX etc. really well outside your current world coordinates? What happens if FixScrollMaximum( false )? If the canvas tries to keep your world coordinates inside the maximum allowed (which just a bit small) while scaling the dialog, it can become rather weird. At last you can always derive you from the canvas, and implement the onsize as you want to. I belief the zoom sample might help you there. How much is the FovX/Y? If you still can't find it, you need to prepare a sample to do what you do, and can have a look. Regards, Klaas On 04/18/2014 06:14 PM, Mike Gibson wrote: > Hi all, > > I'm writing an application that has a dialog window in which there is an a2dCanvas. In the dialog > window, the user can open up an image and view it on the a2dCanvas. But when the window is > resized, the image appears to be jumping back and forth horizontally. I say "appears to" because > it could be the view port that is incorrectly moving. Below are screen captures so you can see > what I mean: > |
|
From: Mike G. <mik...@da...> - 2014-04-19 01:41:31
|
Hi all,
I'm writing an application that has a dialog window in which there is an
a2dCanvas. In the dialog window, the user can open up an image and view
it on the a2dCanvas. But when the window is resized, the image appears
to be jumping back and forth horizontally. I say "appears to" because it
could be the view port that is incorrectly moving. Below are screen
captures so you can see what I mean:
Image before sizing:
Image will bounce to this position and back rapidly when resizing:
Here is the code I'm using to set the canvas and the image:
wxSizerItem *SizeItem;
wxSizer *Sizer;
TSizeInfo *SizeInfo;
double PixX, PixY;
double FovX, FovY;
// Size of pixels in wold units
GetPixelSize( &PixX, &PixY );
// Size of image field in world units
GetFieldofView( &FovX, &FovY );
// Get the wxpanel's sizer.
if ( (Sizer = Panel1->GetSizer()) == NULL )
return;
// Get the sizer used for the a2dCanvas.
if ( (SizeItem = Sizer->GetItem(cnvsImage)) == NULL )
return;
cnvsImage->Freeze();
m_CanvasDoc->DeleteContents();
m_adModelImage = new a2dImage();
m_BBox = new a2dRect(0,0,0,0);
m_BBox->SetFill(*a2dTRANSPARENT_FILL);
cnvsImage->FixScrollMaximum( false );
// Set Y axis positive up.
cnvsImage->SetYaxis( true );
// Don't show the origin.
cnvsImage->SetShowOrigin( false );
// Define the number of world units moved when scroll.
cnvsImage->SetScrollStepX( .1 );
cnvsImage->SetScrollStepY( .1 );
// Don't allow scrolling outside the scroll maximum.
cnvsImage->FixScrollMaximum( true );
// Load the specified file.
m_wxImage.LoadFile( m_ImagePath );
// Resize the image to coincide with desired size. SizeInfo is in
pixels.
GetSizeInfo( &SizeInfo );
m_wxImage.Rescale( SizeInfo->NumCols, SizeInfo->NumRows);
// Load the image into the a2dImage and set width and height.
m_adModelImage->SetImage( m_wxImage );
m_adModelImage->SetName(IMAGE_NAME);
m_adModelImage->SetWidth(FovX);
m_adModelImage->SetHeight(FovY);
m_adModelImage->GetImage().Resize( wxSize(SizeInfo->NumCols,
SizeInfo->NumRows), wxPoint(0, 0), 0, 0, 0 );
cnvsImage->SetMappingWidthHeight( -FovX/2.0, -FovY/2.0, FovX, FovY,
true );
// Append the image and selection box to the canvas.
m_CanvasDoc->Append( m_adModelImage );
m_CanvasDoc->Append( m_BBox );
cnvsImage->SetScaleOnResize( true );
// Show updates.
cnvsImage->Thaw();
Panel1->GetSizer()->Layout();
Does anyone have any idea what I'm doing wrong and why I'm seeing the
results I'm seeing? Any insight would be appreciated.
-Mike
|
|
From: klaas.holwerda <ng...@kl...> - 2014-02-19 22:54:55
|
Hi David, Changed it to what i think it should be ;-) But let me know if it is still wrong somehow, did not test that much. But clearly it was wrong. Thanks! Klaas On 02/19/2014 05:34 AM, damateem wrote: > Klaas, > > Similarly for wxDocView. Here is my updated list. > > "@wxdocview_SOURCE_DIR@/include" \ > "@wxdocview_SOURCE_DIR@/include/wx/docview" \ > "@wxdocview_SOURCE_DIR@/docview/src" \ > "@wxdocview_SOURCE_DIR@/doc/mainpage.doxy" > > You agree? > > David > > > On 2/18/2014 11:31 PM, damateem wrote: >> Klaas, >> >> That worked great. Thanks! >> >> I do believe that the input directory list isn't quite correct. I've >> removed the directories that don't exist and added a few that were >> missing. Here is my final list. >> >> "@wxart2d_SOURCE_DIR@/../wxdocview/include" \ >> "@wxart2d_SOURCE_DIR@/../wxdocview/include/wx/docview" \ >> "@wxart2d_SOURCE_DIR@/../wxdocview/docview/src" \ >> "@wxart2d_SOURCE_DIR@/doc/mainpage.doxy" \ >> "@wxart2d_SOURCE_DIR@/doc/canvasfont.doxy" \ >> "@wxart2d_SOURCE_DIR@/include" \ >> "@wxart2d_SOURCE_DIR@/include/wx/canextobj" \ >> "@wxart2d_SOURCE_DIR@/canextobj/src" \ >> "@wxart2d_SOURCE_DIR@/include/wx/aggdrawer" \ >> "@wxart2d_SOURCE_DIR@/aggdrawer/src" \ >> "@wxart2d_SOURCE_DIR@/include/wx/gdiplusdrawer" \ >> "@wxart2d_SOURCE_DIR@/gdiplusdrawer/src" \ >> "@wxart2d_SOURCE_DIR@/include/wx/artbase" \ >> "@wxart2d_SOURCE_DIR@/artbase/src" \ >> "@wxart2d_SOURCE_DIR@/include/wx/curves" \ >> "@wxart2d_SOURCE_DIR@/curves/src" \ >> "@wxart2d_SOURCE_DIR@/include/wx/canvas" \ >> "@wxart2d_SOURCE_DIR@/canvas/src" \ >> "@wxart2d_SOURCE_DIR@/include/wx/editor" \ >> "@wxart2d_SOURCE_DIR@/editor/src" \ >> "@wxart2d_SOURCE_DIR@/include/wx/svgio" \ >> "@wxart2d_SOURCE_DIR@/svgio/src" \ >> "@wxart2d_SOURCE_DIR@/include/wx/gdsio" \ >> "@wxart2d_SOURCE_DIR@/gdsio/src" \ >> "@wxart2d_SOURCE_DIR@/include/wx/keyio" \ >> "@wxart2d_SOURCE_DIR@/keyio/src" \ >> "@wxart2d_SOURCE_DIR@/include/wx/genart" \ >> "@wxart2d_SOURCE_DIR@/genart/src" \ >> "@wxart2d_SOURCE_DIR@/include/wx/luawraps" \ >> "@wxart2d_SOURCE_DIR@/luawraps/src" >> >> Do you agree with my updated list? >> >> Best Regards, >> David >> >> >> On 2/18/2014 2:47 PM, klaas.holwerda wrote: >>> Forgot to say, you should get a target to build the docs. >>> >>> Called: api-docs >>> >>> e.g. in the build dir: >>> >>> cd docs >>> make >>> >>> >>> >>> >>> On 02/18/2014 08:41 PM, klaas.holwerda wrote: >>>> Hi, >>>> >>>> So in the cmake-gui you did set the BUILD_DOCUMENTATION to on? >>>> Is doxygen installed, and graphviz/dot also, and in the PATH? >>>> >>>> >>> ------------------------------------------------------------------------------ >>> >>> Managing the Performance of Cloud-Based Applications >>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >>> Read the Whitepaper. >>> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk >>> >>> _______________________________________________ >>> Wxart2d-users_dev mailing list >>> Wxa...@li... >>> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > _______________________________________________ > Wxart2d-users_dev mailing list > Wxa...@li... > https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev > |
|
From: damateem <dam...@gm...> - 2014-02-19 17:14:26
|
Klaas, It's currently HTML_STYLESHEET = wxart2d.css I've changed it to HTML_STYLESHEET = wxdocview.css Best Regards, David |
|
From: damateem <dam...@gm...> - 2014-02-19 04:34:29
|
Klaas, Similarly for wxDocView. Here is my updated list. "@wxdocview_SOURCE_DIR@/include" \ "@wxdocview_SOURCE_DIR@/include/wx/docview" \ "@wxdocview_SOURCE_DIR@/docview/src" \ "@wxdocview_SOURCE_DIR@/doc/mainpage.doxy" You agree? David On 2/18/2014 11:31 PM, damateem wrote: > Klaas, > > That worked great. Thanks! > > I do believe that the input directory list isn't quite correct. I've > removed the directories that don't exist and added a few that were > missing. Here is my final list. > > "@wxart2d_SOURCE_DIR@/../wxdocview/include" \ > "@wxart2d_SOURCE_DIR@/../wxdocview/include/wx/docview" \ > "@wxart2d_SOURCE_DIR@/../wxdocview/docview/src" \ > "@wxart2d_SOURCE_DIR@/doc/mainpage.doxy" \ > "@wxart2d_SOURCE_DIR@/doc/canvasfont.doxy" \ > "@wxart2d_SOURCE_DIR@/include" \ > "@wxart2d_SOURCE_DIR@/include/wx/canextobj" \ > "@wxart2d_SOURCE_DIR@/canextobj/src" \ > "@wxart2d_SOURCE_DIR@/include/wx/aggdrawer" \ > "@wxart2d_SOURCE_DIR@/aggdrawer/src" \ > "@wxart2d_SOURCE_DIR@/include/wx/gdiplusdrawer" \ > "@wxart2d_SOURCE_DIR@/gdiplusdrawer/src" \ > "@wxart2d_SOURCE_DIR@/include/wx/artbase" \ > "@wxart2d_SOURCE_DIR@/artbase/src" \ > "@wxart2d_SOURCE_DIR@/include/wx/curves" \ > "@wxart2d_SOURCE_DIR@/curves/src" \ > "@wxart2d_SOURCE_DIR@/include/wx/canvas" \ > "@wxart2d_SOURCE_DIR@/canvas/src" \ > "@wxart2d_SOURCE_DIR@/include/wx/editor" \ > "@wxart2d_SOURCE_DIR@/editor/src" \ > "@wxart2d_SOURCE_DIR@/include/wx/svgio" \ > "@wxart2d_SOURCE_DIR@/svgio/src" \ > "@wxart2d_SOURCE_DIR@/include/wx/gdsio" \ > "@wxart2d_SOURCE_DIR@/gdsio/src" \ > "@wxart2d_SOURCE_DIR@/include/wx/keyio" \ > "@wxart2d_SOURCE_DIR@/keyio/src" \ > "@wxart2d_SOURCE_DIR@/include/wx/genart" \ > "@wxart2d_SOURCE_DIR@/genart/src" \ > "@wxart2d_SOURCE_DIR@/include/wx/luawraps" \ > "@wxart2d_SOURCE_DIR@/luawraps/src" > > Do you agree with my updated list? > > Best Regards, > David > > > On 2/18/2014 2:47 PM, klaas.holwerda wrote: >> Forgot to say, you should get a target to build the docs. >> >> Called: api-docs >> >> e.g. in the build dir: >> >> cd docs >> make >> >> >> >> >> On 02/18/2014 08:41 PM, klaas.holwerda wrote: >>> Hi, >>> >>> So in the cmake-gui you did set the BUILD_DOCUMENTATION to on? >>> Is doxygen installed, and graphviz/dot also, and in the PATH? >>> >>> >> >> ------------------------------------------------------------------------------ >> >> Managing the Performance of Cloud-Based Applications >> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >> Read the Whitepaper. >> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk >> >> _______________________________________________ >> Wxart2d-users_dev mailing list >> Wxa...@li... >> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev > |
|
From: damateem <dam...@gm...> - 2014-02-19 04:31:58
|
Klaas, That worked great. Thanks! I do believe that the input directory list isn't quite correct. I've removed the directories that don't exist and added a few that were missing. Here is my final list. "@wxart2d_SOURCE_DIR@/../wxdocview/include" \ "@wxart2d_SOURCE_DIR@/../wxdocview/include/wx/docview" \ "@wxart2d_SOURCE_DIR@/../wxdocview/docview/src" \ "@wxart2d_SOURCE_DIR@/doc/mainpage.doxy" \ "@wxart2d_SOURCE_DIR@/doc/canvasfont.doxy" \ "@wxart2d_SOURCE_DIR@/include" \ "@wxart2d_SOURCE_DIR@/include/wx/canextobj" \ "@wxart2d_SOURCE_DIR@/canextobj/src" \ "@wxart2d_SOURCE_DIR@/include/wx/aggdrawer" \ "@wxart2d_SOURCE_DIR@/aggdrawer/src" \ "@wxart2d_SOURCE_DIR@/include/wx/gdiplusdrawer" \ "@wxart2d_SOURCE_DIR@/gdiplusdrawer/src" \ "@wxart2d_SOURCE_DIR@/include/wx/artbase" \ "@wxart2d_SOURCE_DIR@/artbase/src" \ "@wxart2d_SOURCE_DIR@/include/wx/curves" \ "@wxart2d_SOURCE_DIR@/curves/src" \ "@wxart2d_SOURCE_DIR@/include/wx/canvas" \ "@wxart2d_SOURCE_DIR@/canvas/src" \ "@wxart2d_SOURCE_DIR@/include/wx/editor" \ "@wxart2d_SOURCE_DIR@/editor/src" \ "@wxart2d_SOURCE_DIR@/include/wx/svgio" \ "@wxart2d_SOURCE_DIR@/svgio/src" \ "@wxart2d_SOURCE_DIR@/include/wx/gdsio" \ "@wxart2d_SOURCE_DIR@/gdsio/src" \ "@wxart2d_SOURCE_DIR@/include/wx/keyio" \ "@wxart2d_SOURCE_DIR@/keyio/src" \ "@wxart2d_SOURCE_DIR@/include/wx/genart" \ "@wxart2d_SOURCE_DIR@/genart/src" \ "@wxart2d_SOURCE_DIR@/include/wx/luawraps" \ "@wxart2d_SOURCE_DIR@/luawraps/src" Do you agree with my updated list? Best Regards, David On 2/18/2014 2:47 PM, klaas.holwerda wrote: > Forgot to say, you should get a target to build the docs. > > Called: api-docs > > e.g. in the build dir: > > cd docs > make > > > > > On 02/18/2014 08:41 PM, klaas.holwerda wrote: >> Hi, >> >> So in the cmake-gui you did set the BUILD_DOCUMENTATION to on? >> Is doxygen installed, and graphviz/dot also, and in the PATH? >> >> > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > _______________________________________________ > Wxart2d-users_dev mailing list > Wxa...@li... > https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev |
|
From: klaas.holwerda <ng...@kl...> - 2014-02-18 20:33:07
|
Hi, Just to say a2dHabitat is introduced, in order to switch general/global canvas drawing parameters on the fly. So when having several types of canvas drawings + drawing part views, each drawing can have its own layers, grid, coordinates etc. i.o.w. its own habitat. Regards, Klaas |
|
From: klaas.holwerda <ng...@kl...> - 2014-02-18 19:47:33
|
Forgot to say, you should get a target to build the docs. Called: api-docs e.g. in the build dir: cd docs make On 02/18/2014 08:41 PM, klaas.holwerda wrote: > Hi, > > So in the cmake-gui you did set the BUILD_DOCUMENTATION to on? > Is doxygen installed, and graphviz/dot also, and in the PATH? > > |
|
From: klaas.holwerda <ng...@kl...> - 2014-02-18 19:41:13
|
Hi, So in the cmake-gui you did set the BUILD_DOCUMENTATION to on? Is doxygen installed, and graphviz/dot also, and in the PATH? Then you should get a target to build the documentation. wxart2d_SOURCE_DIR comes from Cmake, and comes automatically from this line: PROJECT( wxart2d ). The doxygen files should be configured in the build directory (BTW always better not build in source itself). So in the source directory you should find doxygin.in containing lines like: INPUT = \ "@wxart2d_SOURCE_DIR@/../wxdocview/include/wx/general" \ and in the BUILD directory as doxygen.doxy, containing lines like: INPUT = \ "C:/soft/art2d/wxArt2D/packages/wxart2d/../wxdocview/include/wx/general" \ Does this bring you any further? It works here on Linux as well as VC. Regards, Klaas On 02/18/2014 04:05 PM, damateem wrote: > This is surely a simple question, but I've spent quite a bit of time and > haven't found the solution. I want to run doxygen to build the html > docs. Where do I define wxart2d_SOURCE_DIR so that the > @wxart2d_SOURCE_DIR@ substitution in doxygen.in works correctly? > > Thanks, > David > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > _______________________________________________ > Wxart2d-users_dev mailing list > Wxa...@li... > https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev > |
|
From: damateem <dam...@gm...> - 2014-02-18 15:05:24
|
This is surely a simple question, but I've spent quite a bit of time and haven't found the solution. I want to run doxygen to build the html docs. Where do I define wxart2d_SOURCE_DIR so that the @wxart2d_SOURCE_DIR@ substitution in doxygen.in works correctly? Thanks, David |
|
From: klaas.holwerda <ng...@kl...> - 2014-02-17 20:01:38
|
Hi David, Bad message i think, should be warning maybe, but it does not matter. If you want to generate *.pot files for translating string in wxart2D to another language, you need to install xgettext. Regards, Klaas On 02/17/2014 07:42 PM, damateem wrote: > I discovered another error. It occurs when building wxDocView. In cmake, > when clicking Configure, the message "ERRORGetText not found" is > generated. For now I've ignored it and the build completed without errors. > > Why is this error being generated? > > Is it safe to ignore? > The complete output is shown below. > > Thanks, > David > > > Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE > GETTEXT_MSGFMT_EXECUTABLE) > ERRORGetText not found > detected as: libwxpngu = wxpng > detected as: libwxtiffu = wxtiff > detected as: libwxjpegu = wxjpeg > detected as: libwxzlibu = wxzlib > detected as: libwxregexu = wxregexu > detected as: libwxexpatu = wxexpat > detected as: wxbase30u_net = wxbase30u_net > detected as: wxbase30u_odbc = WX_odbc-NOTFOUND > detected as: wxbase30u_xml = wxbase30u_xml > detected as: wxmsw30u_core = wxmsw30u_core > detected as: wxmsw30u_adv = wxmsw30u_adv > detected as: wxmsw30u_aui = wxmsw30u_aui > detected as: wxmsw30u_html = wxmsw30u_html > detected as: wxmsw30u_media = wxmsw30u_media > detected as: wxmsw30u_xrc = wxmsw30u_xrc > detected as: wxmsw30u_dbgrid = WX_dbgrid-NOTFOUND > detected as: wxmsw30u_gl = wxmsw30u_gl > detected as: wxmsw30u_qa = WX_qa-NOTFOUND > detected as: wxmsw30u_stc = wxmsw30u_stc > detected as: wxmsw30u_richtext = wxmsw30u_richtext > detected as: wxmsw30u_gizmos = WX_gizmos-NOTFOUND > detected as: wxmsw30u_things = WX_things-NOTFOUND > detected as: wxmsw30u_netutils = WX_netutils-NOTFOUND > detected as: wxmsw30u_gizmos_xrc = WX_gizmos_xrc-NOTFOUND > detected wxscintilla = wxscintilla > Configuration from C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0 > Configuration > wxWidgets_RELEASE : 30 > wxWidgets_USE_DEBUG : OFF > wxWidgets_USE_UNICODE : ON > wxWidgets_USE_STATIC : ON > wxWidgets_USE_UNIVERSAL : OFF > wxWidgets_FOUND : TRUE > wxWidgets_INCLUDE_DIRS : > C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0/lib/gcc_lib/mswu;C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0/include > wxWidgets_LIBRARY_DIRS : > C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0/lib/gcc_lib > wxWidgets_LIBRARIES : > wxmsw30u_aui;wxmsw30u_xrc;wxmsw30u_html;wxmsw30u_adv;wxbase30u_xml;wxbase30u_net;wxmsw30u_core;wxbase30u;wxmsw30u_gl;wxpng;wxtiff;wxjpeg;wxzlib;wxregexu;wxexpat;opengl32;glu32;winmm;comctl32;rpcrt4;wsock32;kernel32;user32;gdi32;comdlg32;winspool;winmm;shell32;comctl32;ole32;oleaut32;uuid;rpcrt4;advapi32;wsock32;odbc32;opengl32 > wxWidgets_CXX_FLAGS : > -fexceptions;-fno-pcc-struct-return;-fstrict-aliasing;-Wall;-Wno-unused-variable > wxWidgets_DEFINITIONS : > -D__WXMSW__;-D__GNUWIN32__;-D__WIN95__;-DwxUSE_UNICODE > wxWidgets_FIND_COMPONENTS : > aui;xrc;html;adv;xml;net;core;base;gl;png;tiff;jpeg;zlib;regex;expat > myapp CMake file generation > wxWidgets_LIBRARIES for myapp: > wxmsw30u_aui;wxmsw30u_xrc;wxmsw30u_html;wxmsw30u_adv;wxbase30u_xml;wxbase30u_net;wxmsw30u_core;wxbase30u;wxmsw30u_gl;wxpng;wxtiff;wxjpeg;wxzlib;wxregexu;wxexpat;opengl32;glu32;winmm;comctl32;rpcrt4;wsock32;kernel32;user32;gdi32;comdlg32;winspool;winmm;shell32;comctl32;ole32;oleaut32;uuid;rpcrt4;advapi32;wsock32;odbc32;opengl32 > wxDocview_LIBRARIES for myapp: > wxartbase_msw30u_generalt;wxartbase_msw30u_xmlparse;wxdocview_msw30u_docview > Configuring done > > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > _______________________________________________ > Wxart2d-users_dev mailing list > Wxa...@li... > https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev > |
|
From: damateem <dam...@gm...> - 2014-02-17 18:42:36
|
I discovered another error. It occurs when building wxDocView. In cmake, when clicking Configure, the message "ERRORGetText not found" is generated. For now I've ignored it and the build completed without errors. Why is this error being generated? Is it safe to ignore? The complete output is shown below. Thanks, David Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE GETTEXT_MSGFMT_EXECUTABLE) ERRORGetText not found detected as: libwxpngu = wxpng detected as: libwxtiffu = wxtiff detected as: libwxjpegu = wxjpeg detected as: libwxzlibu = wxzlib detected as: libwxregexu = wxregexu detected as: libwxexpatu = wxexpat detected as: wxbase30u_net = wxbase30u_net detected as: wxbase30u_odbc = WX_odbc-NOTFOUND detected as: wxbase30u_xml = wxbase30u_xml detected as: wxmsw30u_core = wxmsw30u_core detected as: wxmsw30u_adv = wxmsw30u_adv detected as: wxmsw30u_aui = wxmsw30u_aui detected as: wxmsw30u_html = wxmsw30u_html detected as: wxmsw30u_media = wxmsw30u_media detected as: wxmsw30u_xrc = wxmsw30u_xrc detected as: wxmsw30u_dbgrid = WX_dbgrid-NOTFOUND detected as: wxmsw30u_gl = wxmsw30u_gl detected as: wxmsw30u_qa = WX_qa-NOTFOUND detected as: wxmsw30u_stc = wxmsw30u_stc detected as: wxmsw30u_richtext = wxmsw30u_richtext detected as: wxmsw30u_gizmos = WX_gizmos-NOTFOUND detected as: wxmsw30u_things = WX_things-NOTFOUND detected as: wxmsw30u_netutils = WX_netutils-NOTFOUND detected as: wxmsw30u_gizmos_xrc = WX_gizmos_xrc-NOTFOUND detected wxscintilla = wxscintilla Configuration from C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0 Configuration wxWidgets_RELEASE : 30 wxWidgets_USE_DEBUG : OFF wxWidgets_USE_UNICODE : ON wxWidgets_USE_STATIC : ON wxWidgets_USE_UNIVERSAL : OFF wxWidgets_FOUND : TRUE wxWidgets_INCLUDE_DIRS : C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0/lib/gcc_lib/mswu;C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0/include wxWidgets_LIBRARY_DIRS : C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0/lib/gcc_lib wxWidgets_LIBRARIES : wxmsw30u_aui;wxmsw30u_xrc;wxmsw30u_html;wxmsw30u_adv;wxbase30u_xml;wxbase30u_net;wxmsw30u_core;wxbase30u;wxmsw30u_gl;wxpng;wxtiff;wxjpeg;wxzlib;wxregexu;wxexpat;opengl32;glu32;winmm;comctl32;rpcrt4;wsock32;kernel32;user32;gdi32;comdlg32;winspool;winmm;shell32;comctl32;ole32;oleaut32;uuid;rpcrt4;advapi32;wsock32;odbc32;opengl32 wxWidgets_CXX_FLAGS : -fexceptions;-fno-pcc-struct-return;-fstrict-aliasing;-Wall;-Wno-unused-variable wxWidgets_DEFINITIONS : -D__WXMSW__;-D__GNUWIN32__;-D__WIN95__;-DwxUSE_UNICODE wxWidgets_FIND_COMPONENTS : aui;xrc;html;adv;xml;net;core;base;gl;png;tiff;jpeg;zlib;regex;expat myapp CMake file generation wxWidgets_LIBRARIES for myapp: wxmsw30u_aui;wxmsw30u_xrc;wxmsw30u_html;wxmsw30u_adv;wxbase30u_xml;wxbase30u_net;wxmsw30u_core;wxbase30u;wxmsw30u_gl;wxpng;wxtiff;wxjpeg;wxzlib;wxregexu;wxexpat;opengl32;glu32;winmm;comctl32;rpcrt4;wsock32;kernel32;user32;gdi32;comdlg32;winspool;winmm;shell32;comctl32;ole32;oleaut32;uuid;rpcrt4;advapi32;wsock32;odbc32;opengl32 wxDocview_LIBRARIES for myapp: wxartbase_msw30u_generalt;wxartbase_msw30u_xmlparse;wxdocview_msw30u_docview Configuring done |
|
From: damateem <dam...@gm...> - 2014-02-15 19:46:32
|
Hi Klaas, On February 15, 2014 6:03:55 AM EST, "klaas.holwerda" <ng...@kl...> wrote: >Hi, > >On 02/14/2014 11:13 PM, damateem wrote: >> Klaas, >> >> I'm glad to help. wxArt2D is an amazing package! >Thanks, good to hear it is of use :-) > >> >> Did you make any changes to my fixes? They looked ok to me, but I'm >not >> as familiar with the code as you. >Just a little, like STL I just looked at wxwidgets docview, and used >that fix. >wxart2d docview framework, is based on that, but now much different. > >> >> I made it completely through the build and didn't encounter any other >> errors. However, there are an extreme number of warnings. Have you >> considered correcting those? > >Maybe you have the warning level different. >On SUSE over here it is not that bad. >But yes eventually warning should be handled, but there is some much to >do :-( >Be my guest! ;-) Understood. If I ever find time, I will dig into it. There are a few warnings that are more concerning than others. For instance, some functions have a return type but no return statement. Others indicate variables being used possibly before initialization > >> >> To build wxArt2D, I used the command line, but for wxWidgets >projects, >> we've been using CodeBlocks with wxSmith. It's a good solution, but I >> wish there were better. >Yes Codeblocks is fine, but I still prefer VC express on windows, VC >ease of debugging compared to >gdb, is huge. >What is your reasoning behind using mingw instead of (also free) VC >express? >Or just want to use opensource? I'm a big fan of open source so that's good enough reason by itself, but my understanding of the vc express license is that it doesn't allow me to make commercial applications. Best Regards, David > >Regards, > >Klaas > > > > > > > > > > >------------------------------------------------------------------------------ >Android apps run on BlackBerry 10 >Introducing the new BlackBerry 10.2.1 Runtime for Android apps. >Now with support for Jelly Bean, Bluetooth, Mapview and more. >Get your Android app in front of a whole new audience. Start now. >http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk >_______________________________________________ >Wxart2d-users_dev mailing list >Wxa...@li... >https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. |
|
From: klaas.holwerda <ng...@kl...> - 2014-02-15 10:04:57
|
Hi, On 02/14/2014 11:13 PM, damateem wrote: > Klaas, > > I'm glad to help. wxArt2D is an amazing package! Thanks, good to hear it is of use :-) > > Did you make any changes to my fixes? They looked ok to me, but I'm not > as familiar with the code as you. Just a little, like STL I just looked at wxwidgets docview, and used that fix. wxart2d docview framework, is based on that, but now much different. > > I made it completely through the build and didn't encounter any other > errors. However, there are an extreme number of warnings. Have you > considered correcting those? Maybe you have the warning level different. On SUSE over here it is not that bad. But yes eventually warning should be handled, but there is some much to do :-( Be my guest! ;-) > > To build wxArt2D, I used the command line, but for wxWidgets projects, > we've been using CodeBlocks with wxSmith. It's a good solution, but I > wish there were better. Yes Codeblocks is fine, but I still prefer VC express on windows, VC ease of debugging compared to gdb, is huge. What is your reasoning behind using mingw instead of (also free) VC express? Or just want to use opensource? Regards, Klaas |
|
From: damateem <dam...@gm...> - 2014-02-14 22:12:41
|
Klaas, I'm glad to help. wxArt2D is an amazing package! Did you make any changes to my fixes? They looked ok to me, but I'm not as familiar with the code as you. I made it completely through the build and didn't encounter any other errors. However, there are an extreme number of warnings. Have you considered correcting those? To build wxArt2D, I used the command line, but for wxWidgets projects, we've been using CodeBlocks with wxSmith. It's a good solution, but I wish there were better. Best Regards, David On 2/14/2014 5:22 PM, klaas.holwerda wrote: > Hi David, > > Thank you very much for the reports. > I think i fixed them all, but if you find more let me know. > Also good to see Cmake apparently still works okay on mingw ;-) > > Do you use an IDE on windows with mingw? > > Regards, > > Klaas > > > > On 02/14/2014 09:28 PM, damateem wrote: >> Most, perhaps all, of the errors I reported today could be resolved by >> building with wxWidgets 2.8 compatibility enabled. However, I have not >> tried that. I've build wxWidgets 3.0.0 with >> >> #define WXWIN_COMPATIBILITY_2_6 0 >> #define WXWIN_COMPATIBILITY_2_8 0 >> >> David >> >> ------------------------------------------------------------------------------ >> Android apps run on BlackBerry 10 >> Introducing the new BlackBerry 10.2.1 Runtime for Android apps. >> Now with support for Jelly Bean, Bluetooth, Mapview and more. >> Get your Android app in front of a whole new audience. Start now. >> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk >> _______________________________________________ >> Wxart2d-users_dev mailing list >> Wxa...@li... >> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev >> > > ------------------------------------------------------------------------------ > Android apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > Wxart2d-users_dev mailing list > Wxa...@li... > https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev |
|
From: klaas.holwerda <ng...@kl...> - 2014-02-14 21:23:37
|
Hi David, Thank you very much for the reports. I think i fixed them all, but if you find more let me know. Also good to see Cmake apparently still works okay on mingw ;-) Do you use an IDE on windows with mingw? Regards, Klaas On 02/14/2014 09:28 PM, damateem wrote: > Most, perhaps all, of the errors I reported today could be resolved by > building with wxWidgets 2.8 compatibility enabled. However, I have not > tried that. I've build wxWidgets 3.0.0 with > > #define WXWIN_COMPATIBILITY_2_6 0 > #define WXWIN_COMPATIBILITY_2_8 0 > > David > > ------------------------------------------------------------------------------ > Android apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > Wxart2d-users_dev mailing list > Wxa...@li... > https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev > |
|
From: damateem <dam...@gm...> - 2014-02-14 20:28:19
|
Most, perhaps all, of the errors I reported today could be resolved by building with wxWidgets 2.8 compatibility enabled. However, I have not tried that. I've build wxWidgets 3.0.0 with #define WXWIN_COMPATIBILITY_2_6 0 #define WXWIN_COMPATIBILITY_2_8 0 David |
|
From: damateem <dam...@gm...> - 2014-02-14 20:23:49
|
Using: wxWidgets-3.0.0 MinGW (tdm-gcc-4.8.1-3) wxArt2D tip as of 2/13/2014 In wxart2d\apps\mars\src\page.cpp, all SetCellValue( val, row, col ) need to be changed to SetCellValue( row, col, val ). The prior version is deprecated. David |
|
From: damateem <dam...@gm...> - 2014-02-14 20:15:00
|
The same issue exists in wxArt2D\packages\wxart2d\editor\src\strucdlgdoc.cpp:119:81 On 2/14/2014 1:24 PM, damateem wrote: > Using: > wxWidgets-3.0.0 > MinGW (tdm-gcc-4.8.1-3) > wxArt2D tip as of 2/13/2014 > > When building wxArt2D I get the following errors. > > C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\canvas\src > > \strucdlg.cpp: In member function 'bool > a2dCanvasObjectsDialog::Create(wxWindow* > , wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int)': > C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\canvas\src > > \strucdlg.cpp:108:81: error: 'wxADJUST_MINSIZE' was not declared in > this scope > itemBoxSizer2->Add( m_numberObjects, 0, wxALIGN_CENTER_HORIZONTAL > | wxALL | > wxADJUST_MINSIZE, 5 ); > > ^ > C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\canvas\src > > \strucdlg.cpp: In member function 'bool > a2dCanvasObjectsChooseDialog::Create(wxW > indow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, > long int)': > C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\canvas\src > > \strucdlg.cpp:519:81: error: 'wxADJUST_MINSIZE' was not declared in > this scope > itemBoxSizer2->Add( m_numberObjects, 0, wxALIGN_CENTER_HORIZONTAL > | wxALL | > wxADJUST_MINSIZE, 5 ); > > ^ > canvas\src\CMakeFiles\canvas.dir\build.make:1017: recipe for target > 'canvas/src/ > CMakeFiles/canvas.dir/strucdlg.cpp.obj' failed > mingw32-make[2]: *** > [canvas/src/CMakeFiles/canvas.dir/strucdlg.cpp.obj] Error 1 > > CMakeFiles\Makefile2:302: recipe for target > 'canvas/src/CMakeFiles/canvas.dir/al > l' failed > mingw32-make[1]: *** [canvas/src/CMakeFiles/canvas.dir/all] Error 2 > Makefile:115: recipe for target 'all' failed > mingw32-make: *** [all] Error 2 > > I've built wxWidgets with > > #define WXWIN_COMPATIBILITY_2_6 0 > #define WXWIN_COMPATIBILITY_2_8 0 > > so wxADJUST_MINSIZE is no longer available. Removing it from the code, > removed the error. > > David > |
|
From: damateem <dam...@gm...> - 2014-02-14 18:24:25
|
Using:
wxWidgets-3.0.0
MinGW (tdm-gcc-4.8.1-3)
wxArt2D tip as of 2/13/2014
When building wxArt2D I get the following errors.
C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\canvas\src
\strucdlg.cpp: In member function 'bool
a2dCanvasObjectsDialog::Create(wxWindow*
, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int)':
C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\canvas\src
\strucdlg.cpp:108:81: error: 'wxADJUST_MINSIZE' was not declared in this
scope
itemBoxSizer2->Add( m_numberObjects, 0, wxALIGN_CENTER_HORIZONTAL
| wxALL |
wxADJUST_MINSIZE, 5 );
^
C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\canvas\src
\strucdlg.cpp: In member function 'bool
a2dCanvasObjectsChooseDialog::Create(wxW
indow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long
int)':
C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\canvas\src
\strucdlg.cpp:519:81: error: 'wxADJUST_MINSIZE' was not declared in this
scope
itemBoxSizer2->Add( m_numberObjects, 0, wxALIGN_CENTER_HORIZONTAL
| wxALL |
wxADJUST_MINSIZE, 5 );
^
canvas\src\CMakeFiles\canvas.dir\build.make:1017: recipe for target
'canvas/src/
CMakeFiles/canvas.dir/strucdlg.cpp.obj' failed
mingw32-make[2]: *** [canvas/src/CMakeFiles/canvas.dir/strucdlg.cpp.obj]
Error 1
CMakeFiles\Makefile2:302: recipe for target
'canvas/src/CMakeFiles/canvas.dir/al
l' failed
mingw32-make[1]: *** [canvas/src/CMakeFiles/canvas.dir/all] Error 2
Makefile:115: recipe for target 'all' failed
mingw32-make: *** [all] Error 2
I've built wxWidgets with
#define WXWIN_COMPATIBILITY_2_6 0
#define WXWIN_COMPATIBILITY_2_8 0
so wxADJUST_MINSIZE is no longer available. Removing it from the code,
removed the error.
David
|
|
From: damateem <dam...@gm...> - 2014-02-14 17:46:54
|
Using:
wxWidgets-3.0.0
MinGW (tdm-gcc-4.8.1-3)
wxArt2D tip as of 2/13/2014
When building wxArt2D I get the following error.
C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\canvas\src
\drawer.cpp: In member function 'void
a2dDrawingPart::DeleteAllPendingAreas()':
C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\canvas\src
\drawer.cpp:1860:16: error: type 'class
a2dUpdateListBase::compatibility_iterato
r' argument given to 'delete', expected pointer
delete nodeb;
^
canvas\src\CMakeFiles\canvas.dir\build.make:321: recipe for target
'canvas/src/C
MakeFiles/canvas.dir/drawer.cpp.obj' failed
mingw32-make[2]: *** [canvas/src/CMakeFiles/canvas.dir/drawer.cpp.obj]
Error 1
CMakeFiles\Makefile2:302: recipe for target
'canvas/src/CMakeFiles/canvas.dir/al
l' failed
mingw32-make[1]: *** [canvas/src/CMakeFiles/canvas.dir/all] Error 2
Makefile:115: recipe for target 'all' failed
mingw32-make: *** [all] Error 2
Changing
delete nodeb;
to
m_updateareas.Erase( nodeb );
removed the error.
David
|
|
From: damateem <dam...@gm...> - 2014-02-14 17:08:07
|
Using:
wxWidgets-3.0.0
MinGW (tdm-gcc-4.8.1-3)
wxArt2D tip as of 2/13/2014
When building wxArt2D I get the following error.
C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\artbase\sr
c\stylebase.cpp: In member function 'void
a2dFontFreetypeData::SetDeviceHeight(d
ouble)':
C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\artbase\sr
c\stylebase.cpp:1180:43: error: call of overloaded 'abs(double)' is
ambiguous
if ( abs(m_sizeInPixels - sizeInPixels) > 0.0001 )
^
C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\artbase\sr
c\stylebase.cpp:1180:43: note: candidates are:
In file included from
C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0/inclu
de/wx/string.h:42:0,
from
C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0/inclu
de/wx/memory.h:15,
from
C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0/inclu
de/wx/object.h:19,
from
C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0/inclu
de/wx/wx.h:15,
from
C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packa
ges\wxart2d\artbase\src\stylebase.cpp:14:
c:\tdm-gcc-32\include\stdlib.h:374:37: note: int abs(int)
_CRTIMP int __cdecl __MINGW_NOTHROW abs (int) __MINGW_ATTRIB_CONST;
^
In file included from
c:\tdm-gcc-32\lib\gcc\mingw32\4.8.1\include\c++\bits\stl_a
lgo.h:59:0,
from
c:\tdm-gcc-32\lib\gcc\mingw32\4.8.1\include\c++\algorithm:
62,
from
C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0/inclu
de/wx/dynarray.h:19,
from
C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0/inclu
de/wx/wx.h:16,
from
C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packa
ges\wxart2d\artbase\src\stylebase.cpp:14:
c:\tdm-gcc-32\lib\gcc\mingw32\4.8.1\include\c++\cstdlib:174:3: note:
long long i
nt std::abs(long long int)
abs(long long __x) { return __builtin_llabs (__x); }
^
c:\tdm-gcc-32\lib\gcc\mingw32\4.8.1\include\c++\cstdlib:166:3: note:
long int st
d::abs(long int)
abs(long __i) { return __builtin_labs(__i); }
^
Not only is abs() ambiguous, but I don't think it is working as
intended. To correct the problem, I changed abs() to fabs().
David
|
|
From: damateem <dam...@gm...> - 2014-02-14 16:09:34
|
I'm using wxWidgets-3.0.0 with MinGW (tdm-gcc-4.8.1-3).
When building wxArt2D I get the following error.
C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\artbase\sr
c\drawer2d.cpp: In member function 'void a2dDrawer2D::FillPolygon(int,
wxRealPoi
nt*)':
C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packages\wxart2d\artbase\sr
c\drawer2d.cpp:2792:42: error: invalid conversion from 'int (*)(const
a2dAET**,
const a2dAET**)' to 'wxSortCompareFunction {aka int (*)(const void*,
const void*
)}' [-fpermissive]
m_AETlist.Sort( SortonXs );
^
In file included from
C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0/inclu
de/wx/wx.h:17:0,
from
C:\user_data\david\dajac\source_pool\wxArt2D\wxArt2D\packa
ges\wxart2d\artbase\src\drawer2d.cpp:18:
C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0/include/wx/list.h:320:14:
e
rror: initializing argument 1 of 'void
a2dAETList::Sort(wxSortCompareFunction)
' [-fpermissive]
void Sort( wxSortCompareFunction compfunc
) \
^
C:/user_data/david/dajac/source_pool/wxWidgets-3.0.0/include/wx/list.h:66:5:
not
e: in expansion of macro 'WX_DECLARE_LIST_XO'
WX_DECLARE_LIST_XO(elT*, liT, decl)
^
C:/user_data/david/dajac/source_pool/wxArt2D/wxArt2D/packages/wxart2d/include/wx
/artbase/artglob.h:323:1: note: in expansion of macro
'WX_DECLARE_LIST_WITH_DECL
'
WX_DECLARE_LIST_WITH_DECL( a2dAET, a2dAETList, class A2DARTBASEDLLEXP );
^
artbase\src\CMakeFiles\artbase.dir\build.make:57: recipe for target
'artbase/src
/CMakeFiles/artbase.dir/drawer2d.cpp.obj' failed
mingw32-make[2]: ***
[artbase/src/CMakeFiles/artbase.dir/drawer2d.cpp.obj] Error
1
CMakeFiles\Makefile2:222: recipe for target
'artbase/src/CMakeFiles/artbase.dir/
all' failed
mingw32-make[1]: *** [artbase/src/CMakeFiles/artbase.dir/all] Error 2
Makefile:115: recipe for target 'all' failed
mingw32-make: *** [all] Error 2
To make the compiler happy, I changed the SortonXs() function to accept
void* parameters and explicitly cast to a2sAET** as follows.
static int SortonXs( const void* f, const void* s )
{
const a2dAET** first =(const a2dAET **)f;
const a2dAET** second =(const a2dAET **)s;
if ( ( *first )->m_xs < ( *second )->m_xs )
return -1;
else if ( ( *first )->m_xs > ( *second )->m_xs )
return 1;
return 0;
}
This hasn't been tested (beyond compiling) so I'm not sure it actually
gives the desired results. Beware if you have issues with filled polygons.
David
|