?
Solved

How to build C++ project in Linux?

Posted on 2008-10-27
6
Medium Priority
?
1,015 Views
Last Modified: 2013-11-17
I have a project in VC++ 8 using only c++ methods and libraries. Now I need to port the source code to GCC on Linux (Open SUSE). I would like to know the steps to build the files here.
Details like where to copy the source code, how to compile and build the entire code, how to link external libraries and dlls, are requested to be included.
0
Comment
Question by:Cool-Guy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 21

Expert Comment

by:silemone
ID: 22813832
you could use borland IDE
0
 

Author Comment

by:Cool-Guy
ID: 22814002
I can't use anything that needs paid license.
0
 
LVL 3

Accepted Solution

by:
vhpgomes earned 750 total points
ID: 22815409
There's a couple of free IDE's for linux. I'd recomend two of them:

Codeblocks: http://www.codeblocks.org/

Anjuta: http://www.anjuta.org/

With them you can setup projects just like Visual Studio. If you need help installing them, tell us wich Linux distribution are you using.

If you have few source files you can do a makefile yourself. Here's a little tutorial:
http://mrbook.org/tutorials/make/

Hope this help.

Victor


0
Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

 
LVL 35

Assisted Solution

by:Duncan Roe
Duncan Roe earned 450 total points
ID: 22817010
At work, some of the guys use Eclipse. That is free.
http://www.eclipse.org/
0
 
LVL 2

Assisted Solution

by:ray_leach
ray_leach earned 300 total points
ID: 22819467
You could try KDevelop (it's part of the openSuSE distro already, as is Eclipse).
KDevelop have a nice tutotial which walks you through setup up the build environments, explains the source trees and helps you compile your first project.
0
 

Author Closing Comment

by:Cool-Guy
ID: 31510365
thank you
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses
Course of the Month9 days, 7 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question