User forums > Help

Can´t even install it

<< < (2/4) > >>

stahta01:
"Settings" -> "Compiler and Debugger"
We need to verify the "ToolChain Executable"
SET "Compiler's Installation Directory" to "C:\minGW"

We need to verify the "Search Directories" Also.
"compiler" tab should have "C:\minGW\include"
"linker" tab should have "C:\minGW\lib"
"resource compiler" tab should have "C:\minGW\include"

Tim S

Note, I am most likely going to need to use which command that I gave directions on how to download in prior directions.


--- Quote ---Step 2D, Download, the which command
  http://prdownloads.sf.net/gnuwin32/which-2.16-4.exe?download

--- End quote ---

stahta01:
If the test GUI Project still does not work do this.

run which-2.16-4.exe to install which.
Add C:\Program Files\GnuWin32\bin to your PATH so the which command will work

open DOS BOX and enter following commands
cd C:\
which --all mingw32-gcc.exe

I want you to get "which: no mingw32-gcc.exe in (....."
If it lists a path that has mingw32-gcc.exe in it.
Edit your path variable to NOT have it. Note, after editing the PATH environment variable you may have to close and re-open the DOS box for changes to happen

cd C:\
which --all mingw32-g++.exe

I want you to get "which: no mingw32-g++.exe in (....."
If it lists a path that has mingw32-g++.exe in it.
Edit your path variable to NOT have it.

cd C:\
which --all mingw32-make.exe

I want you to get "which: no mingw32-make.exe in (....."
If it lists a path that has mingw32-make.exe in it.
Edit your path variable to NOT have it.

NOTE: Make sure that if you have cygwin installed that it is NOT in your path.

Tim S

stahta01:

--- Quote from: Newbie0815 on February 20, 2007, 05:59:29 am ---I downloaded the last nightly today, CB_20070217_rev3614_win32

--- End quote ---

Did you extract this to an empty folder except for DLLs mingw10.dll and wxmsw26u_gcc_cb.dll and the .7z files.
If, not please re-do it because installing it over RC2 does NOT work.

Tim S

stahta01:
If the test GUI Project still does not work do this.

"Settings" -> "Compiler and Debugger"

Select "other settings"
Change "Compiler logging" to "Full command Line"

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

Tim S


--- Code: ----------------- Build: Debug in Test ---------------
mingw32-g++.exe -Wall -g  -IC:\MinGW\include  -c c:\test\Test\main.cpp -o obj\Debug\main.o
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, 0 seconds)
0 errors, 0 warnings

--- End code ---

Newbie0815:
all done, all confirmed (I never had an RC2 on this machine, after a harddisk crash 3 days ago)

here is the log:

-------------- Build: Debug in Test1 ---------------
mingw32-g++.exe -Wall -g  -IC:\MinGW\include  -c E:\Test1\main.cpp -o obj\Debug\main.o
In file included from E:\Test1\main.cpp:1:
C:/MinGW/include/windows.h:47:20: stdarg.h: No such file or directory
In file included from C:/MinGW/include/winnt.h:37,
                 from C:/MinGW/include/windef.h:253,
                 from C:/MinGW/include/windows.h:48,
                 from E:\Test1\main.cpp:1:
C:/MinGW/include/string.h:24:20: stddef.h: No such file or directory
In file included from C:/MinGW/include/winnt.h:37,
                 from C:/MinGW/include/windef.h:253,
                 from C:/MinGW/include/windows.h:48,
                 from E:\Test1\main.cpp:1:
