1. Daniel Mullings
  2. PowerBuilder
  3. Tuesday, 16 July 2019 20:32 PM UTC

I'm trying to use the autocompiler (PB 2017 R3 Build 1880) and I receive a "Creation of executable failed with a link error".  My application compiles successfully from the Powerbuilder IDE, just not with the autocompiler.  Powerbuilder is closed before I run this and I copied the autocompile command line from the project object.

Is there something else that needs to be done?

My laptop is Windows 10 and the DB is Oracle.

Dan Mullings

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 18 July 2019 16:50 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Daniel;

   Yes, the PBC is very picky about the version format. It must be in the format "#.#.#.#". The PBC documentation does not emphasize this format. Appeon is updating the PB2017R3 documentation for the next release. So please everyone, follow this format and no leading zeros (for now).

   Note: This also relates to ticket # 2860.

HTH

Regards ... Chris

 

Comment
There are no comments made yet.
Daniel Mullings Accepted Answer Pending Moderation
  1. Wednesday, 17 July 2019 17:17 PM UTC
  2. PowerBuilder
  3. # 1

I think I found out what the issue is.

My version parameters for the autocompiler look like this:

/v "12.3.1.08" /vn "12.3.1.8" /fv "12.3.1.08" /fvn "12.3.1.8" /ge 0 

This compiles correctly and without an error.  When the version number for /vn and/or /fvn has a preceding zero, like this:

/v "12.3.1.08" /vn "12.3.1.08" /fv "12.3.1.08" /fvn "12.3.1.08" /ge 0 

I get a "Creation of executable failed with a link error" and no EXE is created.

Incidentally, it did not fail when the zero was replaced with a one.

/v "12.3.1.08" /vn "12.3.1.18" /fv "12.3.1.08" /fvn "12.3.1.18" /ge 0 

This looks like a possible bug in the autocompiler?

Compiling with any of the above scenarios in the PowerBuilder IDE works fine.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.