Thread: Re: [Dev-C++] GTK-- and DEV-C++ settings
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Alfred P. R. <al...@ya...> - 2005-04-23 17:21:53
|
Hi Jamiil, You may try to check you project parameters, specifically the output folder configuration, as this sounds like a make file issue. Usually the executable will be created in the same folder as the sources, and "bin" may not exist. Also, GTK may be setup or configured for Linux/Unix and therefore the folder naming style is incompatible with Windows. Hopefully that helps. Have a great weekend! Jamiil Abdullah-Alkadir <jam...@ho...> wrote: Hello Deveys!! I dont know if this has been a questions that has been asked way too many times, but I am really new in the DevC++ and the MSW worlds, so please take it easy on me if this is one of those questions classified as DUMB. Using DevC++ I have created a new project using GUI->GTK--, however, when I try to compile the program I get an error message saying: could not create executable output directory: bin. Please check your settings. What can I do to solve this problem? TIA <snip> Alfred P. Reaud |
|
From: Jamiil Abdullah-A. <jam...@ho...> - 2005-04-24 06:29:46
|
Thanks Alfred for your prompt response. You were absolutely right; I have now created a 'c:\test\bin' directory and therefore overcome that problem. Since this is "TEST" project I have created it in the 'c:\tmp' directory, or as it is referred to in the MSW world "folder". However, I now get another message saying: Compiler: Default compiler Building Makefile: "C:\tmp\Makefile.win" Executing make clean rm -f obj/main.o obj/MainForm.o bin/Project1.exe g++.exe -c main.cpp -o obj/main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" `pkg-config --cflags gtkmm-2.4` -fexpensive-optimizations -O3 make.exe: *** [obj/main.o] Error -1073741819 Execution terminated --- Please note that in there are no '*.o' files in the 'c:\bin' directory. Again thanks for the help. >From: "Alfred P. Reaud" <al...@ya...> >To: Dev-Cpp UserList <dev...@li...> >Subject: Re: [Dev-C++] GTK-- and DEV-C++ settings >Date: Sat, 23 Apr 2005 10:21:44 -0700 (PDT) > >Hi Jamiil, > >You may try to check you project parameters, specifically the output folder >configuration, as this sounds like a make file issue. Usually the >executable will be created in the same folder as the sources, and "bin" may >not exist. Also, GTK may be setup or configured for Linux/Unix and >therefore the folder naming style is incompatible with Windows. > >Hopefully that helps. Have a great weekend! > >Jamiil Abdullah-Alkadir <jam...@ho...> wrote: >Hello Deveys!! >I dont know if this has been a questions that has been asked way too many >times, but I am really new in the DevC++ and the MSW worlds, so please take >it easy on me if this is one of those questions classified as DUMB. >Using DevC++ I have created a new project using GUI->GTK--, however, when I >try to compile the program I get an error message saying: could not create >executable output directory: bin. Please check your settings. > >What can I do to solve this problem? > >TIA ><snip> > > > > > >Alfred P. Reaud > > _________________________________________________________________ Scan and help eliminate destructive viruses from your inbound and outbound e-mail and attachments. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. |
|
From: Alfred P. R. <al...@ya...> - 2005-04-25 04:33:53
|
Hi Jamiil, You're welcome. However, I don't have a clue on Error -1073741819. Hex it would be 0xFFFFFFFFC0000005, with the 0xC0000005 being the key indicator (see last link below). I've never had an error with that type of display, so maybe the developers of Dev-C++ can help? What does `pkg-config --cflags gtkmm-2.4` do? I'm curious as to what the quotes signify. Does that comment out that compiler parameter? As to the directory structure, part of the problem may be that the compiler is expecting the object file in the /bin directory, but the objects are actually in the /tmp/bin directory. I'm getting that from the following: The makefile is in /tmp, "Building Makefile: "C:\tmp\Makefile.win"" The object files are in /tmp/obj, "rm -f obj/main.o obj/MainForm.o bin/Project1.exe" The binary fill will be in /tmp/bin, "rm -f obj/main.o obj/MainForm.o bin/Project1.exe" Therefore there will be nothing in /bin. Don't mind "/" as the other slash mark confuses Yahoo! Mail into thinking you're escaping the next character. As a test, try to keep the sources, objects, and executable in the same folder and see if it works. However there are also other possible culprits, such as a worm virus. I Googled (always try to search the Internet for help!) for "Error -1073741819" and came up with the following pages: Sasser Worm: http://www.d-a-l.com/help/archive/index.php/t-15021.html Foward Declarations: http://lists.gnu.org/archive/html/avr-gcc-list/2004-02/msg00177.html, http://lists.gnu.org/archive/html/avr-gcc-list/2004-02/msg00179.html Microsoft says the actual error is error code 5 (access is denied): http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xpehelp/html/xehowusingnetcommandtoidentifywin32errorcodesinfbalogfile.asp Hopefully that helps, Jamiil! Have a great week. Jamiil Abdullah-Alkadir <jam...@ho...> wrote: Thanks Alfred for your prompt response. You were absolutely right; I have now created a 'c:\test\bin' directory and therefore overcome that problem. Since this is "TEST" project I have created it in the 'c:\tmp' directory, or as it is referred to in the MSW world "folder". However, I now get another message saying: Compiler: Default compiler Building Makefile: "C:\tmp\Makefile.win" Executing make clean rm -f obj/main.o obj/MainForm.o bin/Project1.exe g++.exe -c main.cpp -o obj/main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" `pkg-config --cflags gtkmm-2.4` -fexpensive-optimizations -O3 make.exe: *** [obj/main.o] Error -1073741819 Execution terminated --- Please note that in there are no '*.o' files in the 'c:\bin' directory. Again thanks for the help. <snip> Alfred P. Reaud |
|
From: Jamiil Abdullah-A. <jam...@ho...> - 2005-04-25 12:24:17
|
Thanks again Alfred, but I don't think is a problem with the user, but with the IDE itself thus the following BUG REPORT: OS: msw-xp IDE: dev-c++ 4.9.9.2 DESCRIPTION: Please be advised that when trying to compile a GTK-- project and accepting all the default parameters provided by DEV-C++ or otherwise, the following error is produced: Compiler: Default compiler Building Makefile: "C:\Dev-Cpp\Makefile.win" Executing make clean rm -f obj/main.o obj/MainForm.o obj/Project1_private.res bin/Project1.exe g++.exe -c main.cpp -o obj/main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" `pkg-config --cflags gtkmm-2.4` -fexpensive-optimizations -O3 make.exe: *** [obj/main.o] Error -1073741819 Execution terminated ---------- TIA _________________________________________________________________ Scan and help eliminate destructive viruses from your inbound and outbound e-mail and attachments. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. |