Menu

cobolIDE mismatch

2021-11-15
2021-11-17
  • Alan Darlington

    Alan Darlington - 2021-11-15

    Sorry following posted anonymously (do wish Sourceforge would not allow anon. postings).
    If I comile a program from IDE using pf8 then run it I get::
    c:>c:\cobol\devl\source\bin\testcall.exe
    libcob: error: version mismatch
    note: testcall.cbl has version 2.0.0
    note: libcob has version 3.1.2.0
    If I compile it separately using cobc the program works OK.

     
    • Simon Sobisch

      Simon Sobisch - 2021-11-15

      So in this case your IDE uses an OpenCOBOL 2.0 version for compiling but the system has GnuCOBOL 3.1.2 installed. If needed you can run GnuCOBOL 2.2 modules, but older modules are not compatible with GnuCOBOL 3.
      I'd suggest to uninstall the 2..0 version (which is maybe below the IDE) and also use the system installed 3.1.2 there.

      (As OC 2.0 had no "real release" it is highly suggest to NOT use that).

       
  • Alan Darlington

    Alan Darlington - 2021-11-17

    Thanks Simon. Did as you suggest but (when using pf8) it produces a pile of warning errors for all my screen displays (I do not specify pics on screen lines but allow them to default to the items' pics -- this saves having to changethem if the source pic should be changed). Is there a way to avoid this?

     
    • Simon Sobisch

      Simon Sobisch - 2021-11-17

      Likely - provide the compile command line you actually use and some sample code/warnings and we can investigate further.

       

Anonymous
Anonymous

Add attachments
Cancel