Support 3rd-party plugins in Windows package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stellarium |
Triaged
|
High
|
Unassigned |
Bug Description
Original message in maillist: https:/
Hi, I wrote a static plugin that I would like to convert to dynamic but I'm not able to build it under windows (Win7 x64, Visual Studio 2012, Qt 5.2.1, Cmake 3.0.2).
The static version works fine on Stellarium 0.13.1 but when I try to compile it as dynamic (obviously after creating the appropriate cmake files, starting from official examples) I get following linking error:
error LNK1181: cannot open input file 'stelMain.lib'
but no stelMain.lib is generated during main Stellarium building process.
Reading some forums I found that could be an issue related to wrong linker parameters but the suggestion to add following linker flags doesn't work (cause these flags are not recognized during plugin building)
-Wl,--enable-
I'm a newbie with c++/qt/stellarium development so please excuse me if I'm submitting a stupid question, but after a lot of tries I'm running out of ideas L
Thanks in advance
Rick
Changed in stellarium: | |
milestone: | none → 0.15.0 |
Changed in stellarium: | |
milestone: | 0.15.0 → none |
This issue related to packaging of the binaries, who has been built through MSVC. Current implementation of Stellarium doesn't give possibility build dynamic libraries with MSVC because by default MSVC didn't exports the public symbols.
Some docs for resolving this issue: http:// doc.qt. io/qt-5/ sharedlibrary. html