C++ Compiler Action BPI/LIB Output Problem

I am having a strange problem compiling a BCB 6 project with the C++ Builder Compiler Action.  I have a varialbe in the BPI/LIB Output option, like %myoutputdir%.  However the BPI/LIB Output option seems to ONLY look at the value that is defined for the myoutput variable in the "Tools > Edit Variables" menu.  In my case, I am passing the variable with a new value in as an Action List Parameter.  All of the other options on the Directories tab of the Compiler Action that use the same variable seem to work correctly.   Am I doing something wrong or might this be a problem?

Thanks,

Kevin

 

Hi Kevin

Are you declaring an action list parameter with the same name as the variable? I’m not sure I’m following what you are doing, if you send your fbproject to support at finalbuilder.com I will take a look at it on Monday.

I tried both ways. I had a variable declared (through Tools > Edit Variables) and I declared an action list parameter by the same name but with a different value. In that case, it only used the value declared in Tools > Edit Variables. So I deleted the variable from Tools > Edit Variables and just left it as a parameter in the Action List. In that case, when FB saw the variable in the BPI/LIB Output option, it said the variable did not exist. So it seems that if the BPI/LIB field contains a variable, it does not look at what is passed in through the parameter list, it only looks for variables that are defined in Tools > Edit Variables.

I’m not sure how to send the fbproject yet. I’ll look into that if what I said here is still confusing.

Thanks,

Kevin

Hi Kevin

Send the project (yourproject.fbp6 or yourproject.fbz6) file to support at finalbuiulder.com and I’ll take a look. I’m not able to reproduce the problem here, and looking at our source it does expand variables before running bpr2mak.

Thanks Vincent, I just sent it.

Kevin

Hi Kevin

Thanks, found and fixed the problem. A new build is running now, I’ll post a link here when it’s uploaded.

Hi Kevin

here’s the new build :

https://www.finalbuilder.com/downloads/finalbuilder/620/FB620_1295.exe

THANKS! Everything works now! I appreciate the fast help.

Kevin