[openal] Compiling for 64-bit

Tommy Scott tscott at magiqueproductions.com
Thu Sep 1 13:49:17 EDT 2016


I am attempting to compile the 1.17.2 source as 64-bit, but when I do
cmake it only gives me a 32-bit solution to build. That compiles fine, but
if I then change the configuration to x64 manually I end up getting
various errors as follows:

Error	5	error LNK1112: module machine type 'x64' conflicts with target
machine type
'X86'	C:\openal-soft-1.17.2\build\x64\Release\bsincgen.obj	1	1	bsincgen

Error	6	error LNK1112: module machine type 'x64' conflicts with target
machine type
'X86'	C:\openal-soft-1.17.2\build\x64\Release\alhelpers.obj	1	1	test-common

Error	7	error LNK1112: module machine type 'x64' conflicts with target
machine type
'X86'	C:\openal-soft-1.17.2\build\x64\Release\makehrtf.obj	1	1	makehrtf

Error	8	error LNK1112: module machine type 'x64' conflicts with target
machine type
'X86'	C:\openal-soft-1.17.2\build\x64\Release\atomic.obj	1	1	common

Error	13	error LNK1181: cannot open input file
'Release\common.lib'	C:\openal-soft-1.17.2\build\LINK	OpenAL32

Error	17	error LNK1181: cannot open input file
'Release\OpenAL32.lib'	C:\openal-soft-1.17.2\build\LINK	openal-info

Error	16	error LNK1181: cannot open input file
'Release\test-common.lib'	C:\openal-soft-1.17.2\build\LINK	altonegen


How do I build the x64 version?

Thanks,
Tommy




More information about the openal mailing list