allegro 4.4, cmake and MSVC
Larkin

Versions used : allegro 4.4.1.1, cmake2.8.1

I have the directX SDK installed in a seperate folder and do

set DirectXDir=I:\coding\src\directX
set INCLUDE=%DirectXDir%\INCLUDE;%INCLUDE%
set LIB=%DirectXDir%\LIB;%LIB%

before calling cmake.

MSVC9 problem :
If I do
cmake -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 9 2008" ..
with path to directX include/libs set, I still get a MSVC9 linker error that ddraw.lib was not found.

The problem seems to be related to the allegro CMakeLists.txt file

Quote:

  1. -- Windows --

if(WIN32)
# We should probably check for ddraw as well.
find_package(DInput)
find_package(DSound)
find_package(DXGuid)

Obviously the creator was aware of the problem but not 100% sure to include ddraw as well ?

If I add find_package(DDraw) and a handish tweaked FindDDraw.cmake, ddraw.lib will be located.

MSVC6 problem :
The project file created with cmake is trying to link the executables with /subsystem:console instead /subsystem:windows which will obviously fail.

Can these problems be fixed for a next 4.4 release ?

Paul whoknows

Allegro 4.4 never worked for me, it seems developers doesn't care about this version at all, I would suggest to use Allegro 4.2.3 + AllegroGL 0.4.3, instead.

Larkin

allegro 4.4 works fine for me now but not out of the box. I had to fix some broken stuff like the missing cmake check for ddraw.

Paul whoknows

Ok! I'll give it a try again, this time with 4.4.1!

After running CMake I got this:

#SelectExpand
1-- CMAKE_RC_COMPILER: rc 2-- Could NOT find ZLIB (missing: ZLIB_LIBRARIES ZLIB_INCLUDE_DIRS) 3-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) 4-- Could NOT find VORBIS (missing: OGG_INCLUDE_DIR VORBIS_INCLUDE_DIR OGG_ 5ARY VORBIS_LIBRARY VORBISFILE_LIBRARY) 6-- Configuring done 7-- Generating done 8-- Build files have been written to: D:/Downloads/allegro-4.4.1.1/allegro

I am only interested in Allegro and AGL so I did not install the other addons, is that OK?

Once I obtained the ALLEGRO.sln, just double clicked it and started to build the project, then I got the following erros:

#SelectExpand
1Error 5 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup MSVCRT.lib 2Error 6 fatal error LNK1120: 1 unresolved externals D:\Downloads\allegro-4.4.1.1\allegro\setup\RelWithDebInfo\setup.exe 3Error 7 error PRJ0019: A tool returned an error code from "Performing Post-Build Event..." scrsave 4Error 8 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup MSVCRT.lib 5Error 9 fatal error LNK1120: 1 unresolved externals D:\Downloads\allegro-4.4.1.1\allegro\setup\RelWithDebInfo\keyconf.exe 6Error 10 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup MSVCRT.lib 7Error 11 fatal error LNK1120: 1 unresolved externals D:\Downloads\allegro-4.4.1.1\allegro\tests\RelWithDebInfo\vesainfo.exe 8Error 12 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup MSVCRT.lib 9Error 13 fatal error LNK1120: 1 unresolved externals D:\Downloads\allegro-4.4.1.1\allegro\tests\RelWithDebInfo\afinfo.exe

Just in case, I installed DirectX SDK (august 2009) and using VS 2008, also created the INCLUDE and LIB enviroment variables pointing to my include and lib VS directories, oh I installed the dx70_min.zip too.

