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

Functions do not work on c++ #53

Open
GoldenStarGamer opened this issue May 20, 2024 · 1 comment · May be fixed by #54
Open

Functions do not work on c++ #53

GoldenStarGamer opened this issue May 20, 2024 · 1 comment · May be fixed by #54

Comments

@GoldenStarGamer
Copy link

As I was trying to use this in cisual studio on a windows computer, I installed it trough msys2 mingw64 and the bottom part of libcue.h where functions get declared is all errors, wherever CUE_EXPORT gets called it's an error, and I cant use those functions, for example, CUE_EXPORT Cd* cue_parse_file(FILE*); is an error: this declaration has no storage class or type specifier.

@GoldenStarGamer
Copy link
Author

you f«can fix it by changing the macro "CUE_EXPORT" to "#define CUE_EXPORT __declspec(dllexport)" for windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant