I found the problem. I had an alplatf.h from and Android build that someone got into include/allegro5/platform. Grrr. Thanks!
-----Original Message----- From: Allegro-developers [mailto:[email protected]] On Behalf Of SiegeLord Sent: December 21, 2015 8:14 PM To: [email protected] Subject: Re: [AD] Build errors with MSVC 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 > [email protected] > https://mail.gna.org/listinfo/allegro-developers > _______________________________________________ Allegro-developers mailing list [email protected] https://mail.gna.org/listinfo/allegro-developers _______________________________________________ Allegro-developers mailing list [email protected] https://mail.gna.org/listinfo/allegro-developers