What's wrong this time? Hate to say I am clueless about these problems! :'(

Thomas Fjellstrom

I am only interested in Allegro and AGL so I did not install the other addons, is that OK?

Thats fine.

Quote:

What's wrong this time?

Remember to add END_OF_MAIN() after your main function? If you remembered that, did you link to alleg_unsharable (if that lib is used on windows, not sure if it is)?

Milan Mimica

Paul: Maybe just try to read the error message. Do you really care about setup.exe, vesainfo.exe and co.?

Paul whoknows

Ok, I got these .libs files successfully created:
alleg44-debug.lib
alleg-debug-static.lib
alleg44.lib
alleg-profile-static.lib
alleg.lib

For some reason, I couldn't get the release statically-linked version, this is what I did:

$ cmake -DCMAKE_BUILD_TYPE=Release
$ cmake -DSHARED=off

Anyways, I created a new project using excamera.c file to test if I can compile it, and this is what happened:

I went to tools/Options/VC++ directiories and in Library files I added the path pointing to where my Allegro/release .libs files are, is that Ok?

Then, I clicked Project/Test properties/Linker/Command Line and in additional options I added alleg.lib, build the applications and this is what I got:

#SelectExpand
1Error 1 error LNK2019: unresolved external symbol __imp__polygon3d_f referenced in function _draw_square excamera.obj 2Error 2 error LNK2019: unresolved external symbol __imp__makecol referenced in function _draw_square excamera.obj 3Error 3 error LNK2019: unresolved external symbol __imp__persp_project_f referenced in function _draw_square excamera.obj 4Error 4 error LNK2019: unresolved external symbol __imp__clip3d_f referenced in function _draw_square excamera.obj 5Error 5 error LNK2019: unresolved external symbol __imp__apply_matrix_f referenced in function _draw_square excamera.obj 6Error 6 error LNK2019: unresolved external symbol __imp__textprintf_ex referenced in function _render excamera.obj 7Error 7 error LNK2001: unresolved external symbol __imp__font excamera.obj 8Error 8 error LNK2019: unresolved external symbol __imp__get_camera_matrix_f referenced in function _render excamera.obj 9Error 9 error LNK2019: unresolved external symbol __imp__get_vector_rotation_matrix_f referenced in function _render excamera.obj 10Error 10 error LNK2019: unresolved external symbol __imp__set_clip_rect referenced in function _render excamera.obj 11Error 11 error LNK2019: unresolved external symbol __imp__rect referenced in function _render excamera.obj 12Error 12 error LNK2019: unresolved external symbol __imp__set_projection_viewport referenced in function _render excamera.obj 13Error 13 error LNK2001: unresolved external symbol __imp__gfx_driver excamera.obj 14Error 14 error LNK2019: unresolved external symbol __imp__clear_to_color referenced in function _render excamera.obj 15Error 15 error LNK2001: unresolved external symbol __imp__key_shifts excamera.obj 16Error 16 error LNK2001: unresolved external symbol __imp__key excamera.obj 17Error 17 error LNK2019: unresolved external symbol __imp__poll_keyboard referenced in function _process_input excamera.obj 18Error 18 error LNK2019: unresolved external symbol __imp__destroy_bitmap referenced in function __mangled_main excamera.obj 19Error 19 error LNK2019: unresolved external symbol __imp__blit referenced in function __mangled_main excamera.obj 20Error 20 error LNK2001: unresolved external symbol __imp__screen excamera.obj 21Error 21 error LNK2019: unresolved external symbol __imp__vsync referenced in function __mangled_main excamera.obj 22Error 22 error LNK2019: unresolved external symbol __imp__install_int_ex referenced in function __mangled_main excamera.obj 23Error 23 error LNK2019: unresolved external symbol __imp__create_bitmap referenced in function __mangled_main excamera.obj 24Error 24 error LNK2019: unresolved external symbol __imp__set_palette referenced in function __mangled_main excamera.obj 25Error 25 error LNK2001: unresolved external symbol __imp__desktop_palette excamera.obj 26Error 26 error LNK2019: unresolved external symbol __imp__allegro_message referenced in function __mangled_main excamera.obj 27Error 27 error LNK2001: unresolved external symbol __imp__allegro_error excamera.obj 28Error 28 error LNK2019: unresolved external symbol __imp__set_gfx_mode referenced in function __mangled_main excamera.obj 29Error 29 error LNK2019: unresolved external symbol __imp__install_timer referenced in function __mangled_main excamera.obj 30Error 30 error LNK2019: unresolved external symbol __imp__install_keyboard referenced in function __mangled_main excamera.obj 31Error 31 error LNK2019: unresolved external symbol __imp___install_allegro_version_check referenced in function __mangled_main excamera.obj 32Error 32 error LNK2019: unresolved external symbol __imp___WinMain referenced in function _WinMain@16 excamera.obj 33Error 33 fatal error LNK1120: 32 unresolved externals C:\Documents and Settings\Pablo\Escritorio\Test\Debug\Test.exe

BAF

Looks like you're not linking to Allegro...

Paul whoknows

What's the proper way to link to allegro?

I just clicked in Project/Test properties/Linker/Command Line and in additional options I added alleg.lib, not sure if this is the proper way to link to allegro?

BAF

I don't know, I've never used anything newer than Allegro 4.2, but the manual or the wiki should have that info.

Paul whoknows

I don't really know what else I can do, I followed the instructions, I tried several times, I am asking for help in the forums, am I the only guy using 4.4?

WTF is wrong? not sure if is a problem in my .libs, or a problem in my VS configuration, I really feel frustrated, I see some effort in order to make this release a good choice, but it's driving me crazy.
This is how my face looks every time I try to compile using the Allegro 4.4 release:

{"name":"angrysparta.jpg","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/0\/a\/0a5882f34c84dbd9302ef858013eb09d.jpg","w":500,"h":319,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/0\/a\/0a5882f34c84dbd9302ef858013eb09d"}angrysparta.jpg

Oscar Giner

It's in Project properties->Linker->Input. There should be a field named additional dependencies. There you put alleg.lib and all libs you use.

Evert

Check that the name of the library is actually alleg.lib (physically, on disk), it may have been renamed to allegro.lib (or maybe even something that includes a version number). I vaguely recall something to that effect for 4.4, but I have (indeed) never used it, certainly not on Windows, let alone on MSVC.

Milan Mimica

Then, I clicked Project/Test properties/Linker/Command Line and in additional options I added alleg.lib

Why? "alleg.lib" doesn't look like an option to me.

Paul whoknows

I tried Oscar suggestion but got same result.

alleg.lib is not a valid option? well here I am listing the .lib files I got after building the allegro.sln:

In Debug folder:
aldat.lib
alleg44-debug.lib
alleg-debug-static.lib
alleggl-debug.lib
jpgalleg-debug.lib.

In release folder:
aldat.lib
alleg.lib
alleggl.lib
jpgalleg.lib

I created an empty project from scratch, then I added the excamera.c (the AllegroGL one!) and started to try to build it using many different configurations: debug, release, etc, but I am allways getting linker errors.

I took a look at my Allegro 4.4.1 folder and I saw all the AllegroGL examples sucesfully created by the Allegro.sln, so now I am sure I have a VS configuration problem.

It seems the AGL examples were build using CMake, so probably the only way to start an AGL project from scratch and build it successfully is using CMake?

Milan Mimica

You just need to pass the libraries to your linker.

Paul whoknows

I copied allegro\addons\allegrogl\include files and folders to MSVC\vc\include, also copied allegro\lib\release\ *.lib files to MSVC\vc\lib.

Created a blank project, added excamera.c (AGL version), and linked like this:

{"name":"601619","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/7\/c74f90ec4f3b9237ed406073da43ca8d.png","w":748,"h":520,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/7\/c74f90ec4f3b9237ed406073da43ca8d"}601619

I am sure I am doing something wrong because I am getting these errors:

#SelectExpand
11>------ Rebuild All started: Project: TEST2, Configuration: Debug Win32 ------ 21>Deleting intermediate and output files for project 'TEST2', configuration 'Debug|Win32' 31>Compiling... 41>excamera.c 51>Compiling manifest to resources... 61>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 71>Copyright (C) Microsoft Corporation. All rights reserved. 81>Linking... 91>excamera.obj : error LNK2019: unresolved external symbol __imp__glViewport@16 referenced in function _set_viewport 101>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol __imp__glViewport@16 111>alleggl.lib(win.obj) : error LNK2001: unresolved external symbol __imp__glViewport@16 121>alleggl.lib(gui.obj) : error LNK2001: unresolved external symbol __imp__glViewport@16 131>excamera.obj : error LNK2001: unresolved external symbol __imp__gfx_driver 141>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol __imp__glTranslatef@12 151>alleggl.lib(gui.obj) : error LNK2001: unresolved external symbol __imp__glTranslatef@12 161>excamera.obj : error LNK2019: unresolved external symbol __imp__glTranslatef@12 referenced in function _set_camera 171>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __imp__glTranslatef@12 181>alleggl.lib(aglf.obj) : error LNK2001: unresolved external symbol __imp__glTranslatef@12 191>alleggl.lib(fontconv.obj) : error LNK2001: unresolved external symbol __imp__glTranslatef@12 201>excamera.obj : error LNK2019: unresolved external symbol __imp__glRotatef@16 referenced in function _set_camera 211>excamera.obj : error LNK2019: unresolved external symbol _gluPerspective@32 referenced in function _set_camera 221>excamera.obj : error LNK2019: unresolved external symbol __imp__glLoadIdentity@0 referenced in function _set_camera 231>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __imp__glLoadIdentity@0 241>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol __imp__glLoadIdentity@0 251>alleggl.lib(win.obj) : error LNK2001: unresolved external symbol __imp__glLoadIdentity@0 261>alleggl.lib(win.obj) : error LNK2019: unresolved external symbol __imp__glMatrixMode@4 referenced in function _register_test_window 271>excamera.obj : error LNK2001: unresolved external symbol __imp__glMatrixMode@4 281>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __imp__glMatrixMode@4 291>alleggl.lib(aglf.obj) : error LNK2001: unresolved external symbol __imp__glMatrixMode@4 301>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol __imp__glMatrixMode@4 311>excamera.obj : error LNK2019: unresolved external symbol __imp__glPopMatrix@0 referenced in function _draw_field 321>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __imp__glPopMatrix@0 331>alleggl.lib(aglf.obj) : error LNK2001: unresolved external symbol __imp__glPopMatrix@0 341>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol __imp__glPopMatrix@0 351>excamera.obj : error LNK2019: unresolved external symbol __imp__glEnd@0 referenced in function _draw_field 361>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __imp__glEnd@0 371>alleggl.lib(fontconv.obj) : error LNK2001: unresolved external symbol __imp__glEnd@0 381>alleggl.lib(gui.obj) : error LNK2001: unresolved external symbol __imp__glEnd@0 391>excamera.obj : error LNK2019: unresolved external symbol __imp__glVertex3f@12 referenced in function _draw_field 401>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __imp__glVertex3f@12 411>excamera.obj : error LNK2019: unresolved external symbol __imp__glBegin@4 referenced in function _draw_field 421>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __imp__glBegin@4 431>alleggl.lib(fontconv.obj) : error LNK2001: unresolved external symbol __imp__glBegin@4 441>alleggl.lib(gui.obj) : error LNK2001: unresolved external symbol __imp__glBegin@4 451>excamera.obj : error LNK2019: unresolved external symbol __imp__glColor3ub@12 referenced in function _draw_field 461>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __imp__glColor3ub@12 471>excamera.obj : error LNK2019: unresolved external symbol __imp__glPushMatrix@0 referenced in function _draw_field 481>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __imp__glPushMatrix@0 491>alleggl.lib(aglf.obj) : error LNK2001: unresolved external symbol __imp__glPushMatrix@0 501>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol __imp__glPushMatrix@0 511>excamera.obj : error LNK2019: unresolved external symbol __imp__quat_to_matrix referenced in function _convert_quat 521>excamera.obj : error LNK2019: unresolved external symbol __imp__glEnable@4 referenced in function _draw_overlay 531>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __imp__glEnable@4 541>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol __imp__glEnable@4 551>alleggl.lib(gui.obj) : error LNK2001: unresolved external symbol __imp__glEnable@4 561>excamera.obj : error LNK2019: unresolved external symbol __imp__apply_quat referenced in function _draw_overlay 571>excamera.obj : error LNK2019: unresolved external symbol __imp__glBlendFunc@8 referenced in function _draw_overlay 581>alleggl.lib(alleggl.obj) : error LNK2001: unresolved external symbol __imp__glBlendFunc@8 591>excamera.obj : error LNK2019: unresolved external symbol __imp__glVertex2i@8 referenced in function _draw_overlay 601>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __imp__glVertex2i@8 611>excamera.obj : error LNK2019: unresolved external symbol __imp__glDisable@4 referenced in function _draw_overlay 621>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __imp__glDisable@4 631>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol __imp__glDisable@4 641>alleggl.lib(gui.obj) : error LNK2001: unresolved external symbol __imp__glDisable@4 651>excamera.obj : error LNK2019: unresolved external symbol __imp__glFlush@0 referenced in function _render 661>excamera.obj : error LNK2019: unresolved external symbol __imp__glClear@4 referenced in function _render 671>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __imp__glClear@4 681>alleggl.lib(gui.obj) : error LNK2001: unresolved external symbol __imp__glClear@4 691>excamera.obj : error LNK2019: unresolved external symbol __imp__glClearColor@16 referenced in function _render 701>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __imp__glClearColor@16 711>excamera.obj : error LNK2019: unresolved external symbol __imp__get_vector_rotation_quat referenced in function _process_input 721>excamera.obj : error LNK2019: unresolved external symbol __imp__quat_mul referenced in function _process_input 731>excamera.obj : error LNK2019: unresolved external symbol __imp__get_y_rotate_quat referenced in function _process_input 741>excamera.obj : error LNK2001: unresolved external symbol __imp__key_shifts 751>excamera.obj : error LNK2001: unresolved external symbol __imp__key 761>excamera.obj : error LNK2019: unresolved external symbol __imp__poll_keyboard referenced in function _process_input 771>excamera.obj : error LNK2019: unresolved external symbol __imp__rest referenced in function __mangled_main 781>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol __imp__glBindTexture@8 791>alleggl.lib(win.obj) : error LNK2001: unresolved external symbol __imp__glBindTexture@8 801>alleggl.lib(gui.obj) : error LNK2001: unresolved external symbol __imp__glBindTexture@8 811>excamera.obj : error LNK2019: unresolved external symbol __imp__glBindTexture@8 referenced in function __mangled_main 821>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __imp__glBindTexture@8 831>alleggl.lib(aglf.obj) : error LNK2001: unresolved external symbol __imp__glBindTexture@8 841>alleggl.lib(texture.obj) : error LNK2001: unresolved external symbol __imp__glBindTexture@8 851>excamera.obj : error LNK2001: unresolved external symbol __imp__font 861>excamera.obj : error LNK2019: unresolved external symbol __imp__glShadeModel@4 referenced in function __mangled_main 871>excamera.obj : error LNK2019: unresolved external symbol __imp__glCullFace@4 referenced in function __mangled_main 881>alleggl.lib(aglf.obj) : error LNK2001: unresolved external symbol __imp__glCullFace@4 891>excamera.obj : error LNK2019: unresolved external symbol __imp__allegro_message referenced in function __mangled_main 901>excamera.obj : error LNK2001: unresolved external symbol __imp__allegro_error 911>excamera.obj : error LNK2019: unresolved external symbol __imp__set_gfx_mode referenced in function __mangled_main 921>excamera.obj : error LNK2001: unresolved external symbol __imp__identity_quat 931>excamera.obj : error LNK2019: unresolved external symbol __imp__install_timer referenced in function __mangled_main 941>excamera.obj : error LNK2019: unresolved external symbol __imp__install_keyboard referenced in function __mangled_main 951>excamera.obj : error LNK2019: unresolved external symbol __imp___install_allegro_version_check referenced in function __mangled_main 961>excamera.obj : error LNK2019: unresolved external symbol __imp___WinMain referenced in function _WinMain@16 971>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __soft_floodfill 981>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol __soft_floodfill 991>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __soft_spline 1001>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol __soft_spline 1011>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __soft_arc 1021>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol __soft_arc 1031>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __soft_ellipsefill 1041>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol __soft_ellipsefill 1051>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __soft_ellipse 1061>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol __soft_ellipse 1071>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __soft_circlefill 1081>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol __soft_circlefill 1091>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol __soft_circle 1101>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol __soft_circle 1111>alleggl.lib(gui.obj) : error LNK2001: unresolved external symbol _screen 1121>alleggl.lib(glvtable.obj) : error LNK2019: unresolved external symbol _screen referenced in function _is_screen_bitmap 1131>alleggl.lib(aglf.obj) : error LNK2001: unresolved external symbol _screen 1141>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol _screen 1151>alleggl.lib(win.obj) : error LNK2001: unresolved external symbol _screen 1161>alleggl.lib(glvtable.obj) : error LNK2019: unresolved external symbol __rgb_r_shift_32 referenced in function _makeacol32 1171>alleggl.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_r_shift_32 1181>alleggl.lib(texture.obj) : error LNK2001: unresolved external symbol __rgb_r_shift_32 1191>alleggl.lib(glvtable.obj) : error LNK2019: unresolved external symbol __rgb_g_shift_32 referenced in function _makeacol32 1201>alleggl.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_g_shift_32 1211>alleggl.lib(texture.obj) : error LNK2001: unresolved external symbol __rgb_g_shift_32 1221>alleggl.lib(glvtable.obj) : error LNK2019: unresolved external symbol __rgb_b_shift_32 referenced in function _makeacol32 1231>alleggl.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_b_shift_32 1241>alleggl.lib(texture.obj) : error LNK2001: unresolved external symbol __rgb_b_shift_32 1251>alleggl.lib(glvtable.obj) : error LNK2019: unresolved external symbol __rgb_a_shift_32 referenced in function _makeacol32 1261>alleggl.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_a_shift_32 1271>alleggl.lib(texture.obj) : error LNK2001: unresolved external symbol __rgb_a_shift_32 1281>alleggl.lib(glvtable.obj) : error LNK2019: unresolved external symbol __rgb_scale_6 referenced in function _getr8 1291>alleggl.lib(glvtable.obj) : error LNK2019: unresolved external symbol __current_palette referenced in function _getr8 1301>alleggl.lib(glvtable.obj) : error LNK2019: unresolved external symbol __rgb_scale_5 referenced in function _getr15 1311>alleggl.lib(glvtable.obj) : error LNK2019: unresolved external symbol __rgb_r_shift_15 referenced in function _getr15 1321>alleggl.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_r_shift_15 1331>alleggl.lib(glvtable.obj) : error LNK2019: unresolved external symbol __rgb_g_shift_15 referenced in function _getg15 1341>alleggl.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_g_shift_15 1351>alleggl.lib(glvtable.obj) : error LNK2019: unresolved external symbol __rgb_b_shift_15 referenced in function _getb15 1361>alleggl.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_b_shift_15 1371>alleggl.lib(glvtable.obj) : error LNK2019: unresolved external symbol __rgb_r_shift_16 referenced in function _getr16 1381>alleggl.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_r_shift_16 1391>alleggl.lib(glvtable.obj) : error LNK2019: unresolved external symbol __rgb_g_shift_16 referenced in function _getg16 1401>alleggl.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_g_shift_16 1411>alleggl.lib(glvtable.obj) : error LNK2019: unresolved external symbol __rgb_b_shift_16 referenced in function _getb16 1421>alleggl.lib(alleggl.obj) : error LNK2001: unresolved external symbol 1431>TEST2 - 387 error(s), 0 warning(s) 144========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ========== 145 146 147/* Had to cut the last error lines in order to keep the post below the 64K limit */

Milan Mimica

You also need to link against Allegro (alleg.lib or something) and OpenGL (opengl.lib).

Paul whoknows

Thanks Milan, I tried linking as you suggested:

{"name":"601621","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/0\/70368ef475891af74edb1a986ff6a7ba.png","w":746,"h":518,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/0\/70368ef475891af74edb1a986ff6a7ba"}601621

Since I couldn't find the file opengl.lib I had to link using opengl32.lib instead, is that ok?

Linking like that improved the situation, now I am getting fewer errors:

#SelectExpand
11>------ Rebuild All started: Project: TEST4, Configuration: Release Win32 ------ 21>Deleting intermediate and output files for project 'TEST4', configuration 'Release|Win32' 31>Compiling... 41>excamera.c 51>Linking... 61>excamera.obj : error LNK2001: unresolved external symbol __imp__apply_quat 71>excamera.obj : error LNK2001: unresolved external symbol __imp__identity_quat 81>excamera.obj : error LNK2001: unresolved external symbol _gluPerspective@32 91>excamera.obj : error LNK2001: unresolved external symbol __imp__get_y_rotate_quat 101>excamera.obj : error LNK2001: unresolved external symbol __imp__quat_to_matrix 111>excamera.obj : error LNK2001: unresolved external symbol __imp__quat_mul 121>excamera.obj : error LNK2001: unresolved external symbol __imp__get_vector_rotation_quat 131>alleggl.lib(glvtable.obj) : error LNK2001: unresolved external symbol _gluOrtho2D@32 141>alleggl.lib(videovtb.obj) : error LNK2001: unresolved external symbol _gluOrtho2D@32 151>alleggl.lib(glext.obj) : error LNK2001: unresolved external symbol _gluGetString@4 161>alleggl.lib(texture.obj) : error LNK2001: unresolved external symbol _gluBuild2DMipmaps@28 171>alleg.lib(wmouse.obj) : error LNK2001: unresolved external symbol _GUID_Button 181>alleg.lib(wjoydx.obj) : error LNK2001: unresolved external symbol _GUID_Button 191>alleg.lib(wmouse.obj) : error LNK2001: unresolved external symbol _GUID_ZAxis 201>alleg.lib(wjoydx.obj) : error LNK2001: unresolved external symbol _GUID_ZAxis 211>alleg.lib(wmouse.obj) : error LNK2001: unresolved external symbol _c_dfDIMouse 221>alleg.lib(wmouse.obj) : error LNK2001: unresolved external symbol _GUID_SysMouse 231>alleg.lib(wmouse.obj) : error LNK2001: unresolved external symbol _DirectInputCreateA@16 241>alleg.lib(wjoydx.obj) : error LNK2001: unresolved external symbol _DirectInputCreateA@16 251>alleg.lib(wkeybd.obj) : error LNK2001: unresolved external symbol _DirectInputCreateA@16 261>alleg.lib(wjoydx.obj) : error LNK2001: unresolved external symbol _GUID_POV 271>alleg.lib(wjoydx.obj) : error LNK2001: unresolved external symbol _GUID_Slider 281>alleg.lib(wjoydx.obj) : error LNK2001: unresolved external symbol _GUID_RzAxis 291>alleg.lib(wjoydx.obj) : error LNK2001: unresolved external symbol _GUID_YAxis 301>alleg.lib(wjoydx.obj) : error LNK2001: unresolved external symbol _GUID_XAxis 311>alleg.lib(wjoydx.obj) : error LNK2001: unresolved external symbol _c_dfDIJoystick 321>alleg.lib(wjoydx.obj) : error LNK2001: unresolved external symbol _IID_IDirectInputDevice2A 331>alleg.lib(wkeybd.obj) : error LNK2001: unresolved external symbol _c_dfDIKeyboard 341>alleg.lib(wkeybd.obj) : error LNK2001: unresolved external symbol _GUID_SysKeyboard 351>alleg.lib(wtimer.obj) : error LNK2001: unresolved external symbol __imp__timeGetTime@0 361>alleg.lib(wddbmp.obj) : error LNK2001: unresolved external symbol _IID_IDirectDrawSurface2 371>alleg.lib(wddraw.obj) : error LNK2001: unresolved external symbol _IID_IDirectDraw2 381>alleg.lib(wdxver.obj) : error LNK2001: unresolved external symbol _IID_IDirectDraw2 391>alleg.lib(wddraw.obj) : error LNK2001: unresolved external symbol _DirectDrawCreate@12 401>alleg.lib(wmidi.obj) : error LNK2001: unresolved external symbol __imp__midiOutClose@4 411>alleg.lib(wmidi.obj) : error LNK2001: unresolved external symbol __imp__midiOutReset@4 421>alleg.lib(wmidi.obj) : error LNK2001: unresolved external symbol __imp__midiInClose@4 431>alleg.lib(wmidi.obj) : error LNK2001: unresolved external symbol __imp__midiInReset@4 441>alleg.lib(wmidi.obj) : error LNK2001: unresolved external symbol __imp__midiInStop@4 451>alleg.lib(wmidi.obj) : error LNK2001: unresolved external symbol __imp__midiOutSetVolume@8 461>alleg.lib(wmidi.obj) : error LNK2001: unresolved external symbol __imp__midiOutGetVolume@8 471>alleg.lib(wmidi.obj) : error LNK2001: unresolved external symbol __imp__midiOutShortMsg@8 481>alleg.lib(wmidi.obj) : error LNK2001: unresolved external symbol __imp__midiOutOpen@20 491>alleg.lib(wmidi.obj) : error LNK2001: unresolved external symbol __imp__midiInStart@4 501>alleg.lib(wmidi.obj) : error LNK2001: unresolved external symbol __imp__midiInOpen@20 511>alleg.lib(wmidi.obj) : error LNK2001: unresolved external symbol __imp__midiInGetDevCapsA@12 521>alleg.lib(wmidi.obj) : error LNK2001: unresolved external symbol __imp__midiInGetNumDevs@0 531>alleg.lib(wmidi.obj) : error LNK2001: unresolved external symbol __imp__midiOutGetDevCapsA@12 541>alleg.lib(wmidi.obj) : error LNK2001: unresolved external symbol __imp__midiOutGetNumDevs@0 551>alleg.lib(wdsound.obj) : error LNK2001: unresolved external symbol _DirectSoundEnumerateA@8 561>alleg.lib(wdsound.obj) : error LNK2001: unresolved external symbol _DirectSoundCreate@12 571>alleg.lib(wdsndmix.obj) : error LNK2001: unresolved external symbol _DirectSoundCreate@12 581>alleg.lib(wdxver.obj) : error LNK2001: unresolved external symbol _IID_IDirectDrawSurface3 591>alleg.lib(wdsinput.obj) : error LNK2001: unresolved external symbol _CLSID_DirectSoundCapture 601>alleg.lib(wdsinput.obj) : error LNK2001: unresolved external symbol _IID_IDirectSoundCapture 611>alleg.lib(wsndwo.obj) : error LNK2001: unresolved external symbol __imp__waveOutPause@4 621>alleg.lib(wsndwo.obj) : error LNK2001: unresolved external symbol __imp__waveOutGetPosition@12 631>alleg.lib(wsndwo.obj) : error LNK2001: unresolved external symbol __imp__waveOutRestart@4 641>alleg.lib(wsndwo.obj) : error LNK2001: unresolved external symbol __imp__waveOutClose@4 651>alleg.lib(wsndwo.obj) : error LNK2001: unresolved external symbol __imp__waveOutUnprepareHeader@12 661>alleg.lib(wsndwo.obj) : error LNK2001: unresolved external symbol __imp__waveOutSetVolume@8 671>alleg.lib(wsndwo.obj) : error LNK2001: unresolved external symbol __imp__waveOutReset@4 681>alleg.lib(wsndwo.obj) : error LNK2001: unresolved external symbol __imp__waveOutGetVolume@8 691>alleg.lib(wsndwo.obj) : error LNK2001: unresolved external symbol __imp__waveOutWrite@12 701>alleg.lib(wsndwo.obj) : error LNK2001: unresolved external symbol __imp__waveOutPrepareHeader@12 711>alleg.lib(wsndwo.obj) : error LNK2001: unresolved external symbol __imp__waveOutOpen@24 721>alleg.lib(wjoyw32.obj) : error LNK2001: unresolved external symbol __imp__joyGetPosEx@8 731>alleg.lib(wjoyw32.obj) : error LNK2001: unresolved external symbol __imp__joyGetDevCapsA@12 741>alleg.lib(wjoyw32.obj) : error LNK2001: unresolved external symbol __imp__joyGetNumDevs@0 751>C:\Documents and Settings\Pablo\Escritorio\TEST4\Release\TEST4.exe : fatal error LNK1120: 62 unresolved externals 761>Build log was saved at "file://c:\Documents and Settings\Pablo\Escritorio\TEST4\Release\BuildLog.htm" 771>TEST4 - 70 error(s), 0 warning(s) 78========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Thomas Fjellstrom

Do as I did when I needed to find the libs for various missing symbols: Google them. Just in your case, remove the __imp__ part when searching.

Milan Mimica

You need to link against all the libs as in allegro-4.2.

Paul whoknows

Thank you very much Thomas! following your advice I reduced the number of erros to only 7! Unfortunalely these remaining erros seems to be related to allegroGL, so I can't go futher.

Now I am linking with these librearies (in this order):

alleggl.lib alleg.lib opengl32.lib glu32.lib dsound.lib dxguid.lib winmm.lib ddraw.lib dinput.lib

These are the remaining errors (all of them related to allegrogl)

#SelectExpand
11>------ Rebuild All started: Project: TEST4, Configuration: Release Win32 ------ 21>Deleting intermediate and output files for project 'TEST4', configuration 'Release|Win32' 31>Compiling... 41>excamera.c 51>Linking... 61>excamera.obj : error LNK2001: unresolved external symbol __imp__apply_quat 71>excamera.obj : error LNK2001: unresolved external symbol __imp__identity_quat 81>excamera.obj : error LNK2001: unresolved external symbol __imp__get_y_rotate_quat 91>excamera.obj : error LNK2001: unresolved external symbol __imp__quat_to_matrix 101>excamera.obj : error LNK2001: unresolved external symbol __imp__quat_mul 111>excamera.obj : error LNK2001: unresolved external symbol __imp__get_vector_rotation_quat 121>C:\Documents and Settings\Pablo\Escritorio\TEST4\Release\TEST4.exe : fatal error LNK1120: 6 unresolved externals 131>Build log was saved at "file://c:\Documents and Settings\Pablo\Escritorio\TEST4\Release\BuildLog.htm" 141>TEST4 - 7 error(s), 0 warning(s) 15========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Thomas Fjellstrom

I think those are actually allegro functions. I can't recal if there's an "alleg-unsharable" lib on windows/MSVC, if there is, link to that as well.

Paul whoknows

There are not any "alleg-unsharable" library.

Anyways, after a lot of hard work I got the project working in Release and RelWithDebInfo modes (dynamically linking), however, I still can't build the project in debug mode.
These are the errors:

#SelectExpand
11>------ Rebuild All started: Project: extextur_agl, Configuration: Release Win32 ------ 21>Deleting intermediate and output files for project 'extextur_agl', configuration 'Release|Win32' 31>Building Custom Rule D:/Downloads/allegro-4.4.1.1/allegro/addons/allegrogl/CMakeLists.txt 41>CMake does not need to re-run because CMakeFiles/generate.stamp is up-to-date. 51>Compiling... 61>extextur.c 71>Linking... 81>LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library 91>alleggl-debug.lib(gui.obj) : error LNK2001: unresolved external symbol _gfx_driver 101>extextur.obj : error LNK2019: unresolved external symbol _gfx_driver referenced in function __mangled_main 111>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol _gfx_driver 121>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol _gfx_driver 131>alleggl-debug.lib(win.obj) : error LNK2001: unresolved external symbol _gfx_driver 141>extextur.obj : error LNK2019: unresolved external symbol _font referenced in function __mangled_main 151>alleggl-debug.lib(aglf.obj) : error LNK2001: unresolved external symbol _font 161>alleggl-debug.lib(gui.obj) : error LNK2001: unresolved external symbol _font 171>extextur.obj : error LNK2019: unresolved external symbol _allegro_error referenced in function __mangled_main 181>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol _usetc 191>alleggl-debug.lib(fontconv.obj) : error LNK2019: unresolved external symbol _usetc referenced in function _draw_glyphs 201>alleggl-debug.lib(gui.obj) : error LNK2001: unresolved external symbol _usetc 211>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol ___linear_vtable32 221>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol ___linear_vtable24 231>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol ___linear_vtable16 241>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol ___linear_vtable15 251>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol ___linear_vtable8 261>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol _system_driver 271>alleggl-debug.lib(win.obj) : error LNK2019: unresolved external symbol _system_driver referenced in function _allegro_gl_win_init 281>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol __gfx_driver_list 291>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_b_shift_32 301>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __rgb_b_shift_32 311>alleggl-debug.lib(texture.obj) : error LNK2001: unresolved external symbol __rgb_b_shift_32 321>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_g_shift_32 331>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __rgb_g_shift_32 341>alleggl-debug.lib(texture.obj) : error LNK2001: unresolved external symbol __rgb_g_shift_32 351>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_r_shift_32 361>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __rgb_r_shift_32 371>alleggl-debug.lib(texture.obj) : error LNK2019: unresolved external symbol __rgb_r_shift_32 referenced in function __getpixel 381>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_a_shift_32 391>alleggl-debug.lib(glvtable.obj) : error LNK2019: unresolved external symbol __rgb_a_shift_32 referenced in function ___allegro_gl_convert_rle_sprite 401>alleggl-debug.lib(texture.obj) : error LNK2001: unresolved external symbol __rgb_a_shift_32 411>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_b_shift_24 421>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __rgb_b_shift_24 431>alleggl-debug.lib(fontconv.obj) : error LNK2001: unresolved external symbol __rgb_b_shift_24 441>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_g_shift_24 451>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __rgb_g_shift_24 461>alleggl-debug.lib(fontconv.obj) : error LNK2001: unresolved external symbol __rgb_g_shift_24 471>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_r_shift_24 481>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __rgb_r_shift_24 491>alleggl-debug.lib(fontconv.obj) : error LNK2001: unresolved external symbol __rgb_r_shift_24 501>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_b_shift_16 511>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __rgb_b_shift_16 521>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_g_shift_16 531>alleggl-debug.lib(glvtable.obj) : error LNK2019: unresolved external symbol __rgb_g_shift_16 referenced in function ___allegro_gl_convert_rle_sprite 541>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_r_shift_16 551>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __rgb_r_shift_16 561>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_b_shift_15 571>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __rgb_b_shift_15 581>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_g_shift_15 591>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __rgb_g_shift_15 601>alleggl-debug.lib(alleggl.obj) : error LNK2001: unresolved external symbol __rgb_r_shift_15 611>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __rgb_r_shift_15 621>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __drawing_pattern 631>alleggl-debug.lib(videovtb.obj) : error LNK2001: unresolved external symbol __drawing_pattern 641>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __drawing_mode 651>alleggl-debug.lib(videovtb.obj) : error LNK2001: unresolved external symbol __drawing_mode 661>alleggl-debug.lib(gui.obj) : error LNK2001: unresolved external symbol _screen 671>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol _screen 681>alleggl-debug.lib(aglf.obj) : error LNK2019: unresolved external symbol _screen referenced in function _allegro_gl_printf_ex 691>alleggl-debug.lib(win.obj) : error LNK2001: unresolved external symbol _screen 701>alleggl-debug.lib(videovtb.obj) : error LNK2001: unresolved external symbol _screen 711>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __drawing_x_anchor 721>alleggl-debug.lib(videovtb.obj) : error LNK2019: unresolved external symbol __drawing_x_anchor referenced in function _vline 731>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __drawing_y_anchor 741>alleggl-debug.lib(videovtb.obj) : error LNK2001: unresolved external symbol __drawing_y_anchor 751>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __rgb_scale_6 761>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __current_palette 771>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __rgb_scale_5 781>alleggl-debug.lib(glvtable.obj) : error LNK2001: unresolved external symbol __palette_expansion_table 791>alleggl-debug.lib(aglf.obj) : error LNK2001: unresolved external symbol _ucwidth 801>alleggl-debug.lib(aglf.obj) : error LNK2001: unresolved external symbol _ugetc 811>alleggl-debug.lib(fontconv.obj) : error LNK2001: unresolved external symbol _allegro_404_char 821>alleggl-debug.lib(fontconv.obj) : error LNK2001: unresolved external symbol _ugetxc 831>alleggl-debug.lib(fontconv.obj) : error LNK2001: unresolved external symbol _font_vtable_trans 841>alleggl-debug.lib(fontconv.obj) : error LNK2001: unresolved external symbol _font_vtable_color 851>alleggl-debug.lib(fontconv.obj) : error LNK2001: unresolved external symbol _font_vtable_mono 861>alleggl-debug.lib(win.obj) : error LNK2001: unresolved external symbol _gfx_capabilities 871>alleggl-debug.lib(win.obj) : error LNK2001: unresolved external symbol __screen_vtable 881>alleggl-debug.lib(win.obj) : error LNK2001: unresolved external symbol __refresh_rate_request 891>alleggl-debug.lib(videovtb.obj) : error LNK2001: unresolved external symbol __textmode 901>alleggl-debug.lib(gui.obj) : error LNK2001: unresolved external symbol _mouse_y 911>alleggl-debug.lib(gui.obj) : error LNK2001: unresolved external symbol _mouse_x 921>alleggl-debug.lib(gui.obj) : error LNK2001: unresolved external symbol __mouse_on 931>alleggl-debug.lib(gui.obj) : error LNK2001: unresolved external symbol _gui_mouse_b 941>alleggl-debug.lib(gui.obj) : error LNK2001: unresolved external symbol _gui_fg_color 951>alleggl-debug.lib(gui.obj) : error LNK2001: unresolved external symbol _gui_bg_color 961>alleggl-debug.lib(gui.obj) : error LNK2001: unresolved external symbol _empty_string 971>D:\Downloads\allegro-4.4.1.1\allegro\addons\allegrogl\Release\examp\extextur.exe : fatal error LNK1120: 51 unresolved externals 981>Build log was saved at "file://d:\Downloads\allegro-4.4.1.1\allegro\addons\allegrogl\extextur_agl.dir\Release\BuildLog.htm" 991>extextur_agl - 89 error(s), 1 warning(s) 100========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

[EDIT :D]

I got the project working in Debug (for some reason this only is posible in statically-linkg mode), so the quest is over!
THANKS TO ALL!

Thread #604142. Printed from Allegro.cc