C language > Work in progress

fSDK© - Frankie's SDK for PellesC

<< < (3/12) > >>

Robert:
Hi Frankie:

Thank you very much for all your work on this project and also for all the help that you have given so generously to the Pelle's C community members.

I have installed Frankies SDK and have had the following problems when trying to build these samples

When building FontControl.ppj from the Pelle's C IDE these errors and warnings occur

Building CommandHandler.obj.
FontControl\CommandHandler.c(96): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
FontControl\CommandHandler.c(96): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
FontControl\CommandHandler.c(96): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
FontControl\CommandHandler.c(96): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
FontControl\CommandHandler.c(154): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
FontControl\CommandHandler.c(154): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
FontControl\CommandHandler.c(154): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
FontControl\CommandHandler.c(154): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.

When building DropDownColorPicker.ppj from the Pelle's C IDE  these errors occur

Building ColorPickerHandler.obj.
DropDownColorPicker\ColorPickerHandler.c(164): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
DropDownColorPicker\ColorPickerHandler.c(164): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
DropDownColorPicker\ColorPickerHandler.c(164): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
DropDownColorPicker\ColorPickerHandler.c(164): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
DropDownColorPicker\ColorPickerHandler.c(173): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
DropDownColorPicker\ColorPickerHandler.c(173): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
DropDownColorPicker\ColorPickerHandler.c(173): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
DropDownColorPicker\ColorPickerHandler.c(173): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
DropDownColorPicker\ColorPickerHandler.c(196): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
DropDownColorPicker\ColorPickerHandler.c(196): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
DropDownColorPicker\ColorPickerHandler.c(196): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
DropDownColorPicker\ColorPickerHandler.c(196): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
DropDownColorPicker\ColorPickerHandler.c(226): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
DropDownColorPicker\ColorPickerHandler.c(226): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
DropDownColorPicker\ColorPickerHandler.c(226): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
DropDownColorPicker\ColorPickerHandler.c(226): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.

When building ContxtPopUp.ppj from the Pelle's C IDE  these errors occur

Building RibbonIIDs.obj.
PellesC\Include\Win\RibbonIIDs.h(12): warning #2099: Missing type specifier; assuming 'int'.
PellesC\Include\Win\RibbonIIDs.h(12): error #2026: Expected an identifier.
PellesC\Include\Win\RibbonIIDs.h(12): error #2001: Syntax error: expected ')' but found 'integer constant'.
PellesC\Include\Win\RibbonIIDs.h(12): error #2161: Extraneous old-style parameter list.
PellesC\Include\Win\RibbonIIDs.h(12): error #2001: Syntax error: expected ';' but found ')'.
PellesC\Include\Win\RibbonIIDs.h(13): warning #2099: Missing type specifier; assuming 'int'.
PellesC\Include\Win\RibbonIIDs.h(13): error #2026: Expected an identifier.
PellesC\Include\Win\RibbonIIDs.h(13): error #2001: Syntax error: expected ')' but found 'integer constant'.
PellesC\Include\Win\RibbonIIDs.h(13): error #2161: Extraneous old-style parameter list.
PellesC\Include\Win\RibbonIIDs.h(13): error #2001: Syntax error: expected ';' but found ')'.
PellesC\Include\Win\RibbonIIDs.h(14): warning #2099: Missing type specifier; assuming 'int'.
PellesC\Include\Win\RibbonIIDs.h(14): error #2026: Expected an identifier.
PellesC\Include\Win\RibbonIIDs.h(14): error #2001: Syntax error: expected ')' but found 'integer constant'.
PellesC\Include\Win\RibbonIIDs.h(14): error #2161: Extraneous old-style parameter list.
PellesC\Include\Win\RibbonIIDs.h(14): error #2001: Syntax error: expected ';' but found ')'.
PellesC\Include\Win\RibbonIIDs.h(15): warning #2099: Missing type specifier; assuming 'int'.
PellesC\Include\Win\RibbonIIDs.h(15): error #2026: Expected an identifier.
PellesC\Include\Win\RibbonIIDs.h(15): error #2001: Syntax error: expected ')' but found 'integer constant'.
PellesC\Include\Win\RibbonIIDs.h(15): error #2161: Extraneous old-style parameter list.
PellesC\Include\Win\RibbonIIDs.h(15): error #2001: Syntax error: expected ';' but found ')'.
PellesC\Include\Win\RibbonIIDs.h(16): warning #2099: Missing type specifier; assuming 'int'.
PellesC\Include\Win\RibbonIIDs.h(16): error #2026: Expected an identifier.
PellesC\Include\Win\RibbonIIDs.h(16): error #2001: Syntax error: expected ')' but found 'integer constant'.
PellesC\Include\Win\RibbonIIDs.h(16): error #2161: Extraneous old-style parameter list.
PellesC\Include\Win\RibbonIIDs.h(16): error #2001: Syntax error: expected ';' but found ')'.
PellesC\Include\Win\RibbonIIDs.h(17): warning #2099: Missing type specifier; assuming 'int'.
PellesC\Include\Win\RibbonIIDs.h(17): error #2026: Expected an identifier.
PellesC\Include\Win\RibbonIIDs.h(17): error #2001: Syntax error: expected ')' but found 'integer constant'.
PellesC\Include\Win\RibbonIIDs.h(17): error #2161: Extraneous old-style parameter list.
PellesC\Include\Win\RibbonIIDs.h(17): error #2001: Syntax error: expected ';' but found ')'.
PellesC\Include\Win\RibbonIIDs.h(18): warning #2099: Missing type specifier; assuming 'int'.
PellesC\Include\Win\RibbonIIDs.h(18): error #2026: Expected an identifier.
PellesC\Include\Win\RibbonIIDs.h(18): error #2001: Syntax error: expected ')' but found 'integer constant'.
PellesC\Include\Win\RibbonIIDs.h(18): error #2161: Extraneous old-style parameter list.
PellesC\Include\Win\RibbonIIDs.h(18): error #2001: Syntax error: expected ';' but found ')'.
PellesC\Include\Win\RibbonIIDs.h(19): warning #2099: Missing type specifier; assuming 'int'.
PellesC\Include\Win\RibbonIIDs.h(19): error #2026: Expected an identifier.
PellesC\Include\Win\RibbonIIDs.h(19): error #2001: Syntax error: expected ')' but found 'integer constant'.
PellesC\Include\Win\RibbonIIDs.h(19): error #2161: Extraneous old-style parameter list.
PellesC\Include\Win\RibbonIIDs.h(19): error #2001: Syntax error: expected ';' but found ')'.
PellesC\Include\Win\RibbonIIDs.h(20): warning #2099: Missing type specifier; assuming 'int'.
PellesC\Include\Win\RibbonIIDs.h(20): error #2026: Expected an identifier.
PellesC\Include\Win\RibbonIIDs.h(20): error #2001: Syntax error: expected ')' but found 'integer constant'.
PellesC\Include\Win\RibbonIIDs.h(20): error #2161: Extraneous old-style parameter list.
PellesC\Include\Win\RibbonIIDs.h(20): error #2001: Syntax error: expected ';' but found ')'.
PellesC\Include\Win\RibbonIIDs.h(21): warning #2099: Missing type specifier; assuming 'int'.
PellesC\Include\Win\RibbonIIDs.h(21): error #2026: Expected an identifier.
PellesC\Include\Win\RibbonIIDs.h(21): error #2001: Syntax error: expected ')' but found 'integer constant'.
PellesC\Include\Win\RibbonIIDs.h(21): error #2161: Extraneous old-style parameter list.
PellesC\Include\Win\RibbonIIDs.h(21): error #2001: Syntax error: expected ';' but found ')'.

