Well, i did all i knew to work with allegro in C++ but i keep getting the same problem, -lalleg not found
D:\Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\ld.exe skipping incompatible D:\Program Files (x86)\Dev-Cpp\MinGW64\lib/liballeg.a when searching for -lalleg D:\Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\ld.exe skipping incompatible D:/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../liballeg.a when searching for -lalleg D:\Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\ld.exe cannot find -lalleg E:\Programacion\C++\Practicas\Allegro\Testing\collect2.exe [Error] ld returned 1 exit status
i tried to make DevC++ to send the -lalleg at compiling but i keep getting that ,if i don't put the compiler to use -lalleg
i get this
D:\Users\J****n\AppData\Local\Temp\ccz9vWbS.o In function `_mangled_main()': 4 E:\Programacion\C++\Practicas\Allegro\Testing\Main.cpp undefined reference to `_install_allegro_version_check' D:\Users\J****n\AppData\Local\Temp\ccz9vWbS.o In function `WinMain': 7 E:\Programacion\C++\Practicas\Allegro\Testing\Main.cpp undefined reference to `_WinMain' E:\Programacion\C++\Practicas\Allegro\Testing\collect2.exe [Error] ld returned 1 exit status
any of you know of any possible solution
i'm using Allegro 4.2.2 and the last version of DevC++
the code is something basig ,just a test
int main(){
allegro_init();
return 0;
}
END_OF_MAIN();
any help is welcome,thank you for the time