NO

Author Topic: fSDK© - Frankie's SDK for PellesC  (Read 11957 times)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1827
Re: fSDK© - Frankie's SDK for PellesC
« Reply #45 on: November 08, 2018, 05:24:55 pm »
Code: [Select]
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <xnamath.h>
Code: [Select]
C:\code\fSDK\Include\xnamath.h(147): warning #2086: Use of '_Alignas' in typedef; ignored.
C:\code\fSDK\Include\xnamath.h(234): warning #2086: Use of '_Alignas' in typedef; ignored.
C:\code\fSDK\Include\xnamath.h(1698): error #2140: Type error in argument 2 to '_mm_and_si128'; expected '__m128i' but found 'XMVECTORU32'.
C:\code\fSDK\Include\xnamath.h(1699): error #2140: Type error in argument 2 to '_mm_cmpeq_epi32'; expected '__m128i' but found 'XMVECTORU32'.
C:\code\fSDK\Include\xnamath.h(1700): error #2140: Type error in argument 2 to '_mm_and_si128'; expected '__m128i' but found 'XMVECTORF32'.
C:\code\fSDK\Include\xnamath.h(1701): error #2048: Undeclared identifier 'reinterpret_cast' (did you mean: ?).
C:\code\fSDK\Include\xnamath.h(1701): error #2039: Invalid expression.
C:\code\fSDK\Include\xnamath.h(1701): error #2060: Invalid return type; expected 'union __m128' but found 'int'.
C:\code\fSDK\Include\xnamath.h(1701): error #2001: Syntax error: expected ';' but found '__m128'.
C:\code\fSDK\Include\xnamath.h(1701): error #2092: Missing identifier.
May the source be with you

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1698
Re: fSDK© - Frankie's SDK for PellesC
« Reply #46 on: November 08, 2018, 06:11:42 pm »
Ok.
I'll add to things to be fixed.
Thanks for the feedback.
 ;)

Offline Abraham

  • Member
  • *
  • Posts: 11
Re: fSDK© - Frankie's SDK for PellesC
« Reply #47 on: December 08, 2018, 11:23:39 pm »
Here's my version with a few mistakes still around.

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1698
Re: fSDK© - Frankie's SDK for PellesC
« Reply #48 on: December 09, 2018, 12:28:21 pm »
Thanks Abrahm!   :)
You're one of the few, with Timo, to give a tangible help to the development!  ;)

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1698
Re: fSDK© - Frankie's SDK for PellesC
« Reply #49 on: January 06, 2019, 12:32:10 am »
Here we are again with a new version.
The SDK has been modified for the PellesC V9.00, and includes all bugs pointed out by Timo, Abrahm and you all.
In this release has been included the backup feature. It creates a backup for the headers and the library folders.
The backup folders are named as the respective original folders name followed by the date and the time of the backup.
The user can eventually rename those directories and use them as alternatives for the compile.
This is the detail
- 05/Jan/2019 --  -- V.0.2.0.0 (05.Jan.2019)
            - Update dependencies for new PellesC V.9.00
              - Fixed intrinsics
              - Fixed conditional compilation for V.8.00 compatibility
              - Minor general fixes
            - Fixed header xnamath.h
            - Added missing IID's in mmdeviceapi.h and Audioclient.h
            - Added new DXGI's
            - Fixed reference to bthprops.cpl in bthprops.lib
            - Added Backup feature to backup headers and libraries folders
            - Minor fixes and general cleaning
I hope to haven't miss anything. Please test it and report problems.

To upgrade compiler with fSDK kit download installer from github and run it
fSDK can be browsed on GitHub
« Last Edit: January 06, 2019, 01:35:59 am by frankie »

Offline Abraham

  • Member
  • *
  • Posts: 11
Re: fSDK© - Frankie's SDK for PellesC
« Reply #50 on: January 14, 2019, 07:19:24 pm »
Your installer LICENSE still shows version 0.1.1.2 11-Feb-2018 instead of 0.2.0.0 5-Jan-2019.

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1698
Re: fSDK© - Frankie's SDK for PellesC
« Reply #51 on: January 15, 2019, 01:06:05 pm »
Thanks for the report Abraham.
I'll fix it.

Offline Abraham

  • Member
  • *
  • Posts: 11
Re: fSDK© - Frankie's SDK for PellesC
« Reply #52 on: Today at 01:27:19 am »
#include <DxErr.h>
#pragma comment(lib, "DxErr")

POLINK: error: Unresolved external symbol '_vsnprintf' - referenced from 'DxErr.lib(dxerra.obj)'.
POLINK: error: Unresolved external symbol '__security_cookie' - referenced from 'DxErr.lib(dxerra.obj)'.
POLINK: error: Unresolved external symbol '__security_check_cookie' - referenced from 'DxErr.lib(dxerra.obj)'.
POLINK: error: Unresolved external symbol '__GSHandlerCheck' - referenced from 'DxErr.lib(dxerra.obj)'.
POLINK: fatal error: 4 unresolved external(s).

Not sure how to get pass this issue.

For Visual Studio, it would be: legacy_stdio_definitions.lib, but
#pragma comment(lib, "legacy_stdio_definitions")
POLINK: fatal error: File not found: 'legacy_stdio_definitions.lib'.


Recompile DxErr.c and DxErr.h from the attachments. They are adjusted to also work with ANSI, not only UNICODE.
It would conflict without removal of your dxerr.h.

DXGetErrorDescriptionW and DXGetErrorDescriptionA would have different amount of parameters when compile from source.