Announcement

Collapse
No announcement yet.

Variable not working.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Variable not working.

    Hi there,
    When I add a variable to a file location my build fales:

    Works:
    C:\Users\QUIGS\_DPS Repository\trunk\00. IMPORTS\_Licence docuements\

    Fails:
    $(var.PersonalFolder)_DPS Repository\trunk\00. IMPORTS\_Licence docuements\
    But it shows up as working, ie the text is not red.

    ERROR:
    SignDesignPro_Uk_9_1_TEST.wxs
    C:\Users\QUIGS\_DPS Repository\trunk\_Sign Design Pro\01. SignDesignPro_UK\06. Installler\01. Installer Project\SignDesignPro_Uk_9_1_TEST.wxs(337) : error CNDL0150 : Undefined preprocessor variable '$(var.PersonalFolder)'.
    Error 4001: candle.exe returned 150

    Build FAILED! Error: 4001 - Compile failed (candle.exe returned an error code). Usually means project contains errors or is missing information.


    Can anyone help?

  • #2
    "PersonalFolder" is not a valid built-in global build variable:
    Click image for larger version

Name:	SCRN-2018-05-01-01.png
Views:	51
Size:	11.0 KB
ID:	300090

    You cannot use it unless you define it first:
    Click image for larger version

Name:	SCRN-2018-05-01-02.png
Views:	28
Size:	7.0 KB
ID:	300091

    Once the project is saved, the new variable becomes available in the IDE and works:
    Click image for larger version

Name:	SCRN-2018-05-01-03.png
Views:	68
Size:	11.5 KB
ID:	300092


    Ulrich

    Comment


    • #3
      Ahh right, thank you.

      Comment

      Working...
      X