Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: lakersfan74 on January 12, 2009, 02:13:10 pm

Title: Environment variable not working
Post by: lakersfan74 on January 12, 2009, 02:13:10 pm
Hi,
     I created an environment variable, then I set it in my project properties in search directories for the compiler. But the compiler is not finding the file in that path..

The variable I set is: ($WxWidgetsHome)\lib\vc_lib\mswd

Please let me know whether I m doing anything wrong..

Thanks,
Bharani
Title: Re: Environment variable not working
Post by: alb_cb_moon on January 12, 2009, 07:43:50 pm
the correct syntax is $(#WxWidgetsHome)\lib\vc_lib\mswd
Title: Re: Environment variable not working
Post by: Jenna on January 12, 2009, 10:18:50 pm
Hi,
     I created an environment variable, then I set it in my project properties in search directories for the compiler. But the compiler is not finding the file in that path..

The variable I set is: ($WxWidgetsHome)\lib\vc_lib\mswd

Please let me know whether I m doing anything wrong..

Thanks,
Bharani


Try it with uppercase letters only:
Code
$(WXWIDGETSHOME)\lib\vc_lib\mswd