Anyone successfully compiled Strawberry Prolog 5 on Linux?

Questions about Wine on Linux
Locked
Baytars
Newbie
Newbie
Posts: 2
Joined: Fri Mar 06, 2020 1:01 am

Anyone successfully compiled Strawberry Prolog 5 on Linux?

Post by Baytars »

Strawberry Prolog offers source code of its compiler and the source code contains a .vcproj file which winemaker is able to refer to to generate Makefile. I've got all the mfc and atl headers needed but tried in vain to compile it successfully, mainly because of issues with comdef.h.
  1. typedef _COM_SMARTPTR<Interface, &IID> template. It says error in number of template parameters - 1 instead of 2.
  2. structs defined in the form of struct __declspec(uuid("xxxx")) xxxx; seem not to be recognized in latter part of the header as such errors as below are raised.

    Code: Select all

    struct __declspec(uuid("3050F373-98B5-11CF-BB82-00AA00BDCE0B")) IViewTransitionSite;
    _COM_SMARTPTR_TYPEDEF(IViewTransitionSite, __uuidof(IViewTransitionSite));
    
    vc98/Include/comdef.h:1067:23: error:‘IViewTransitionSite’ was not declared in this scope; did you mean ‘IViewTransitionPtr’?
    1067 | _COM_SMARTPTR_TYPEDEF(IViewTransitionSite, __uuidof(IViewTransitionSite));
    | ^~~~~~~~~~~~~~~~~~~
There are atlcom.h issues as well.
In contrast, Strawberry Windows executable runs well with Wine Program Loader, except for some performance penalties on graphics. So I'd like to try to compile using winemaker for performance improvement. Is there anyone who successfully compiled Strawberry Prolog source code on Linux?
Locked