Greets, Napoleon.
> Hello,
>
> I have just downloaded Devc++ with ming3.2 and get this error when I
> attempt to compile a program. Can someone tell me how to solve it
> please.
>
> Compiler: Default compiler
> Building Makefile: "C:\Projects\GenericWin\Makefile.win"
> Executing make...
> make.exe -f "C:\Projects\GenericWin\Makefile.win" all
> g++.exe main.o class.o maker.o procedure.o -o "GenericWin.exe"
> -L"C:/Dev-Cpp/lib" -mwindows -I"C:/Dev-Cpp/include"
> -I"C:/Dev-Cpp/include/c++" -I"C:/Dev-Cpp/include"
> -I"C:/Dev-Cpp/include/c++/mingw32"
>
> main.o(.text+0x41):main.cpp: undefined reference to
> `_Z12WinProcedureP6HWND__jjl@16'
>
> make.exe: *** [GenericWin.exe] Error 1
>
> Execution terminated
>
Perhaps you've forgotten to define the function you're using as the window
procedure for the window class. It should be defined in one of the source
files (.cpp, .cc, .c). Or maybe you haven't included the file in the
project.
___________________________________________________________
Abhijit Shylanath
E-mail: mu...@gm... || ibr...@bi...
Web-site: http://mudeth.tripod.com/
|