User forums > Help
problem compiling wxwidgets
shurecki:
hi, im trying to compile wxwidgets 2.8.3 but i got some error messages
i instaled wxwidget in C:\wxWidgets-2.8.3
opened the prompt under win XP and
cd wxwidgets 2.8.3\build\msw
mingw32-make.exe -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0
after a few seconds i got:
windres --use-temp-file -i../../src/msw/version.rc -ogcc_mswdll\monodll_version_rc.o --define __WXMSW__ --include-dir ..\..\lib\gcc_dll\msw --include-dir ..\../include --define WXDLLNAME=wxmsw28_gcc_custom
gcc: ABRI~1\CONFIG~1\Temp: No such file or directory
../../src/msw/version.rc:12:24: wx/version.h: No such file or directory
windres: gcc exited with status 1
mingw32-make.exe: *** [gcc_mswdll\monodll_version_rc.o] Error 1
what i have to do?
dje:
Hi !
windres does not support spaces.
You wrote
--- Quote ---C:\wxWidgets-2.8.3
--- End quote ---
and
--- Quote ---cd wxwidgets 2.8.3\build\msw
--- End quote ---
You sould first work with a path without spaces.
The standard build for C::B is UNICODE. You have to use
--- Code: ---UNICODE=1
--- End code ---
instead of
--- Code: ---UNICODE=0
--- End code ---
if you do not really need an ASCII build.
Dje
shurecki:
--- Quote from: dje on April 30, 2007, 09:44:16 pm ---Hi !
windres does not support spaces.
You wrote
--- Quote ---C:\wxWidgets-2.8.3
--- End quote ---
and
--- Quote ---cd wxwidgets 2.8.3\build\msw
--- End quote ---
You sould first work with a path without spaces.
--- End quote ---
i'm sorry, i wrote it wrong at the second time
the right path is "C:\wxWidgets-2.8.3\", without spaces
--- Quote from: dje on April 30, 2007, 09:44:16 pm ---The standard build for C::B is UNICODE. You have to use
--- Code: ---UNICODE=1
--- End code ---
instead of
--- Code: ---UNICODE=0
--- End code ---
if you do not really need an ASCII build.
Dje
--- End quote ---
ok
i tryed this too and i got the same error message
TDragon:
Try downgrading to binutils-2.17.50-20060824-1, mingw32-make-3.81-1, mingw-runtime-3.11, and w32api-3.7. I'm not sure which combination of these is necessary to build wxWidgets, but these are the ones I have marked for myself to use as opposed to the newer ones.
gnewt:
Hi shurecki
Not sure if this helps, but here's my MingW setup (Win2K) and your make works fine (from "DOS"). Are you building from within C::B??
Cheers
Greg |;^)
--- Code: ---C:\MinGW>type installed.ini
[settings]
mirror=
installtype=current
[components]
runtime=mingw-runtime-3.12.tar.gz
w32api=w32api-3.9.tar.gz
binutils=binutils-2.16.91-20060119-1.tar.gz
core=gcc-core-3.4.2-20040916-1.tar.gz
gpp=gcc-g++-3.4.2-20040916-1.tar.gz
g77=
ada=
java=
objc=
make=mingw32-make-3.81-2.tar.gz
C:\MinGW>
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version