gvimext Build error on Win64 with Mingw

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

gvimext Build error on Win64 with Mingw

John Marriott-2
Hi all,

When I attempt to build gvimext.dll on Win 7 x64 using MinGW (v4.4.4
20100129 (prerelease) autobuild from the MinGW 64 site) I get the following:

<snip>
gvimext.cpp: In member function 'virtual HRESULT
CShellExtClassFactory::CreateInstance(IUnknown*, const IID&,void**)':
gvimext.cpp:432: error: cannot allocate an object of abstract type
'CShellExt'
gvimext.h:112: note:   because the following virtual functions are pure
within 'CShellExt':
c:/program
files/mingw/lib/gcc/../../x86_64-w64-mingw32/include/shlobj.h:215: note:
     virtual HRESULT IContextMenu::GetCommandString(UINT_PTR, UINT,
UINT*, CHAR*, UINT)
make[1]: *** [gvimext.o] Error 1
windres --input-format=rc --output-format=coff -DMING gvimext_ming.rc -o
gvimext.res
make[1]: Target `all' not remade because of errors.
make[1]: Leaving directory
`C:/Users/John/Documents/Software/Utility/Vim/72/vim72/src/GvimExt'
make: *** [GvimExt/gvimext.dll] Error 2
make: Target `all' not remade because of errors.
make: Leaving directory
`C:/Users/John/Documents/Software/Utility/Vim/72/vim72/src'
</snip>

I believe that it builds ok using MS VC++ 2008. Any assistance would be
greatly appreciated.

Regards
John

--
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
Reply | Threaded
Open this post in threaded view
|

Re: gvimext Build error on Win64 with Mingw

Andy Kittner
On Sun, Feb 14, 2010 at 07:23:04AM +1100, John Marriott wrote:
> [...]
>I believe that it builds ok using MS VC++ 2008. Any assistance would
>be greatly appreciated.
Can you try the attached patch? It build fine for me with it, but I can't
test if the .dll works right now ;)

Regards,
Andy
--
According to my best recollection, I don't remember.
                -- Vincent "Jimmy Blue Eyes" Alo

gvimext-mgw64.patch (404 bytes) Download Attachment
attachment1 (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: gvimext Build error on Win64 with Mingw

John Marriott-2
Hi Andy,

The build works a treat. I will test to see if it works shortly.

Regards
John

On 14-Feb-2010 08:15, Andy Kittner wrote:
> On Sun, Feb 14, 2010 at 07:23:04AM +1100, John Marriott wrote:
>> [...]
>> I believe that it builds ok using MS VC++ 2008. Any assistance would
>> be greatly appreciated.
> Can you try the attached patch? It build fine for me with it, but I
> can't test if the .dll works right now ;)
>
> Regards,
> Andy

--
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php