Author Topic: Can´t even install it  (Read 17879 times)

Offline Newbie0815

  • Multiple posting newcomer
  • *
  • Posts: 61
Re: Can´t even install it
« Reply #15 on: February 20, 2007, 08:27:59 am »
no other mingw, no cygwin
(this is a fresh installed harddisk with nothing but winXP + drivers)

install: /mingw/lib/gcc/mingw32/3.4.5/
programs: =../libexec/gcc/mingw32/3.4.5/;../libexec/gcc/;/mingw/libexec/gcc/ming
w32/3.4.5/;/mingw/libexec/gcc/mingw32/3.4.5/;/mingw/libexec/gcc/mingw32/;/mingw/
lib/gcc/mingw32/3.4.5/;/mingw/lib/gcc/mingw32/;/usr/libexec/gcc/mingw32/3.4.5/;/
usr/libexec/gcc/mingw32/;/usr/lib/gcc/mingw32/3.4.5/;/usr/lib/gcc/mingw32/;../mi
ngw32/bin/mingw32/3.4.5/;../mingw32/bin/;/mingw/mingw32/bin/mingw32/3.4.5/;/ming
w/mingw32/bin/
libraries: =C:/MinGWmingw32/3.4.5/;C:/MinGW;/mingw/lib/gcc/mingw32/3.4.5/;/usr/l
ib/gcc/mingw32/3.4.5/;../mingw32/lib/mingw32/3.4.5/;../mingw32/lib/;/mingw/mingw
32/lib/mingw32/3.4.5/;/mingw/mingw32/lib/;/mingw/lib/mingw32/3.4.5/;/mingw/lib/;
mingw32/3.4.5/;;/mingw/lib/mingw32/3.4.5/;/mingw/lib/;/lib/mingw32/3.4.5/;/lib/;
/usr/lib/mingw32/3.4.5/;/usr/lib/


gotta see my bed now, thanks for tonight
I´ll be back later

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Can´t even install it
« Reply #16 on: February 20, 2007, 03:10:06 pm »
"Settings" -> "Compiler and Debugger"

"Compiler Settings"
Tab "Other Options" add "-v"

Cut and Paste your re-build [CTRL][F11] of your Test GUI Project in a message, below is what I got.

Code
-------------- Build: Debug in Test ---------------
mingw32-g++.exe -Wall -g -v  -IC:\MinGW\include  -c C:\test\Test\main.cpp -o obj\Debug\main.o
Reading specs from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/specs
Configured with: ../gcc-3.4.5/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.5 (mingw special)
 C:/MinGW/bin/../libexec/gcc/mingw32/3.4.5/cc1plus.exe -quiet -v -IC:\MinGW\include -iprefix C:\MinGW\bin/../lib/gcc/mingw32/3.4.5/ C:\test\Test\main.cpp -quiet -dumpbase main.cpp -auxbase-strip obj\Debug\main.o -g -Wall -version -o C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/cc2Xaaaa.s
ignoring nonexistent directory "C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/include"
ignoring nonexistent directory "/mingw/lib/gcc/mingw32/3.4.5/../../../../mingw32/include"
#include "..." search starts here:
#include <...> search starts here:
 C:/MinGW/include
 C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5
 C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/mingw32
 C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/backward
 C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include
 C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/include
 /mingw/lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5
 /mingw/lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/mingw32
 /mingw/lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/backward
 /mingw/lib/gcc/mingw32/3.4.5/../../../../include
 /mingw/include
 /mingw/lib/gcc/mingw32/3.4.5/include
 /mingw/include
End of search list.
GNU C++ version 3.4.5 (mingw special) (mingw32)
compiled by GNU C version 3.4.5 (mingw special).
GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=131006
 C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/bin/as.exe -o obj\Debug\main.o C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/cc2Xaaaa.s
mingw32-g++.exe -LC:\MinGW\lib  -o bin\Debug\Test.exe obj\Debug\main.o    -lgdi32 -luser32 -lkernel32
Process terminated with status 0 (0 minutes, 1 seconds)
0 errors, 0 warnings

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Newbie0815

  • Multiple posting newcomer
  • *
  • Posts: 61
Re: Can´t even install it
« Reply #17 on: February 20, 2007, 06:47:06 pm »
Nevermind, I got it to work woooohooo

I went for a rather drastic method of reinstallation, can´t say which of the steps actually gave the success
Re-downloaded all the latest drivers for my system (even though I had done that just a week ago or so)
Re-formatted my HDD, created just ONE partition C:\ and installed a fresh WinXP
Installed XP drivers
Re-downloaded your whole list from above and re-installed everything
After I had copied the wxmsw26u_gcc_cb.dll and mingwm10.dll into the C::B folder I´ve started it, created a new test and (hooray) it WORKS

Don´t ask me how, or what I did different in this installation, I´m just glad I got it working (saved your instructions from above for next time)
Many many thanks for your help and patience, I owe you one

Shall I add one good hint for you?
Last night while messing around, I had found a posting at http://aarongiles.com/?p=199

After I had C::B working I´ve started all over, re-formatted the HDD, re-installed everything again, only this time I´ve created a 2nd partition X:\, and installed MinGW + C::B there, made the neccessary adjustments (took me a while to find them all)
Then I took out the HDD, plugged in another (empty HDD) and installed Vista on it (only thing I made sure of, there is no drive letter X:\ on the Vista drive)
After Vista was up and running (I´ve made sure I´m using only hardware supported by Vista), I plugged the first HDD back in, set it in BIOS as 2nd drive and booted Vista
In addition with the 3 fixes I found in that posting, C::B runs perfectly smooth under Vista (at least with my miniature scripts)

Offline jarro_2783

  • Multiple posting newcomer
  • *
  • Posts: 99
    • Project Freedom
Re: Can´t even install it
« Reply #18 on: February 21, 2007, 12:57:31 am »
if you were missing stdarg.h and string.h I'm guessing you missed one of the mingw packages, then when you went through his list the second time you downloaded them all properly.