Thank you Eran, I am really looking forward to start using codelight.
I am downloading the files from the links, and in the meantime also uninstalling what I had. Codelite is uninstalled, including %appdata%\CodeLite and the old codelite folder deleted. However, just in case I am about to make another mistake, I cannot find anything to uninstall for wxCrafter. I do not seen it in add/remove programs, and don't see any folders with that name. Is that ok?
...
I finished the new installation, but there is still a problem somewhere. Below is the "HelloWorld" build information from OutputView->Build. My environment variables are:
CodeLiteDir=C:\Program Files\CodeLite
WXWIN=C:\wxWidgets-2.9.4
PATH=$(WXWIN)\lib\gcc_dll;$(PATH)
WXCFG=gcc_dll\mswu
UNIT_TEST_PP_SRC_DIR=C:\UnitTest++-1.3
Build output:
C:\WINDOWS\system32\cmd.exe /c "mingw32-make.exe -j 1 -e -f "wxcHelloWorld_wsp.mk""
"----------Building project:[ wxcHelloWorld - Release ]----------"
mingw32-make.exe[1]: Entering directory `C:/Program Files/CodeLite/Projects/wxcHelloWorld'
g++ -c "C:/Program Files/CodeLite/Projects/wxcHelloWorld/main.cpp" -O2 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswu -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -o ./Release/main.o -I. -I.
g++ -c "C:/Program Files/CodeLite/Projects/wxcHelloWorld/wxcrafter.cpp" -O2 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswu -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -o ./Release/wxcrafter.o -I. -I.
g++ -c "C:/Program Files/CodeLite/Projects/wxcHelloWorld/wxcrafter_bitmaps.cpp" -O2 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswu -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -o ./Release/wxcrafter_bitmaps.o -I. -I.
g++ -c "C:/Program Files/CodeLite/Projects/wxcHelloWorld/MainDialog.cpp" -O2 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswu -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -o ./Release/MainDialog.o -I. -I.
windres -i "C:/Program Files/CodeLite/Projects/wxcHelloWorld/win_resources.rc" --use-temp-file --define __WXMSW__ --define _UNICODE --include-dir C:\wxWidgets-2.9.4\lib\gcc_dll\mswu --include-dir C:\wxWidgets-2.9.4\include --define WXUSINGDLL -o ./Release/win_resources.rc.o
gcc: error: ISION=0209: No such file or directory
windres: gcc exited with status 1
mingw32-make.exe[1]: *** [Release/win_resources.rc.o] Error 1
mingw32-make.exe: *** [All] Error 2
wxcHelloWorld.mk:127: recipe for target `Release/win_resources.rc.o' failed
mingw32-make.exe[1]: Leaving directory `C:/Program Files/CodeLite/Projects/wxcHelloWorld'
wxcHelloWorld_wsp.mk:4: recipe for target `All' failed
0 errors, 0 warnings, total time: 00:00:35 seconds
wxCrafter not found
-
- CodeLite Curious
- Posts: 5
- Joined: Wed Apr 03, 2013 6:44 pm
- Genuine User: Yes
- IDE Question: C++
- Location: Houston
- Contact:
Re: wxCrafter not found
WinXP SP3, CodeLite 5.1.0, MinGW 4.7.1, wxWidgets 2.9.4, wxCrafter 1.1
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: wxCrafter not found
It should be in the add/remove programs (Windows 7 here)softport wrote: I do not seen it in add/remove programs
Your problem is that you have created your workspace in a folder with a space in its paths.softport wrote: windres -i "C:/Program Files/CodeLite/Projects/wxcHelloWorld/win_resources.rc" --use-temp-file --define __WXMSW__ --define _UNICODE --include-dir C:\wxWidgets-2.9.4\lib\gcc_dll\mswu --include-dir C:\wxWidgets-2.9.4\include --define WXUSINGDLL -o ./Release/win_resources.rc.o
gcc: error: ISION=0209: No such file or directory
windres: gcc exited with status 1
mingw32-make.exe[1]: *** [Release/win_resources.rc.o] Error 1
mingw32-make.exe: *** [All] Error 2
wxcHelloWorld.mk:127: recipe for target `Release/win_resources.rc.o' failed
mingw32-make.exe[1]: Leaving directory `C:/Program Files/CodeLite/Projects/wxcHelloWorld'
wxcHelloWorld_wsp.mk:4: recipe for target `All' failed
0 errors, 0 warnings, total time: 00:00:35 seconds
MinGW (especially windres.exe) does not like spaces in the path
Try creating the project elsewhere (e.g. C:\src )
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Wed Apr 03, 2013 6:44 pm
- Genuine User: Yes
- IDE Question: C++
- Location: Houston
- Contact:
Re: wxCrafter not found
Thank you Eran, HelloWorld now compiles and runs. I receive one warning:
windres -i "C:/CodeLiteProjects/wxHelloWorld/win_resources.rc" --use-temp-file --define __WXMSW__ --define _UNICODE --include-dir C:\wxWidgets-2.9.4\lib\gcc_dll\mswu --include-dir C:\wxWidgets-2.9.4\include --define WXUSINGDLL -o ./Debug/win_resources.rc.o
windres: warning: 24: 1: 1033: duplicate value
Now that I have everything set up correctly (or maybe almost) I checked add/remove programs to see if wxCrafter was there, and it is. Maybe I just didn't notice it before, or maybe when uninstalling Codelite it also uninstalled wxCrafter? No matter... All is working.
Thanks Eran!
windres -i "C:/CodeLiteProjects/wxHelloWorld/win_resources.rc" --use-temp-file --define __WXMSW__ --define _UNICODE --include-dir C:\wxWidgets-2.9.4\lib\gcc_dll\mswu --include-dir C:\wxWidgets-2.9.4\include --define WXUSINGDLL -o ./Debug/win_resources.rc.o
windres: warning: 24: 1: 1033: duplicate value
Now that I have everything set up correctly (or maybe almost) I checked add/remove programs to see if wxCrafter was there, and it is. Maybe I just didn't notice it before, or maybe when uninstalling Codelite it also uninstalled wxCrafter? No matter... All is working.
Thanks Eran!
WinXP SP3, CodeLite 5.1.0, MinGW 4.7.1, wxWidgets 2.9.4, wxCrafter 1.1
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: wxCrafter not found
This is a bug in wx.rc file. win_resources.rc simply includes wx.rc filesoftport wrote:windres: warning: 24: 1: 1033: duplicate value
No. You should have both entries in Add/Remove Programssoftport wrote:maybe when uninstalling Codelite it also uninstalled wxCrafter?
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Wed Apr 03, 2013 6:44 pm
- Genuine User: Yes
- IDE Question: C++
- Location: Houston
- Contact:
Re: wxCrafter not found
Thank you Eran. I'm looking forward to moving some of my DevC++ widgets projects over to Codelite.
It's remarkable that you, apparently as a one man institution, can still take the time to answer beginners' questions. Much appreciated.
It's remarkable that you, apparently as a one man institution, can still take the time to answer beginners' questions. Much appreciated.
WinXP SP3, CodeLite 5.1.0, MinGW 4.7.1, wxWidgets 2.9.4, wxCrafter 1.1