Page 1 of 2

Problem with CL on win 7

Posted: Sun Jan 23, 2011 12:09 am
by Graviox
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

Re: Problem with CL on win 7

Posted: Sun Jan 23, 2011 9:52 am
by eranif
Please post the relevant information

http://codelite.org/forum/viewtopic.php?f=3&t=804

Eran

Re: Problem with CL on win 7

Posted: Tue Jan 25, 2011 3:22 am
by Graviox
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.

Re: Problem with CL on win 7

Posted: Tue Jan 25, 2011 12:06 pm
by eranif
Switch to the 'Build' window and copy-paste the output here
build-tab.png
Eran

Re: Problem with CL on win 7

Posted: Wed Jan 26, 2011 5:09 am
by Graviox
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 :)

Re: Problem with CL on win 7

Posted: Wed Jan 26, 2011 12:46 pm
by jfouche
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.

Re: Problem with CL on win 7

Posted: Wed Jan 26, 2011 8:41 pm
by Graviox
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

Re: Problem with CL on win 7

Posted: Wed Jan 26, 2011 8:53 pm
by jfouche
Graviox wrote:So should the folder be the same as the project name?
No, you can do what you want
Graviox wrote:Damn I tried that but still the same problem
And same buidl error ?
The current directory is invalid
Can you post your Develop_wsp.mk and Test.mk files ?

Re: Problem with CL on win 7

Posted: Wed Jan 26, 2011 9:01 pm
by eranif
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

Re: Problem with CL on win 7

Posted: Thu Jan 27, 2011 7:44 am
by Graviox
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 :)