When building Gallery.ppj from the Pelle's C IDE  these errors occur

Building BorderSizeHandler.obj.
Gallery\BorderSizeHandler.c(105): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(105): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(105): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(105): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(173): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(173): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(173): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(173): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(211): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(211): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(211): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(211): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(217): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(217): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(217): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(217): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(222): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(222): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(222): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(222): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(238): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(238): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(238): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
Gallery\BorderSizeHandler.c(238): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.



frankie:
Hello Robert and thanks.
I was looking at the lines you reported, but I can't find a match with sources I have loaded on GitHub.
Where you got these sources? Have you modified them? I can't find a match between the errors and the line numbers (for some lines I found a comment, not even code  :().
I would be glad if you can go again on GitHub and download the whole ribbon demos and try again to compile them.
Be also sure that you have installed the last fSDK here.

P.S. Anybody else have the same problem?

Robert:
Hi Frankie:

I went to here,

https://github.com/Frankie-PellesC/fSDK

as linked in the last line of the first post of this thread.

I then clicked on the Clone or Download button and downloaded the fSDK-master.zip.

I unzipped the file and ran the fSDK.exe from the fSDK-master folder. That completed with no problem.

I then went to the fSDK-master\Samples and Tests\Ribbon samples folder and tried to run the Ribbon Samples.ppw and had errors.

I then went to the individual sample files and ran the .ppj project files and had the errors posted above.

Maybe the zip is not updated correctly?

I will try the samples at the link you posted. Thank you for your help.


TimoVJL:
What version of pellesC you are using?
With versions 8 i have no errors in my tests with pocc.exe or  msvc 2013  sp 5 cl.exe.

frankie:
Robert I'm developing fSDK on PellesC V8.00.60
Which version are you using?
What's strange to me is that the lines where errors are reported have no reason to be, and in some cases it corresponds to comments.
I.e. in case of
--- Quote ---FontControl\CommandHandler.c(96): error #2113: Left operand of '.' has incompatible type 'LPCSHCOLUMNID'.
--- End quote ---
At line 96 of CommandHandler.c I have:

--- Code: ---        *ppv = NULL;        //ppv is defined as void **ppv;

--- End code ---
The error you reported is relative to the use of a pointer of type LPCSHCOLUMNID with the dot (.) operator (instead of '->') for structure access....  :o

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version