VS2008 adding to %PATH%

This is a discussion on VS2008 adding to %PATH% within the C++ Programming forums, part of the General Programming Boards category; Guys, How do I add: pl\bin to my VS2008 PATH? I read in a forum post: . . . ensure ...

  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    26

    VS2008 adding to %PATH%

    Guys,

    How do I add:

    pl\bin

    to my VS2008 PATH?

    I read in a forum post: . . . ensure pl\bin is in %PATH%

    But I can't seem to find such an option in my VS2008 Project Properties, etc...

    Thanks,

  2. #2
    Registered User
    Join Date
    May 2009
    Posts
    242
    you'll find some path settings under tools > options

    have you tried using it without doing anything? mine worked fine pretty much out of the box, and i don't recall adding that path when i started using it

  3. #3
    Registered User
    Join Date
    Mar 2010
    Posts
    26
    Quote Originally Posted by Aisthesis View Post
    you'll find some path settings under tools > options

    have you tried using it without doing anything? mine worked fine pretty much out of the box, and i don't recall adding that path when i started using it

    Thanks for letting me know.

    Actually, mine works fine too, but because I get an error message that indicates my Prolog code is not consulted, I thought perhaps I needed to add pl\bin to my PATH.

    What puzzles me is that there is an Operating System PATH and there is a bunch of paths in VS2008 (all beginning with $). When you say "mine worked fine pretty much out of the box" do you mean your embedded SWI-Prolog in VS2008 was compiled fine, or do you mean your VS2008 has always worked fine with your C++ projects?

    Cheers,

  4. #4
    Registered User
    Join Date
    May 2009
    Posts
    242
    i mean that it has worked fined with my projects. i'm not familiar with the swi-prolog. what the deeper meaning of the $... syntax is is also a mystery to me. i did add a normal style path under the include directories (c://...), and that also worked. so you apparently don't HAVE to have the $ sign.

    sounds like your problem is kind of beyond me, though. maybe elysia (who i think is involved in programming VS) or one of the other experts here can help further. i'm guessing you've tried checking the VS help documentation, which is the only other thing i can really suggest.

  5. #5
    Registered User
    Join Date
    Jan 2010
    Posts
    412
    Quote Originally Posted by Aisthesis View Post
    what the deeper meaning of the $... syntax is is also a mystery to me.
    The $ variables are macros that will expand to paths or options set in the solution or project settings.
    Macros for Build Commands and Properties

    As for %PATH%, it's a windows environment variable and has nothing to do with visual studio.
    You find it by going to (going by memory here so I might be wrong)
    right-click "my computer" -> properties -> advanced -> environment variables -> find "Path" in the list.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Adding DLLs to VS2008 IDE
    By HJoshy in forum C++ Programming
    Replies: 1
    Last Post: 03-08-2010, 01:52 PM
  2. SVN Import Causes Crash
    By Tonto in forum Tech Board
    Replies: 6
    Last Post: 11-01-2006, 02:44 PM
  3. Java: Sorting and Adding a Row in Table
    By alphaoide in forum Tech Board
    Replies: 4
    Last Post: 08-12-2005, 08:22 PM
  4. Adding your own API calls.
    By 0x7f in forum Windows Programming
    Replies: 1
    Last Post: 04-08-2003, 06:00 PM
  5. Adding and subtracting time?
    By JCCC in forum C Programming
    Replies: 3
    Last Post: 03-29-2002, 01:25 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21