Thread: Problem: how to add PATH

  1. #1
    Registered User
    Join Date
    May 2012

    Problem: how to add PATH

    I have a problem. I'm trying to install GTK+ 2.22 (windows 64 bit).
    It sais this:
    To use it, create some empty folder like c:\opt\gtk . Using either
    Windows Explorer's built-in zip file management, or the command-line
    unzip.exe, available for instance at
    unzip this bundle. Avoid Winzip! It is known to behave oddly.

    (But you presumably already did extract the files, as you are reading
    this file.)

    Then add the bin folder to your PATH. Make sure you have no other
    versions of GTK+ in PATH. Run:
    pkg-config --cflags gtk+-2.0
    and verify that it prints out something reasonable. Run:
    and verify that it works.
    I have a problem: how to add PATH. I don't know how to do this and help wold be nice.

    GTK+ Download: Windows (64-bit)

  2. #2
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    London, United Kingdom
    Have you ever tried to use a fancy tool called Google? Or is your first train of thought to open an account on a random forum, compose a long question and post something completely unrelated to the topics the forum exists for?

    If you literally Google just Windows Path, you will find a billion entries on how to set the Path variable from the UI or command line for any imaginable purpose.
    1. Get rid of gets(). Never ever ever use it again. Replace it with fgets() and use that instead.
    2. Get rid of void main and replace it with int main(void) and return 0 at the end of the function.
    3. Get rid of conio.h and other antiquated DOS crap headers.
    4. Don't cast the return value of malloc, even if you always always always make sure that stdlib.h is included.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C fastest path problem
    By bluej322 in forum C Programming
    Replies: 23
    Last Post: 03-01-2011, 10:35 AM
  2. path problem in cygwin
    By elliptic in forum Tech Board
    Replies: 1
    Last Post: 06-18-2006, 09:10 PM
  3. Shortest path problem
    By Digitalxero in forum C++ Programming
    Replies: 0
    Last Post: 10-25-2005, 05:32 PM
  4. Path Problem
    By AndyBomstad in forum C++ Programming
    Replies: 6
    Last Post: 05-05-2005, 02:17 PM
  5. SHELL – Path problem 2
    By geek@02 in forum Windows Programming
    Replies: 1
    Last Post: 04-29-2004, 10:54 PM