-
December 19th, 2011, 09:04 PM
#1
Static Linking of FLTK and Boost libraries? (Ubuntu)
After getting the Cygwin version working (see this thread: http://www.codeguru.com/forum/showth...02#post2043002), I started to tackle the Ubuntu environment and failed spectacularly again. I am trying to compile my code with the FLTK and Boost libraries linked statically so the executable won't depend on the shared libraries. I am using NetBeans and g++ tools and got a ton of errors after setting the -static flag. Please help. Thanks!
-
December 20th, 2011, 03:19 AM
#2
Re: Static Linking of FLTK and Boost libraries? (Ubuntu)
Did you build the static libraries of Boost?
Do you have static libraries for FLTK?
Maybe it would help if you paste the errors (or some of the errors) you are getting.
-
December 20th, 2011, 08:21 AM
#3
Re: Static Linking of FLTK and Boost libraries? (Ubuntu)
I didn't build any of the library files. I just installed them from the Ubuntu repository. IIRC there are *.a and *.so files and I assumed one was static and the other dynamic. (In Cygwin the *.a files are static but I can't be sure that Ubuntu follow the same convention.) I will paste some errors later. Thank you!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|