Problem with CL on win 7

CodeLite installation/troubleshooting forum
Graviox
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

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Problem with CL on win 7

Post by eranif »

Please post the relevant information

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

Eran
Make sure you have read the HOW TO POST thread
Graviox
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

Post 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.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Problem with CL on win 7

Post by eranif »

Switch to the 'Build' window and copy-paste the output here
build-tab.png
Eran
You do not have the required permissions to view the files attached to this post.
Make sure you have read the HOW TO POST thread
Graviox
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

Post 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 :)
You do not have the required permissions to view the files attached to this post.
jfouche
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

Post 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.
Jérémie
Graviox
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

Post 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
jfouche
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

Post 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 ?
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Problem with CL on win 7

Post 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
Make sure you have read the HOW TO POST thread
Graviox
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

Post 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 :)
Post Reply