| [ Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]
STR #2885
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 3 - Moderate, e.g. unable to compile the software |
Scope: | 2 - Specific to an operating system |
Subsystem: | Build Files |
Summary: | Enabling OPTION_BUILD_SHARED_LIBS=ON in cmake breaks compilation |
Version: | 1.3.1 |
Created By: | ChrisWi |
Assigned To: | AlbrechtS |
Fix Version: | 1.3.3 (SVN: v9920) |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | ChrisWi 07:13 Nov 12, 2012 |
| When i use cmake to build fltk and enable the BUILD_SHARED_LIBS option i get an error that libfltk.a should be recompiled with -fPIC
This is on a x86_64 ubuntu machine. When adding -fPIC to CMAKE_CXX_FLAGS AND CMAKE_C_FLAGS the build process succeeds.
Guess it would be helpful if by enabling the BUILD_SHARED_LIBS option this flag would be automatically added.
Version is from svn co http://svn.easysw.com/public/fltk/fltk/tags/release-1.3.1/
Best regards, Christian Wittner | |
|
#2 | AlbrechtS 03:57 Nov 27, 2014 |
| Fixed in Subversion repository.
CMake support has been improved a lot since FLTK 1.3.1 (but is not yet complete, so use with care).
I tested OPTION_BUILD_SHARED_LIBS=ON on both Fedora and Ubuntu 64-bit, and both worked w/o issues.
Please upgrade to FLTK 1.3.3. If this doesn't solve the problem, please post results here. If it works, I'd appreciate feedback.
This STR will be closed in 1-2 weeks otherwise. | |
|
#3 | AlbrechtS 04:04 Nov 27, 2014 |
| Updated svn version (r 9920). | |
[ Return to Bugs & Features ]
|
| |