windows compilation, undefined reference
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stellarium |
Expired
|
Medium
|
Unassigned |
Bug Description
When compiling stellarium 0.12.0 (also applies to previous versions) on windows XP following the instruction provided I get several errors.
1/ At linking stage of libstelMain
Linking CXX shared library libstelMain.dll
=> To fix this add ws2_32 in the TARGET_
2/ At linking stage of dynamic plugins
A myriad (literally) of undefined references to Qt functions reference from StelGuiLib
=> To fix this, replace, in the CMakeLists.txt of each dynamic plugin, SET(StelMain stelMain) with SET(StelMain StelGuiLib stelMain)
and add a second TARGET_
Don't know to what extent these errors are a due to a discrepancy between my build environment and the official one used by the stellarium team, but in case this affects other people, it's now documented here.
Changed in stellarium: | |
importance: | Undecided → Medium |
Changed in stellarium: | |
status: | New → Confirmed |
Which version of cmake you use for compilation of Stellarium?