Author Topic: Environment variable not working  (Read 4012 times)

Offline lakersfan74

  • Single posting newcomer
  • *
  • Posts: 9
Environment variable not working
« 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

Offline alb_cb_moon

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: Environment variable not working
« Reply #1 on: January 12, 2009, 07:43:50 pm »
the correct syntax is $(#WxWidgetsHome)\lib\vc_lib\mswd
OS: Windows XP SP2
GUI Library: wxWidgets 2.8.10
IDE: CodeBlocks SVN / Nigth Builds Compiler: MinGW & gcc 3.4.5

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Environment variable not working
« Reply #2 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