Closed ITMentalist closed 3 years ago
Not Niels, but I have some good experience with the project.
I am pretty sure you have to pass in the source file name you want to compile.
i.e. gmake jsonsql20.rpgle
Although when I try that I get "Nothing to be done for ..."
Hi Brian,
Thank you for the feedback. I have also tried the same as you suggested, no luck.
I can manually compile it on the outside by native commands though.
I think I am going to close this as an issue.
We are actually moving the examples into a more up-to-date state and right now we are using the vsCode compile feature thats sendt the OBJ / LIB and streamfile to the make procedure. So there is an issue - and we are working on it !!
Thanks Niels.
Looking forward to it.
Gents;
Now the compile of examples works smoothly: Notice the name of the source where the first part up-until the first dot will be the object name. Next part is just text and is omitted. Finally, the extension that controls which compiler kicks in.
Compile current file ssh -t myIBMi 'PATH=/QOpenSys/pkgs/bin:$PATH;cd /prj/noxDB/;gmake current SRC=${fileBasenameNoExtension}'
Compile Service program noxDB ssh myIBMi 'PATH=/QOpenSys/pkgs/bin:$PATH;cd /prj/noxDB/;gmake all
Compile Test modules for noxDB ssh myIBMi 'PATH=/QOpenSys/pkgs/bin:$PATH;cd /prj/noxDB/test/;gmake
Compile current example file ssh -t myIBMi 'PATH=/QOpenSys/pkgs/bin:$PATH;cd /prj/noxDB/examples/;gmake compile SRC=${fileBasename} OBJ=${fileBasenameNoExtension
Hi Niels,
I am getting the following error when trying to compile with gmake:
CPD0011: Qualifier missing from qualified name 'NOXDB '. CPF0001: Error found on *N command. gmake: *** [makefile:12: compile] Error 1
fill screenshot as below:
Any noxdb compiles as per normal,
Any help will greatly be appreciated to troubleshoot further.
Regards Marius