Like Tree1Likes
  • 1 Post By claudiu

Problem: how to add PATH

This is a discussion on Problem: how to add PATH within the C Programming forums, part of the General Programming Boards category; Hello! I have a problem. I'm trying to install GTK+ 2.22 (windows 64 bit). It sais this: To use it, ...

  1. #1
    Registered User
    Join Date
    May 2012
    Posts
    10

    Problem: how to add PATH

    Hello!
    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
    ftp://tug.ctan.org/tex-archive/tools...2/unz552xN.exe
    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:
    gtk-demo
    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
    Location
    London, United Kingdom
    Posts
    2,094
    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.
    stahta01 likes this.
    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, 09: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

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