Also, I'm using VS Code, so if anyone has configured the "c_cpp_properties.json" file to do this or the launch.JSON file, I'd appreciate it.
1 of 1 people found this helpful
I'm not sure that you will be able to use that compiler - the docs specifically call out the use of MS VC - Compiler information - Documentation for Remedy Action Request System 8.1 - BMC Documentation
The errors look like a problem with the Makefile references to the various header files included with the API. Do you have ar.h and so on and how are you referencing them?
You mean the same documentation that suggests using VS 2003? Surely there has got to be a way to do this that is better than tracking down and installing a 15 year old program...
As i said, I'm using the test code provided, but I've altered the include to reference the specific paths:
In the compiler command line, I've also tried various ways of referencing the locations of the include, bin and lib directories with no luck (i.e. " -I C:CAPI\include -L C:\CAPI\lib " etc.)
On some level, surely even VS is just running GCC, so somehow there should be a command line that works.... (unless i'm missing something fundamental here).
Also, using visual studio does not make this better (at least not version 2017), It errors out on line 1200 of ar.h because it doesn't like *not;
I figured out how to do it in Visual Studio 2017. There was a sample project file included in the API folder. I had VS upgrade the project file. It still required some modification to make it work. Not simple at all.