| | |
problem compiling with Eclipse for linux
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2007
Posts: 978
Reputation:
Solved Threads: 208
Basic eclipse c/c++ usage information is given in:
http://www.linuxdevices.com/articles/AT8349506804.html
Hope it helps.
http://www.linuxdevices.com/articles/AT8349506804.html
Hope it helps.
That's the ORIGINAL codeblocks. To get the latest and greatest, you need to acquire a "nightly build" for your OS. The Linux builds tend to lag behind the windows builds a bit, but maybe just a week.
These builds are bug fixes and updates. i've found them to be very stable...at least for what I'm doing...
I found it to be a very intuitive IDE.
Try:
http://forums.codeblocks.org/index.p...a31&board=20.0
These builds are bug fixes and updates. i've found them to be very stable...at least for what I'm doing...
I found it to be a very intuitive IDE.
Try:
http://forums.codeblocks.org/index.p...a31&board=20.0
"I like beating by head against the wall because it feels so good when I stop"
•
•
Join Date: Feb 2008
Posts: 25
Reputation:
Solved Threads: 0
it seems not to have a linux(ubuntu) version 
can you or anyone else recommend me another program that works on ubuntu?

can you or anyone else recommend me another program that works on ubuntu?
•
•
Join Date: Feb 2008
Posts: 98
Reputation:
Solved Threads: 12
•
•
•
•
it seems not to have a linux(ubuntu) version
can you or anyone else recommend me another program that works on ubuntu?
Eclipse works quite well.
You'll have to learn to use any program you try. Since you have eclipse and it works well, I would recommend you fix your problem with it.Did you try what I suggested before by creating a source folder?
•
•
Join Date: Feb 2008
Posts: 25
Reputation:
Solved Threads: 0
•
•
•
•
Eclipse works quite well.You'll have to learn to use any program you try. Since you have eclipse and it works well, I would recommend you fix your problem with it.
Did you try what I suggested before by creating a source folder?
I guess on that Run menu, where they ask for the "C++ Application" I'm not putting the right thing...but I cant find any executable files on these folders
•
•
•
•
it seems not to have a linux(ubuntu) version
can you or anyone else recommend me another program that works on ubuntu?
I have Fedora, so I can use the RPMs, which are easy.
I think Ubuntu was built on debian? They may have some kind of package system as well. However, i found that it's not nearly as well supported as the Redhat/fedora flavors. That's why I use fedora. Redhat/fedora also has YUM,
which is an update manager that does a very good job of resloving dependencies for complex packages.
Code::blocks should wok OK as a stand-alone install. Do you know haow to use tar?
"I like beating by head against the wall because it feels so good when I stop"
•
•
Join Date: Feb 2008
Posts: 98
Reputation:
Solved Threads: 12
I don't have the program on this computer but I'll try to explain exactly what you need to do to create a simple program:
Start Eclipse
File->New->Create a managed C++ project
Right click on the project name in the left panel and go to new and create a new source folder. Name the folder src.
Right click on the source folder and create a new source file. End the file with .cpp.
In that source file, create a simple program with a main() function.
Save the file and Eclipse should automatically build the project.
A dialog window should come up and ask you something about a profile. You can create a new one and point it to the executable with the same name as the source file that you create but without .cpp.
Start Eclipse
File->New->Create a managed C++ project
Right click on the project name in the left panel and go to new and create a new source folder. Name the folder src.
Right click on the source folder and create a new source file. End the file with .cpp.
In that source file, create a simple program with a main() function.
Save the file and Eclipse should automatically build the project.
A dialog window should come up and ask you something about a profile. You can create a new one and point it to the executable with the same name as the source file that you create but without .cpp.
•
•
Join Date: Feb 2008
Posts: 98
Reputation:
Solved Threads: 12
•
•
•
•
Try a GENERIC linux build. It should work fine.
I have Fedora, so I can use the RPMs, which are easy.
I think Ubuntu was built on debian? They may have some kind of package system as well. However, i found that it's not nearly as well supported as the Redhat/fedora flavors. That's why I use fedora. Redhat/fedora also has YUM,
which is an update manager that does a very good job of resloving dependencies for complex packages.
Code::blocks should wok OK as a stand-alone install. Do you know haow to use tar?
![]() |
Similar Threads
- Programming FAQ - Updated 1/March/2005 (Computer Science)
Other Threads in the C++ Forum
- Previous Thread: Algorithm for string combinations
- Next Thread: code executed
| Thread Tools | Search this Thread |
api array arrays based beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion convert count data database delete desktop developer directshow dll dynamiccharacterarray email encryption error file forms fstream function functions game generator getline google graph homeworkhelper iamthwee ifstream input int integer java lib linkedlist linux list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates text tree unix url vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






