12-21-2018 06:35 AM
Yes.
Could you double check that at the very beginning of .c and .h file you see something like
/* THIS IS A SINGLE-FILE DISTRIBUTION CONCATENATED FROM THE OPEN62541 SOURCES * visit http://open62541.org/ for information about this software * Git-Revision: v0.2.2 */
It's necessary that Git-Revision is v0.2.something
You can't compile v0.3 with CVI.
Which kind of compilation errors do you see?
12-21-2018 06:39 AM
doesn't find this file:
# include <stdbool.h> /* C99 Boolean */
# include <malloc.h>
12-21-2018 06:45 AM
To use C99 extensions you must enable them in CVI.
Options >> Build Options...
and enable "Build with C99 extensions"
12-21-2018 06:48 AM
This is my setting, i'm using CVI 2012
12-21-2018 06:51 AM
I forgot to say that you must use CVI 2013 or later.
Since CVI 2013 an almost-standard porting of clang compiler is used and this allows you to use standard third party libraries.
I suggest either CVI 2015 or CVI 2017 (since CVI 2013 is full of bugs).
Based on my experience, a version older than CVI 2015 is not usable nowadays (except for old legacy projects built and maintanined with old CVI).
12-21-2018 07:22 AM
I've Tryed CVI 2017 evaluation but get other problem.
12-21-2018 07:28 AM
These are objects and functions from Windows SDK.
After you install CVI 2017 you must download and install Windows SDK (8.1 unfortunately).
12-21-2018 08:00 AM
i've downloaded from this link the windows 8.1 SDK setup, this started a downloader from where i get the installer
and after running the installation i have this page but still doesn't compile with the same problem
i'm using Windows 7 64 bit
12-21-2018 08:09 AM
You have to install SDK through CVI installer, because it copies the relevant files where necessary.
If you download and install it with its own package, CVI isn't able to see it.
Otherwise it would be possible installing a newer version of the SDK and configuring CVI so that it uses it
12-21-2018 10:47 AM
Nothing to do, tryed to repair the installaion of this components:
but still have the same problem compiling.
i've tryed to create a new project with only this file in it and also doesn't compile.