Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error related to thorvg and webp with webp module disabled #91873

Closed
qarmin opened this issue May 12, 2024 · 1 comment · Fixed by #91901
Closed

Compilation error related to thorvg and webp with webp module disabled #91873

qarmin opened this issue May 12, 2024 · 1 comment · Fixed by #91901

Comments

@qarmin
Copy link
Contributor

qarmin commented May 12, 2024

Tested versions

4.3 bdc0316

System information

Ubuntu 22.04 CI

Issue description

Cannot compile Godot with command

scons -j2 dev_build=yes target=editor use_asan=yes use_ubsan=yes linker=gold module_basis_universal_enabled=no module_bmp_enabled=no module_camera_enabled=no module_csg_enabled=no module_cvtt_enabled=no module_dds_enabled=no module_denoise_enabled=no module_enet_enabled=no module_etcpak_enabled=no brotli=no module_gltf_enabled=no module_gridmap_enabled=no module_hdr_enabled=no module_jpg_enabled=no module_lightmapper_rd_enabled=no module_mbedtls_enabled=no module_meshoptimizer_enabled=no module_minimp3_enabled=no module_mobile_vr_enabled=no module_msdfgen_enabled=no module_multiplayer_enabled=no module_noise_enabled=no module_ogg_enabled=no module_openxr_enabled=no module_raycast_enabled=no module_regex_enabled=no module_squish_enabled=no graphite=no module_text_server_adv_enabled=no module_tga_enabled=no module_theora_enabled=no module_tinyexr_enabled=no module_upnp_enabled=no module_vhacd_enabled=no module_vorbis_enabled=no module_webp_enabled=no module_webrtc_enabled=no module_websocket_enabled=no module_webxr_enabled=no module_xatlas_unwrap_enabled=no
 Building compilation database compile_commands.json
progress_finish(["progress_finish"], [])
Generating servers/rendering/renderer_rd/shaders/environment/voxel_gi_sdf.glsl.gen.h ...
Generating servers/rendering/renderer_rd/shaders/giprobe_write.glsl.gen.h ...
Linking Static Library core/libcore.linuxbsd.editor.dev.x86_64.san.a ...
Ranlib Library core/libcore.linuxbsd.editor.dev.x86_64.san.a ...
Linking Program bin/godot.linuxbsd.editor.dev.x86_64.san ...
thirdparty/thorvg/src/loaders/external_webp/tvgWebpLoader.cpp:37: error: undefined reference to 'WebPDecodeBGRA'
thirdparty/thorvg/src/loaders/external_webp/tvgWebpLoader.cpp:65: error: undefined reference to 'WebPFree'
thirdparty/thorvg/src/loaders/external_webp/tvgWebpLoader.cpp:89: error: undefined reference to 'WebPGetInfo'
thirdparty/thorvg/src/loaders/external_webp/tvgWebpLoader.cpp:115: error: undefined reference to 'WebPGetInfo'
collect2: error: ld returned 1 exit status
scons: *** [bin/godot.linuxbsd.editor.dev.x86_64.san] Error 1
scons: building terminated because of errors.

Steps to reproduce

Above

Minimal reproduction project (MRP)

Above

@matheusmdx
Copy link
Contributor

Bisecting points to #91788 as the culprit

image

@akien-mga akien-mga self-assigned this May 13, 2024
@akien-mga akien-mga added this to the 4.3 milestone May 13, 2024
@akien-mga akien-mga changed the title Compilation error related to thorvg and webp Compilation error related to thorvg and webp with webp module disabled May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants