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

[build] raylib 4.2.0 release, windows msvc16 dll and lib, raylibVersion symbol is not exposed #2671

Closed
hiddenfrog opened this issue Aug 28, 2022 · 2 comments
Labels
good first issue Good first issue to help with

Comments

@hiddenfrog
Copy link

hiddenfrog commented Aug 28, 2022

there is no export of "raylibVersion" in raylibdll.lib, only in the static lib raylib.lib

(in the linux dynamic lib "raylibVersion" is exported)

so "raylibVersion" can not be found ie. with the d lang binding "raylib-d" (https://github.com/schveiguy/raylib-d) when you dynamic link to raylib in windows

(tested with the libs in raylib-4.2.0_win64_msvc16.zip and also with self compiled versions in vs2022)

@raysan5 raysan5 changed the title 4.2.0 - windows msvc16 - dll and lib - raylibVersion is removed [build] raylib 4.2.0 release, windows msvc16 dll and lib, raylibVersion symbol is not exposed Aug 29, 2022
@raysan5
Copy link
Owner

raysan5 commented Sep 1, 2022

@hiddenfrog No idea why this happens, raylibVersion symbol is defined as a global, non-static variable in rcore.c as:

const char *raylibVersion = RAYLIB_VERSION; // raylib version symbol, it could be required for some bindings

Help is welcome.

@raysan5 raysan5 added the good first issue Good first issue to help with label Sep 1, 2022
@raysan5 raysan5 closed this as completed in 2a798d6 Sep 2, 2022
@raysan5
Copy link
Owner

raysan5 commented Sep 2, 2022

Fixed. Next release will include the symbol in the DLL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good first issue to help with
Projects
None yet
Development

No branches or pull requests

2 participants