file is too big too attach......go here and get msvcmake:
http://www.allegro.cc/files/
file is too big too attach......go here and get msvcmake:
http://www.allegro.cc/files/
k thx dling now i had to reinstall because i just found out adding libraries and header files from different compilers doesnt help
Compiler: MSVC++ 6.0
and make sure you link alleg.lib: project > settings > link tab
ok both errors are gone but i have one now i removed the 0 from
now i have this errorCode:return(0);
--------------------Configuration: frog2 - Win32 Debug--------------------
Compiling...
frog2.cpp
C:\Program Files\Microsoft Visual Studio\MyProjects\frog\frog2.cpp(12) : error C2059: syntax error : ')'
Error executing cl.exe.
frog2.exe - 1 error(s), 0 warning(s)
Code:#include <iostream> #include <conio.h> #include <allegro.h> using namespace std; int main(int argc, char *argv[]) { allegro_init(); install_keyboard(); set_gfx_mode(GFX_AUTODETECT, 640,480,0,0); readkey(); return(); } END_OF_MAIN();
Last edited by Goku-ssj; 09-15-2002 at 11:29 AM.
Compiler: MSVC++ 6.0
main returns an int. either return 0; or return (0); is acceptable.
hello, internet!
this is really confusing more errors to solve
--------------------Configuration: frog2 - Win32 Debug--------------------Code:#include <iostream> #include <conio.h> #include <allegro.h> using namespace std; int main(int argc, char *argv[]) { allegro_init(); install_keyboard(); set_gfx_mode(GFX_AUTODETECT, 640,480,0,0); readkey(); return 0; } END_OF_MAIN();
Compiling...
frog2.cpp
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/frog2.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
frog2.exe - 2 error(s), 0 warning(s)
Compiler: MSVC++ 6.0
what you mean "more errors"? that's the same error you started out with!
hello, internet!
hey atleast your post count is going up
Compiler: MSVC++ 6.0
yeah, i was worried at first that it might not beOriginally posted by Goku-ssj
hey atleast your post count is going up
hello, internet!
i went to the allegro.cc forum and someone was talking about an mscv fix file would that help me and if it would where can i get it?
Compiler: MSVC++ 6.0
if they were talking about it, then ask them exactly what it is and where to get itOriginally posted by Goku-ssj
i went to the allegro.cc forum and someone was talking about an mscv fix file would that help me and if it would where can i get it?
hello, internet!
when you installed allegro, did it go through a 10 second or so process and then tell you that it installed successfully? if not, its still not installed correctly.
did you go through those 4 steps i wrote quite a few posts up?
YEAH ITS FIXED for some reason i was using console applications and not regular win32 applications anyway i can start using allegro and thanks for all your help through this agonizing process
Compiler: MSVC++ 6.0