Re: [AD] Build errors with MSVC |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: allegro-developers@xxxxxxxxxx
- Subject: Re: [AD] Build errors with MSVC
- From: SiegeLord <siegelordex@xxxxxxxxxx>
- Date: Mon, 21 Dec 2015 19:13:56 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=i66Te4aWpmM71hGGOxNRswvLaNWRh70oHNbznkRE+lg=; b=L42nARZbiX3+91Fn0DouyxEa8SeKmOhmrvJ2JJ9iv4Qz7RYuez47hgptQ/uB7Um8tq UGT9tfmtvlDDZ+EkzvXAeFpsAJlNYXAR8GDZ84/dNC/En6+wp8PFolTBfOEL5ZQwJL9e aZWsRXGPY+Nb9htqfpHJLCX/Q3arEu1BGU8iidT8stWZNHWTJ9ZYbvTtXH1Xz1HetoGH alO2zp2yU+v92hBLLSasWS12XvcSkTvMIIS/8NYMpa8xKDVvXgorwYEw9lLJMPOFi49Z a6dEc5UqLaCTSpiTJECfr79gV986WADKz5j7PlVropc0NK+JC8uDhHTxUU3SepRKDhgp HWuA==
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