Code::Blocks Forums

User forums => Help => Topic started by: lucas on April 21, 2005, 10:24:39 pm

Title: Build a project with Visual C++ 2003 Toolkit
Post by: lucas on April 21, 2005, 10:24:39 pm
Hello,

I'd like to build a C++ project using Visual C++ 2003 Toolkit and Platform SDK.

I created a new project and I choose VC++ 2003 as a compiler. Also in Settings->Configure plugins->Compiler I selected "Work with Makefiles(GNU "make" is required).

The compilation of the C++ source files worked perfect but at linking time I got the following error message:

"
make.exe: *** No rule to make target `depend_default', needed by `default'.  Stop.
"

Also I tried with mingw32-make.exe but the error persisted. Both "GNU" make and mingw32-make programs are in the system path.

Thank you in advance !
Title: Build a project with Visual C++ 2003 Toolkit
Post by: mandrav on April 21, 2005, 10:37:05 pm
Quote
Also in Settings->Configure plugins->Compiler I selected "Work with Makefiles(GNU "make" is required)

Have you tried the direct-mode?
Also, which version are you using?

Yiannis.
Title: Build a project with Visual C++ 2003 Toolkit
Post by: lucas on April 21, 2005, 10:55:08 pm
I'm using the CB v1.0 beta7 version.  For "GNU make" the version is 3.80 but I do not think that it matters.

I've also tried the direct mode but I received error messages like:

"
unresolved external symbol "int __cdecl f(void)" (?f@@YAHXZ)
"

(where the "int f(void)" function is defined in a C++ file and called in another one within the same project)