Search found 24 matches

by Paolo_R
04.07.2023 04:53
Forum: Plugins
Topic: Build system - COBOL
Replies: 27
Views: 3816

Alexey Copying all the *.dll files did not help plus there are many of the files which I would not want to keep copying around with different programs. I have a simple *.bat file with which I can run the *.exe files and I will do this. I will, however, raise a query in the GnuCOBOL forums and I will...
by Paolo_R
03.07.2023 08:22
Forum: Plugins
Topic: Build system - COBOL
Replies: 27
Views: 3816

Alexey

I've already set c:\gnucobol\bin as a PATH variable in the runcobol.cmd.

However I added it to the environment variables as per https://stackoverflow.com/questions/442 ... -screenshot but I get the same error "The code execution cannot proceed because libcob-4.dll was not found".
by Paolo_R
03.07.2023 02:58
Forum: Plugins
Topic: Build system - COBOL
Replies: 27
Views: 3816

Alexey

I added the 'Run' entries to the build-system. When I run it - against an *.exe file - I get the following error: "The code execution cannot proceed because libcob-4.dll was not found".

This is bizarre since libcob-4.dll is in the C:?GnuCOBOL/bin folder :(
by Paolo_R
02.07.2023 05:47
Forum: Plugins
Topic: Build system - COBOL
Replies: 27
Views: 3816

Alexey

The runcobol.cmd and modified build system works - the warnings and error are things that I will modify in my program.

Many thanks for your assistance :D
by Paolo_R
02.07.2023 04:29
Forum: Plugins
Topic: Build system - COBOL
Replies: 27
Views: 3816

Alexey I'm trying to compile BBCB.CBL which is in folder c:\workarea\gnucobol\beeb so I amended the 'cmd' line in the build to "cmd": ["c:\\GnuCOBOL\\bin\\cobc.exe", "-x", "-std=mf", "c:\\workarea\\gnucobol\\beeb", "$file_name"], Doing Plug...
by Paolo_R
02.07.2023 00:04
Forum: Plugins
Topic: Build system - COBOL
Replies: 27
Views: 3816

Alexey Thanks - I'll try out your suggestions. Incidentally I forgot to mention that a number of GnuCOBOL folders need to be set if, as I often do, a standalone compile is run. I use this batch file: set Path=c:\gnucobol\bin set COB_CONFIG_DIR=c:\gnucobol\config set COB_COPY_DIR=c:\gnucobol\copy set...
by Paolo_R
01.07.2023 05:12
Forum: Plugins
Topic: Build system - COBOL
Replies: 27
Views: 3816

Alexey Ref your attempt to download GnuCOBOL the SourceForge web site only appears to have files of the source code. Windows pre-built binaries are at https://www.arnoldtrembley.com/GnuCOBOL.htm. The file you need is GC32-BDB-rc2-rename-7z-to-exe.7z . After downloading rename to file to *.exe (drop ...
by Paolo_R
01.07.2023 04:55
Forum: Plugins
Topic: Build system - COBOL
Replies: 27
Views: 3816

Alexey I've tried to amend the COBOL build.system (now renamed as GnuCOBOL) as follows: { "file_patterns": ["file_patterns": ["*.cob", "*.cbl", "*.cpy"], "name": "Compile", "cmd": [ "cobc -x -std=mf c:\workarea\gnuc...
by Paolo_R
30.06.2023 01:55
Forum: Plugins
Topic: Build system - COBOL
Replies: 27
Views: 3816

Alexey I apologise for my confusion. I am struggling with the syntax of the build systems. I have modified OpenCOBOL.sublime-build as follows: { "selector": "source.cobol", "cmd": [ "cobc -x -std=mf c:\workarea\gnucobol\beeb\bbcb.cbl -o beeb.exe -W" ], "w...
by Paolo_R
29.06.2023 05:49
Forum: Plugins
Topic: Build system - COBOL
Replies: 27
Views: 3816

Plug in doessn't appear in 'Install'

I have a COBOL plugin - OpenCOBOL.sublime-build - which I have put in the CudaText -> data -> buildsystems folder along with the other *.sublime-builds. However when I attempt to install it via Plugins -> Addons Manager -> Install the COBOL item does not appear in the Install drop down dialogue and,...