C:/MinGW/include/string.h:36: error: `size_t' has not been declared
C:/MinGW/include/string.h:37: error: `size_t' has not been declared
C:/MinGW/include/string.h:38: error: `size_t' has not been declared
C:/MinGW/include/string.h:39: error: `size_t' has not been declared
C:/MinGW/include/string.h:40: error: `size_t' has not been declared
C:/MinGW/include/string.h:46: error: expected constructor, destructor, or type conversion before "strcspn"
C:/MinGW/include/string.h:49: error: expected constructor, destructor, or type conversion before "strlen"
C:/MinGW/include/string.h:50: error: `size_t' has not been declared
C:/MinGW/include/string.h:51: error: `size_t' has not been declared
C:/MinGW/include/string.h:52: error: `size_t' has not been declared
C:/MinGW/include/string.h:55: error: expected constructor, destructor, or type conversion before "strspn"
C:/MinGW/include/string.h:58: error: expected constructor, destructor, or type conversion before "strxfrm"
C:/MinGW/include/string.h:65: error: `size_t' has not been declared
C:/MinGW/include/string.h:66: error: `size_t' has not been declared
C:/MinGW/include/string.h:72: error: `size_t' has not been declared
C:/MinGW/include/string.h:73: error: `size_t' has not been declared
C:/MinGW/include/string.h:77: error: `size_t' has not been declared
C:/MinGW/include/string.h:80: error: `size_t' has not been declared
C:/MinGW/include/string.h:81: error: `size_t' has not been declared
C:/MinGW/include/string.h:90: error: `size_t' has not been declared
C:/MinGW/include/string.h:91: error: `size_t' has not been declared
C:/MinGW/include/string.h:100: error: `size_t' has not been declared
C:/MinGW/include/string.h:102: error: `size_t' has not been declared
C:/MinGW/include/string.h:104: error: `size_t' has not been declared
C:/MinGW/include/string.h:109: error: `size_t' has not been declared
C:/MinGW/include/string.h:125: error: expected constructor, destructor, or type conversion before "wcscspn"
C:/MinGW/include/string.h:127: error: expected constructor, destructor, or type conversion before "wcslen"
C:/MinGW/include/string.h:128: error: `size_t' has not been declared
C:/MinGW/include/string.h:129: error: `size_t' has not been declared
C:/MinGW/include/string.h:130: error: `size_t' has not been declared
C:/MinGW/include/string.h:133: error: expected constructor, destructor, or type conversion before "wcsspn"
C:/MinGW/include/string.h:136: error: expected constructor, destructor, or type conversion before "wcsxfrm"
C:/MinGW/include/string.h:150: error: `size_t' has not been declared
C:/MinGW/include/string.h:151: error: `size_t' has not been declared
C:/MinGW/include/string.h:157: error: `size_t' has not been declared
C:/MinGW/include/string.h:158: error: `size_t' has not been declared
C:/MinGW/include/string.h:175: error: `size_t' has not been declared
C:/MinGW/include/string.h:176: error: `size_t' has not been declared
In file included from C:/MinGW/include/windows.h:50,
                 from E:\Test1\main.cpp:1:
C:/MinGW/include/winbase.h:1367: error: `va_list' has not been declared
C:/MinGW/include/winbase.h:1368: error: `va_list' has not been declared
In file included from C:/MinGW/include/windows.h:55,
                 from E:\Test1\main.cpp:1:
C:/MinGW/include/winuser.h:4034: error: `va_list' has not been declared
C:/MinGW/include/winuser.h:4035: error: `va_list' has not been declared
In file included from C:/MinGW/include/objbase.h:12,
                 from C:/MinGW/include/ole2.h:9,
                 from C:/MinGW/include/windows.h:114,
                 from E:\Test1\main.cpp:1:
C:/MinGW/include/stdlib.h:332: error: expected constructor, destructor, or type conversion before "wcstombs"
C:/MinGW/include/stdlib.h:335: error: `size_t' has not been declared
C:/MinGW/include/stdlib.h:336: error: expected constructor, destructor, or type conversion before "mbstowcs"
C:/MinGW/include/stdlib.h:337: error: `size_t' has not been declared
C:/MinGW/include/stdlib.h:342: error: `size_t' was not declared in this scope
C:/MinGW/include/stdlib.h:342: error: `size_t' was not declared in this scope
Process terminated with status 1 (0 minutes, 0 seconds)
50 errors, 0 warnings
 

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version