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

_rocketcore.dll build with MinGW 4.8.1 and python bindings #243

Open
perrelle opened this issue Feb 7, 2015 · 0 comments
Open

_rocketcore.dll build with MinGW 4.8.1 and python bindings #243

perrelle opened this issue Feb 7, 2015 · 0 comments

Comments

@perrelle
Copy link

perrelle commented Feb 7, 2015

When trying to build librocket with MinGW gcc 4.8.1 with Python bindings, the build of _rocketcore.dll fails when linking with error :

CMakeFiles/_rocketcore.dir/objects.a(ElementDocumentWrapper.cpp.obj):ElementDocumentWrapper.cpp:(.text+0xd12): undefined reference to `_imp___ZN6Rocket4Core6Python9Utilities10PrintErrorEb'
CMakeFiles/_rocketcore.dir/objects.a(ElementDocumentWrapper.cpp.obj):ElementDocumentWrapper.cpp:(.text+0xd59): undefined reference to `_imp___ZN6Rocket4Core6Python9Utilities10PrintErrorEb'

Before that, there was warnings of interests when building Core/Python/Utilities.cpp.obj regarding the use of the dllimport attribute:

[ 91%] Building CXX object CMakeFiles/_rocketcore.dir/.../libRocket/Source/Core/Python/Utilities.cpp.obj

.../libRocket/Source/Core/Python/Utilities.cpp:74:6: warning: 'static void Rocket::Core::Python::Utilities::PrintError(bool)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 void Utilities::PrintError(bool clear_error)
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

No branches or pull requests

1 participant