Compiling KFS with Ubuntu + Eclipse

Source: Internet
Author: User
My software (or software package): OS: Ubuntu8.04IDE: EclipseSDK3.4.1KFS: kfs0.2.2cmake: cmake2.6.2boost: boost1.3720.fuse: fuse2.7.4log4cpp: log4cpp1.0JDK: java-6-sun0. install and debug all the above software 1. decompress the file :~ /Kfs-0.2.22. Set pwd

The software (or software package) I use ):
OS: Ubuntu 8.04
IDE: Eclipse SDK 3.4.1
KFS: kfs 0.2.2
Cmake: cmake 2.6.2
Boost: boost 1.37.0
Fuse: fuse 2.7.4
Log4cpp: log4cpp 1.0.
JDK: java-6-sun

0. Install and debug all the above software
1. decompress the file :~ Kfs-0.2.2
2. Locate pwd to the decompressed Folder:
Cd ~ Kfs-0.2.2
3. generate an eclipse project
Cmake-G "Eclipse CDT4-Unix Makefiles"-D JAVA_INCLUDE_PATH =/usr/lib/jvm/java-6-sun/include-D JAVA_INCLUDE_PATH2 =/usr/lib/jvm/java -6-sun/include/linux.
-G "Eclipse CDT4-Unix Makefiles" specifies the type of the generated makefile. Select eclipse here;
-D JAVA_INCLUDE_PATH =/usr/lib/jvm/java-6-sun/include-D JAVA_INCLUDE_PATH2 =/usr/lib/jvm/java-6-sun/include/linux specify JDK include folder location, because the jni. h header file.
4. Open eclipse and import the generated project

Now you can compile and run KFS.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.