Issue with MATLAB Build-Thunk method

Discussions related to embedded firmware, driver, and user mode application software development
Post Reply
jom
Posts: 23
Joined: Tue Jul 19, 2016 10:08 pm

Issue with MATLAB Build-Thunk method

Post by jom »

Hello

I've tried to run the Build_Thunk method in MATLAB and it seems to build a new libbladeRF_thunk_pcwin64.dll file. However, not knowing exactly what is going on here I noticed a couple of things:

1) The libbladeRF_thunk_pcwin64.dll file was about twice as large as the already build version. I did not change anything but I just wanted to try it out. I haven't a clue why the file is larger now.

2) I got a boat load of warnings...so many it runs off the page in the command window. Here's a sample at the end of the output:
  • Found on line 283156 of input from line 665 of file C:\\Program
    Files (x86)\\Windows Kits\\8.1\\include\\um\\winsvc.h

    Type 'LARGE_INTEGER' was not found. Defaulting to type error.

    Found on line 283156 of input from line 665 of file C:\\Program
    Files (x86)\\Windows Kits\\8.1\\include\\um\\winsvc.h
    libbladeRF_thunk_pcwin64.c
    C:\Program Files (x86)\Microsoft Visual Studio
    12.0\VC\INCLUDE\stdbool.h(11) : warning C4005: 'false' : macro
    redefinition
    D:\Program Files\MATLAB\extern\include\tmwtypes.h(761) :
    see previous definition of 'false'
    C:\Program Files (x86)\Microsoft Visual Studio
    12.0\VC\INCLUDE\stdbool.h(12) : warning C4005: 'true' : macro
    redefinition
    D:\Program Files\MATLAB\extern\include\tmwtypes.h(764) :
    see previous definition of 'true'
    Creating library libbladeRF_thunk_pcwin64.lib and object
    libbladeRF_thunk_pcwin64.exp


    > In bladeRF.build_thunk (line 281)
Any idea what the issue might be? It seems to be pointing to something in the "Windows Kits" folder...I'm not sure what that is exactly....

jom
Post Reply