having a makefile error in dev c++ help!

umbra

[H]ard|Gawd
Joined
Jul 27, 2004
Messages
1,809
I'm just beggining my programming carreer and I was having a little trouble writing thjis very basic program.

//#include <K8055D.dll>
//#include <K8055D.dll>
//#include <K8055D.dll>

#define Function __declspec(dllimport)

using namespace std;

int main(int argc, char *argv)
{
Function long _stdcall OpenDevice (long CardAddress);
return 0;
}
It's for a robot control board but it won;t run. I compiled it and there are no errors in the actual program but I get errors from the makefile.win and this is the line which dev indicates the error is in
$(CPP) -c "robot better.cpp" -o "robot better.o" $(CXXFLAGS)
any ideas about why this ain't working
 
perhaps you could share the errors you are getting and the whole makefile might help. please use
Code:
 tags.
 
I fixed it I remade the file from the begining thanks for the help though.
 
Back
Top