Hi Mike,
All/Mostly warnings I would say, it does compile I see.
Only when linking there is a problem.
Did you set the verbose flag in cmake?
I don't see any libraries linked.
What real errors do you see ?
Regards,
Klaas
PS I do not test mingw, but on Linux it compiles oke.
On 10/21/2016 12:43 AM, Mike Gibson wrote:
Hello,
We have a project that we're trying to upgrade from wxWidgets 2.8.11 to wxWidgets 3.0, and we are
simultaneously upgrading to wxArt2d 963.
We were able to compile the wxArt2d library against wxWidgets, however, the
project will not compile.
The project was able to compile with no errors before the upgrades. We are seeing some weird
errors in wxArt2d modules, so I decided to attempt to compile the wxArt2d sample project
samples/canvas/simple.
Here is a sample of some of the errors:
C:\Users\mike_gibson\Downloads\wxart2d-code-963-trunk\wxart2d-code-963-trunk\wxArt2D\packages\wxart2d\samples\canvas\simple\simple.cpp|1323|warning:
unused variable 'root' [-Wunused-variable]|
C:\Users\mike_gibson\Documents\source_pool_built_20161020-0937\built\0001\wxart2d\include\wxart2d\wx\canvas\drawer.h|2236|
required from 'void a2dDnDCanvasObjectData<parserTypeIn, parserTypeOut>::CreateMetaFileW() const
[with parserTypeIn = a2dIOHandlerCVGIn; parserTypeOut = a2dIOHandlerCVGOut]'|
C:\Users\mike_gibson\Documents\source_pool_built_20161020-0937\built\0001\wxart2d\include\wxart2d\wx\canvas\drawer.h|1991|
required from 'size_t a2dDnDCanvasObjectData<parserTypeIn, parserTypeOut>::GetDataSize(const
wxDataFormat&) const [with parserTypeIn = a2dIOHandlerCVGIn; parserTypeOut = a2dIOHandlerCVGOut;
size_t = unsigned int]'|
C:\Users\mike_gibson\Downloads\wxart2d-code-963-trunk\wxart2d-code-963-trunk\wxArt2D\packages\wxart2d\samples\canvas\simple\simple.cpp|1485|
required from here|
-------------------------------------------------------
C:\Users\mike_gibson\Documents\source_pool_built_20161020-0937\built\0001\wxart2d\include\wxart2d\wx\canvas\drawer.h|2252|
required from 'void a2dDnDCanvasObjectData<parserTypeIn, parserTypeOut>::CreateBitmap() const
[with parserTypeIn = a2dIOHandlerCVGIn; parserTypeOut = a2dIOHandlerCVGOut]'|
C:\Users\mike_gibson\Documents\source_pool_built_20161020-0937\built\0001\wxart2d\include\wxart2d\wx\canvas\drawer.h|2010|
required from 'size_t a2dDnDCanvasObjectData<parserTypeIn, parserTypeOut>::GetDataSize(const
wxDataFormat&) const [with parserTypeIn = a2dIOHandlerCVGIn; parserTypeOut = a2dIOHandlerCVGOut;
size_t = unsigned int]'|
C:\Users\mike_gibson\Downloads\wxart2d-code-963-trunk\wxart2d-code-963-trunk\wxArt2D\packages\wxart2d\samples\canvas\simple\simple.cpp|1485|
required from here|
What is causing these errors? I've included the entire build log at the end of
this message.
Thanks,
- Mike
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev