I wanted to see how codelite is progressing so I have downloaded and now I want to try a HelloWorl and
it's always the same story and since some menu have changed.
So I have a custom(using mingw-w64 toolchain) mingw install in C:\Developer\Mingw-NG\mingw32 and
I have added in environnment variable PATH=$PATH:C:/Developer/Mingw-NG/mingw32/bin
When I try to compile :
----------Build Started--------
C:\WINDOWS\system32\cmd.exe /c ""C:\Developer\Mingw-NG\mingw32\bin\mingw32-make.exe" -j 2 -f "HelloWorld.mk" ./Debug/main.o"
----------Building project:[ HelloWorld - Debug ] (Single File Build)----------
'makedir' is not recognized ...
mingw32-make: *** [Debug/main.o.d] Error 1
----------Build Ended----------
0 errors, 0 warnings
The NeverEnding Story
-
- CodeLite Enthusiast
- Posts: 30
- Joined: Wed May 20, 2009 1:54 am
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: The NeverEnding Story
codelite does not under stand this:
You need to change it into:
Two things to notice here:
- On Windows you *must* use ';' as the separator (semi-colon), since ':' is a valid part of the volume name
- codelite understands variables inside parentheses $(PATH) and not $PATH
Eran
Code: Select all
PATH=$PATH:C:/Developer/Mingw-NG/mingw32/bin
Code: Select all
PATH=$(PATH);C:/Developer/Mingw-NG/mingw32/bin
- On Windows you *must* use ';' as the separator (semi-colon), since ':' is a valid part of the volume name
- codelite understands variables inside parentheses $(PATH) and not $PATH
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 30
- Joined: Wed May 20, 2009 1:54 am
- Contact:
Re: The NeverEnding Story
Thanks I always forget that so now it works but when I put a breakpoint near printf it doesn't work :eranif wrote:codelite does not under stand this:You need to change it into:Code: Select all
PATH=$PATH:C:/Developer/Mingw-NG/mingw32/bin
Two things to notice here:Code: Select all
PATH=$(PATH);C:/Developer/Mingw-NG/mingw32/bin
- On Windows you *must* use ';' as the separator (semi-colon), since ':' is a valid part of the volume name
- codelite understands variables inside parentheses $(PATH) and not $PATH
Eran
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\Developer\Mingw-NG\home\Vincent\HelloWorld\Debug/./HelloWorld.exe...
done.
Debuggee process ID: 3920
Breakpoint creation unsuccessful
[New Thread 3920.0xd38]
Continuing...
Program exited normally.
Debug session ended
When I open a msys/mingw console and I try to put a breakpoint manually it works fine :
(gdb) b 5
Breakpoint 1 at 0x40173e: file C:/Developer/Mingw-NG/home/Vincent/HelloWorld/main.cpp, line 5.
(gdb) r
Starting program: C:\Developer\Mingw-NG\home\Vincent\HelloWorld\Debug/HelloWorld.exe
[New Thread 360.0x9e4]
warning: Can not parse XML library list; XML support was disabled at compile time
Breakpoint 1, main (argc=1, argv=0x3e2cf0)
at C:/Developer/Mingw-NG/home/Vincent/HelloWorld/main.cpp:5
5 printf("hello world\n");
(gdb) continue
Continuing.
hello world
Program exited normally.
(gdb)
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: The NeverEnding Story
Please enable the 'full debugger logging' I cant understand from this why the breakpoint insertion failedsmartmobili wrote:For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\Developer\Mingw-NG\home\Vincent\HelloWorld\Debug/./HelloWorld.exe...
done.
Debuggee process ID: 3920
Breakpoint creation unsuccessful
[New Thread 3920.0xd38]
Continuing...
Program exited normally.
Debug session ended
See also:
http://codelite.org/forum/viewtopic.php ... 3562#p3562
Eran
Make sure you have read the HOW TO POST thread