Re: conversion error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks strk.
I solved this problem some days ago, thanks any way. 
The issue is that I was including ming.h and trying to compile my
program with a C++ compiler. If you use the C++ wrapper 
mingpp.h with a C++ compiler problem fixed.
Best regards.

El mar, 13-04-2010 a las 20:33 +0200, strk escribió:
> Darien, try with a newer compiler, if I got it right
> that SWFMovieBlockType_u union is a trick supported by
> newer compilers...
> 
> --strk;
> 
> On Thu, Mar 04, 2010 at 03:36:57AM -0600, Darien Alonso Camacho wrote:
> > Hi,
> > I have installed ming 0.4.3 in Debian Lenny and when I try to compile
> > the example http://www.libming.org/SWFMovie_nextFrame it fail giving
> > these compilation errors:
> > 
> > /home/dac/Ming/main.cpp:49: error: no matching function for call to
> > ‘SWFMovieBlockType_u::SWFMovieBlockType_u(SWFBlock_s*)’
> > /usr/include/ming.h:94: note: candidates are:
> > SWFMovieBlockType_u::SWFMovieBlockType_u()
> > /usr/include/ming.h:94: note:
> > SWFMovieBlockType_u::SWFMovieBlockType_u(const SWFMovieBlockType_u&)
> > 
> > The error is at this line: 
> > square_display_item = SWFMovie_add(test_movie, (SWFBlock)
> > square_definition);
> > 
> > May be the example do not work for this ming version (0.4.3) or I am
> > doing something wrong. I have been searching on the internet but can not
> > solve the problem. Any idea on how to solve this will be welcome.
> > Thanks, darien.
> > 
> > 
> > ------------------------------------------------------------------------------
> > Download Intel® Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > _______________________________________________
> > Ming-users mailing list
> > Ming-users@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/ming-users
> 


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ming-users mailing list
Ming-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ming-users


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux