• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTClient error compile otv8 Openal32.lib problem windows 11

bpm91

Intermediate OT User
Joined
May 23, 2019
Messages
931
Solutions
7
Reaction score
127
Location
Brazil
YouTube
caruniawikibr
How to solve openal32.lib?

compiled it with:
Visual Studio 2022
Windows SDK Version: 10.0
Platform Toolset: v143
 
Last edited:
can help me guys? i use msv 143 - all libs installed... but continue no work
1710903205270.png
1710903222096.png


Lua:
The following packages are already installed:
    boost-asio[core]:x86-windows-static -> 1.84.0
    boost-beast[core]:x86-windows-static -> 1.84.0
    boost-filesystem[core]:x86-windows-static -> 1.84.0
    boost-iostreams[bzip2,core,lzma,zlib,zstd]:x86-windows-static -> 1.84.0
    boost-lockfree[core]:x86-windows-static -> 1.84.0
    boost-process[core]:x86-windows-static -> 1.84.0
    boost-program-options[core]:x86-windows-static -> 1.84.0
    boost-system[core]:x86-windows-static -> 1.84.0
    boost-uuid[core]:x86-windows-static -> 1.84.0
    boost-variant[core]:x86-windows-static -> 1.84.0
    glew[core]:x86-windows-static -> 2.2.0#3
    libogg[core]:x86-windows-static -> 1.3.5#1
    libvorbis[core]:x86-windows-static -> 1.3.7#2
    libzip[bzip2,core,default-aes,wincrypto]:x86-windows-static -> 1.10.1
    luajit[core]:x86-windows-static -> 2023-01-04#5
    openal-soft[core]:x86-windows-static -> 1.23.1
    openssl[core]:x86-windows-static -> 3.2.1
    physfs[core]:x86-windows-static -> 3.2.0#1
    zlib[core]:x86-windows-static -> 1.3.1
Package boost-asio:x86-windows-static is already installed
Package boost-beast:x86-windows-static is already installed
Package boost-filesystem:x86-windows-static is already installed
Package boost-iostreams:x86-windows-static is already installed
Package boost-lockfree:x86-windows-static is already installed
Package boost-process:x86-windows-static is already installed
Package boost-program-options:x86-windows-static is already installed
Package boost-system:x86-windows-static is already installed
Package boost-uuid:x86-windows-static is already installed
Package boost-variant:x86-windows-static is already installed
Package glew:x86-windows-static is already installed
Package libogg:x86-windows-static is already installed
Package libvorbis:x86-windows-static is already installed
Package libzip:x86-windows-static is already installed
Package luajit:x86-windows-static is already installed
Package openal-soft:x86-windows-static is already installed
Package openssl:x86-windows-static is already installed
Package physfs:x86-windows-static is already installed
Package zlib:x86-windows-static is already installed
Restored 0 packages from C:\Users\holer\AppData\Local\vcpkg\archives in 92.9 us. Use --debug to see more details.

Total elapsed time: 241.7 ms

The package boost is compatible with built-in CMake targets:

    find_package(Boost REQUIRED [COMPONENTS <libs>...])
    target_link_libraries(main PRIVATE Boost::boost Boost::<lib1> Boost::<lib2> ...)

The package glew is compatible with built-in CMake targets:

    find_package(GLEW REQUIRED)
    target_link_libraries(main PRIVATE GLEW::GLEW)

The package libogg provides CMake targets:

    find_package(Ogg CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Ogg::ogg)

The package libvorbis provides CMake targets:

    # Vorbis reference encoder and decoder, low-level API
    find_package(Vorbis CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Vorbis::vorbis)

    # Audio stream decoding and basic manipulation, high-level API
    find_package(Vorbis CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Vorbis::vorbisfile)

    # Convenience API for setting up an encoding environment
    find_package(Vorbis CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Vorbis::vorbisenc)

The package libzip provides CMake targets:

    find_package(libzip CONFIG REQUIRED)
    target_link_libraries(main PRIVATE libzip::zip)

    find_package(modules CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Nettle::Nettle MbedTLS::MbedTLS zstd::libzstd_shared zstd::libzstd_static)

The package openal-soft provides CMake targets:

    find_package(OpenAL CONFIG REQUIRED)
    target_link_libraries(main PRIVATE OpenAL::OpenAL)

The package openssl is compatible with built-in CMake targets:

    find_package(OpenSSL REQUIRED)
    target_link_libraries(main PRIVATE OpenSSL::SSL OpenSSL::Crypto)

physfs provides CMake targets:

    find_package(PhysFS CONFIG REQUIRED)
    target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:PhysFS::PhysFS>,PhysFS::PhysFS,PhysFS::PhysFS-static>)

physfs is compatible with built-in CMake targets:

    find_package(PhysFS REQUIRED)
    target_include_directories(main PRIVATE ${PHYSFS_INCLUDE_DIR})
    target_link_libraries(main PRIVATE ${PHYSFS_LIBRARY})

The package zlib is compatible with built-in CMake targets:

    find_package(ZLIB REQUIRED)
    target_link_libraries(main PRIVATE ZLIB::ZLIB)

I don't know if it has something to do with it but my PC is Windows 11 with x64 so I believe the compilation is trying something x32 but it is x64. I don't know, if anyone has had this error please give me some light
 

Attachments

Last edited:
when doing the github walkthrough. this is the error that appears with my new vcpkg.
I'm trying to find the command to install the correct library. If anyone knows how to do it, I'm using Windows 11 x64

1710939891349.png
Post automatically merged:

I've already installed the 2 libs versions x64 and x84, but the error still persists.
Post automatically merged:

1710950043203.png

1710950055546.png


I've already looked for the error in several places, websites, etc... nothing... anyway, I couldn't find it either with otv8 kondra or otv8 academy. If anyone has been through this and has a solution I would appreciate the help.
Post automatically merged:

Work now:
I reinstalled visual 2022, reinstalled vcpkg> added vcpkg from the otv8 otacademy commit, in files>programs x86- change name to vcpkg
then I changed it in advanced below general, preferred build, to 32-x86
works 100% now. If anyone has the problem and the PC is 64x here is the answer.

1710956297801.png
 
Last edited:
Back
Top