Problem with CL on win 7
-
- CodeLite Curious
- Posts: 5
- Joined: Sat Jan 22, 2011 11:53 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Problem with CL on win 7
Hey everybody, Im a student learning c++ and I wanted to try CodeLite so I downloaded the version that comes with the MinGW compiler "codelite-2.9.0.4684-mingw4.4.1.exe ", I installed it on a win 7 32 bit pc and haven't modified anything.
Here's the problem: I've already created a workspace for my projects and tried to build and run a simple "hello world". So I build it and it is apparently successful but when I run it the console window pops and only says "press any kay to continue...", I found out that it actually isn't building anything.
Any ideas? I think maybe it's not well setup to use MinGW though I just installed and should work out of the box O.o
Here's the problem: I've already created a workspace for my projects and tried to build and run a simple "hello world". So I build it and it is apparently successful but when I run it the console window pops and only says "press any kay to continue...", I found out that it actually isn't building anything.
Any ideas? I think maybe it's not well setup to use MinGW though I just installed and should work out of the box O.o
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Problem with CL on win 7
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Sat Jan 22, 2011 11:53 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Problem with CL on win 7
Oh Im sorry, ok here we go:
OS : Windows 7 professional, 32-bit version with all its updates
CodeLite: v2.9.0.4684 (downloaded the .exe I didn't compile)
MinGW: v4.4.1 (the one that comes with the last bundle)
The problem is: CodeLite seems not to be building anything though the only thing that appears in the log is "buid successful", I can even type nonsense in a cpp file and it still "builds".
If you need more info just tell me.
OS : Windows 7 professional, 32-bit version with all its updates
CodeLite: v2.9.0.4684 (downloaded the .exe I didn't compile)
MinGW: v4.4.1 (the one that comes with the last bundle)
The problem is: CodeLite seems not to be building anything though the only thing that appears in the log is "buid successful", I can even type nonsense in a cpp file and it still "builds".
If you need more info just tell me.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Problem with CL on win 7
Switch to the 'Build' window and copy-paste the output here
EranYou do not have the required permissions to view the files attached to this post.
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Sat Jan 22, 2011 11:53 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Problem with CL on win 7
OK here is it, the build output with the code im trying to build:
I think I see whats the problem but any help would be appreciated
I think I see whats the problem but any help would be appreciated
You do not have the required permissions to view the files attached to this post.
-
- CodeLite Guru
- Posts: 351
- Joined: Mon Oct 20, 2008 7:26 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: Problem with CL on win 7
I think your problem comes from the fact that you have a space in your directories : Prograc++.
Rename this directory to test, and it will probably fix your problem.
Rename this directory to test, and it will probably fix your problem.
Jérémie
-
- CodeLite Curious
- Posts: 5
- Joined: Sat Jan 22, 2011 11:53 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Problem with CL on win 7
So should the folder be the same as the project name? Damn I tried that but still the same problem
Edit: seems like space is not either, let's see what eran says
Edit: seems like space is not either, let's see what eran says
-
- CodeLite Guru
- Posts: 351
- Joined: Mon Oct 20, 2008 7:26 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: Problem with CL on win 7
No, you can do what you wantGraviox wrote:So should the folder be the same as the project name?
And same buidl error ?Graviox wrote:Damn I tried that but still the same problem
Can you post your Develop_wsp.mk and Test.mk files ?The current directory is invalid
Jérémie
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Problem with CL on win 7
Even if the name does not imply it, under Windows 7:
'C:\Users\Alejandro\Documents\Progra c++' is actually 'C:\Users\Alejandro\My Documents\Progra c++'
This kind of virtual folders were introduced in Vista IIRC, try creating your project under a new path, something like:
'C:\Users\Alejandro\c++\'
Eran
'C:\Users\Alejandro\Documents\Progra c++' is actually 'C:\Users\Alejandro\My Documents\Progra c++'
This kind of virtual folders were introduced in Vista IIRC, try creating your project under a new path, something like:
'C:\Users\Alejandro\c++\'
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Sat Jan 22, 2011 11:53 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Problem with CL on win 7
Oh lol, yeah it seems to be some kind of problem with windows 7 directories, I created my workspace and project under "C:" directly and it compiled. Though I Don't like having files there guess I'll have to work like that.
Thanks for your help and I hope you guys find a way to fix it
Thanks for your help and I hope you guys find a way to fix it