Page 1 of 1

compiler mingw win xp

Posted: Mon Mar 09, 2009 3:22 am
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.

Re: compiler mingw win xp

Posted: Mon Mar 09, 2009 12:54 pm
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

Re: compiler mingw win xp

Posted: Mon Mar 09, 2009 2:27 pm
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?

Re: compiler mingw win xp

Posted: Mon Mar 09, 2009 9:12 pm
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