compiler mingw win xp

General questions regarding the usage of CodeLite
giugio
CodeLite Curious
Posts: 3
Joined: Mon Mar 09, 2009 3:15 am
Contact:

compiler mingw win xp

Post by giugio »

Hy.
I try to compile some file in a project and i get this error:

----------Build Started--------
"C:\MinGW-3.4.5\bin\mingw32-make.exe" -j 1 -f "mesh.mk" /Animations.o
----------Building project:[ mesh - Debug ] (Single File Build)----------
mingw32-make: *** No rule to make target `/Animations.o'. Stop.
----------Build Ended----------
0 errors, 0 warnings

mingw 32 v 3.4.5 is correctly installed , in the directory : C:\MinGW-3.4.5\bin and this path is in the path of window .
And when i try to digit gcc -v in the command window :
Reading specs from C:/MinGW-3.4.5/bin/../lib/gcc/mingw32/3.4.5/specs
Configured with: ../gcc-3.4.5/configure --with-gcc --with-gnu-ld --with-gnu-as -
-host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --
enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shar
ed --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --ena
ble-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-sync
hronization --enable-libstdcxx-debug
Thread model: win32

How i can compile?
Thansk.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: compiler mingw win xp

Post by eranif »

Something is broken there, I guess that the target name is not :

Code: Select all

/Animations.o
- Are u using custom build?
- Can u please post the content of the makefile here? (mesh.mk)

Eran
Make sure you have read the HOW TO POST thread
giugio
CodeLite Curious
Posts: 3
Joined: Mon Mar 09, 2009 3:15 am
Contact:

Re: compiler mingw win xp

Post by giugio »

thanks.
I'm not use makefile , i have imported a vc++ 8 solution.
How i find documentation on create makefile for linux and for win?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: compiler mingw win xp

Post by eranif »

Ok, just paste the content of your makefile here, probably some variables are used but not defined and we should define them in codelite's project settings.

If you just have plain C++/C files with nothing fancy, i suggest that you create new workspace with new project and you dont need to worry about makefile.
Eran
Make sure you have read the HOW TO POST thread
Post Reply