How do I convert a project under Linux to a project under Windows VS2010?

Source: Internet
Author: User

How do I convert a project under Linux to a project under Windows VS2010? Do not show delete repliesShow All repliesShow star replyShow score ReplyOnly show landlordCollection
liuchao35758600
super brother with a burning eye
This edition level:
knot Rate: 100%
landlordPosted in: 2013-02-17 12:17:10This post was last edited by liuchao35758600 on 2013-02-17 12:18:14 Linuxwindowsmakefileidec language title, the project has n. c files, distributed in different subdirectories under the SRC directory.
There are n. h files, which are distributed within different subdirectories under the Include directory.
The project relies on several third-party library functions.

Under Linux, this project generates the Configure script with the Autotools tool and generates makefile by running the Configure script to compile the entire project using the Make command.

But now want it to be able to compile directly under the VS2010, do not consider to use Msys, Cygwin and so on to compile.
Looking at the VS2010 interface, overwhelmed.
Here, ask for help.more 0 share to: Are you ready?Jumpit! More jobs atCSDN JOB
    • Project manager Yu Cheng Holding Group | 20-40k/month I'm going to move.
    • Project Assistant Yu Cheng International Holding Group | 10-15k/month I'm going to move.
    • Senior IT project manager, USA AI MU Technology Co., Ltd. | 34-41k/month I'm going to move.
    • Project manager Guangzhou Hai-wen Software Technology Co., Ltd. | 8-15k/month I'm going to move.
Useful to me [0] throw a brick [0] reference | Report | Management number of replies: 4
Classpatter NS
fingerstyle
level: 
#1   Score: 45 reply to: 2013-02-17 13:29:25 Select Project   Right-click  
properties --> configuration properies-->c/c++-->general--> Additional include directories

Properties --> configuration properies--> Linker-->input-->additional dependencies
Q/A August event big wave c coins waiting for you!! Useful to me [0] throw a brick [0] reference | Report | Management
Timxhhuang
timxhhuang
version level: 
#2   Score: 50 reply to: 2013-02-17 14:31:20
1. To get the Windows version of the third-party library first.

2. Create a new project in your vs2010 and add all. c files to the project (you can also add the. h file you wrote).

3. If the header file path and library (your header file path and the third-party library's header files and libraries are set up as shown in the building, also need to be in the properties
->linker->general->additional  Library directories the path to the storage in Riga).

4. If you use standard C and the third-party library has a Windows version, the conversion will be a little easier. Otherwise, it would be more troublesome to replace it.

Also if your project is to be compiled in multiple environments, try CMake.
Quiz channel weekly quiz (phase II) useful to me [0]  drop a brick [0]  quote  |  report  |  manage
LHFSLHFS
Pine 2
This edition level: 
#3   Score: 5 reply to: 2013-02-17 14:39:07
  useful to me [0]  drop a brick [0]  quote  |  report  |  manage
liuchao35758600
super brother with a burning eye
This edition level:
#4 Score: 0 replies.: 2013-02-17 14:45:14 Reference 2 floor Timxhhuang's reply:
1. To obtain the Windows version of the third-party library first.

2. Create a new project in your vs2010 and add all. c files to the project (you can also add the. h file you wrote).

3. Set the header file path and library (your header file path and third-party library header files and libraries as shown in the properties
->linker->general->additional Library Directories The path to the storage in Riga).

4. If you use ...
Third-party libraries have Windows versions.

How do I convert a project under Linux to a project under Windows VS2010?

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.