Menu

[Build Error] [main.o] Error 126

Ashwin
2011-05-02
2012-09-26
  • Ashwin

    Ashwin - 2011-05-02

    Hi All

    I am trying to compile a program for smart card communication. I am getting
    build error. The following is the compiler log.

    Executing make...
    make.exe -f
    "C:\Users\Ashwin\Desktop\Smartcards\Codes\WinCardProject\Makefile.win" all
    g++.exe -c main.cpp -o main.o -I"lib/gcc/mingw32/3.4.2/include"
    -I"include/c++/3.4.2/backward" -I"include/c++/3.4.2/mingw32"
    -I"include/c++/3.4.2" -I"include"

    /usr/bin/sh: /c/Cplus/Dev-Cpp/Bin/g++.exe: Invalid argument
    make.exe: *** Error 126

    Execution terminated

    Please help me solve this problem. Thanks
    Ashwin

     
  • James Wilson

    James Wilson - 2011-11-18

    Hello,

    I read your post and really you have done a great job this is the best way to
    fix error 126 but i have something to recommend you to same fixing of these
    type of errors someone recommend me to visit
    http://www.error126.com this site when i visit this
    it attract me and i get all that fixing tools which i want to find from this
    site its really good for my PC i hope you also check this and get good
    benefit.

    Thanks

     
  • Jim Pattee

    Jim Pattee - 2011-11-18

    Your problem is a compile error, not a run time error.
    You need to create a project file with the menu options File > New > Project.

     
  • Luca Napoletano

    Luca Napoletano - 2011-12-19

    Hello,
    I have solved checked "disable desktop composition" in property of the "c
    :\dev-cpp\devcpp.exe".

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.