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,
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 ...
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,
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,
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.
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.