Thread: SciTe compiling issue C++

  1. #1
    Registered User tio1225's Avatar
    Join Date
    Sep 2005

    Question SciTe compiling issue C++

    to any one that uses SciTE text editor for c++ programming. i am having problems compiling it tells me
    >g++ -pedantic -Os -fno-exceptions -c lab3.cpp -o lab3.o
    >The system cannot find the file specified.

    how can i get it to complie

  2. #2
    Join Date
    Jan 2002
    You need to specify the path to the compiler. If you're using linux and the gtk version of scite then it probably means you didn't install gcc. If you're using the windows version (wscite) - which I suspect you are - and you have installed a windows port of gcc (eg. mingw) then: options menu --> open and search for the line:
    cc=g++ -pedantic -Os -fno-exceptions -c $(FileNameExt) -o $(FileName).o
    and add your path to gcc. For example, if you installed MinGW to c:\MinGW then it becomes:
    cc=c:/MinGW/bin/g++ -pedantic -Os -fno-exceptions -c $(FileNameExt) -o $(FileName).o
    Alternatively, you can try just modifying your PATH environment variable to include the path to whatever manifestation of gcc you're using.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. float calculation issue
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 05-26-2008, 04:56 AM
  2. type safe issue
    By George2 in forum C++ Programming
    Replies: 4
    Last Post: 02-12-2008, 09:32 PM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  4. Compiling issue with the OpenGL tutorial by RoD
    By Twitchmokey in forum Game Programming
    Replies: 12
    Last Post: 06-26-2006, 06:05 PM
  5. compiling and executing issue with lcc win32
    By GanglyLamb in forum C Programming
    Replies: 10
    Last Post: 12-22-2004, 02:24 PM