|
From: Bo F. <bof...@ma...> - 2004-03-09 12:49:36
|
Hi all. I've just installed dev-cpp on my WinXP. I want to move a program I made = with a Borland IDE to dev-cpp and here's my problem: The source includes mmsystem.h and I know I have to link to the = library...but where is it? I figure it's a dll (either the one in = c:\windows\system or c:\windows\system32). I tried a few things, but no = luck. Below is the compile log, and as you can see, the first two ( = (1)compiler is g++ and (2)paths looks ok) of the "basic 3" should be ok. = :-) Compiler: Default compiler Building Makefile: "E:\backup\Source\AlarmSys090304\Makefile.win" Executing make... make.exe -f "E:\backup\Source\AlarmSys090304\Makefile.win" all g++.exe -c main.cpp -o main.o -I"H:/Programmer/Dev-Cpp/include/c++" = -I"H:/Programmer/Dev-Cpp/include/c++/mingw32" = -I"H:/Programmer/Dev-Cpp/include/c++/backward" = -I"H:/Programmer/Dev-Cpp/include" =20 In file included from main.cpp:7: H:/Programmer/Dev-Cpp/include/mmsystem.h:899: syntax error before `;' = token H:/Programmer/Dev-Cpp/include/mmsystem.h:900: syntax error before `;' = token H:/Programmer/Dev-Cpp/include/mmsystem.h:901: `CALLBACK' was not = declared in=20 this scope H:/Programmer/Dev-Cpp/include/mmsystem.h:901: `YIELDPROC' was not = declared in=20 this scope H:/Programmer/Dev-Cpp/include/mmsystem.h:901: `MCIDEVICEID' was not = declared in=20 this scope H:/Programmer/Dev-Cpp/include/mmsystem.h:901: `DWORD' was not declared = in this=20 scope H:/Programmer/Dev-Cpp/include/mmsystem.h:901: typedef declaration = includes an=20 initializer H:/Programmer/Dev-Cpp/include/mmsystem.h:901: confused by earlier = errors, bailing out make.exe: *** [main.o] Error 1 Execution terminated |