Re: [AD] Build errors with MSVC

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Still builds fine for me. The few cmake commands I use are:

cmake .. -G "Visual Studio 12 2013" -T v120_xp -DWANT_MONOLITH=off -DSHARED=on -DWANT_STATIC_RUNTIME=on -DWANT_ACODEC_DYNAMIC_LOAD=off -DFLAC_STATIC=on -DCMAKE_BUILD_TYPE=RelWithDebInfo

cmake --build . --target INSTALL --config RelWithDebInfo

On 12/21/2015 04:12 PM, Trent Gamblin wrote:
Not sure why but I'm getting a lot of new build errors with MSVC. It looks
to me like it's compiling for Android (or some other Unix)... a clean run of
CMake then a build produces errors like "undefined reference to __func__"
(seems to be used in include/allegro5/memory.h and all al_malloc, al_free
etc calls throw this error) and "cannot find pthread.h" (shouldn't be
looking for it.) What have I done wrong? I'm using MSVC 2013.


_______________________________________________
Allegro-developers mailing list
Allegro-developers@xxxxxxxxxx
https://mail.gna.org/listinfo/allegro-developers





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/