Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 21st, 2007, 2:02 PM   #1
csrocker101
Programmer
 
Join Date: Dec 2006
Posts: 49
Rep Power: 0 csrocker101 is on a distinguished road
Help with C Program I've downloaded.

I've recently downloaded an open source program where programmers, developers, and individuals can download the program and modify source code, headers, etc. Basically I've downloaded a Program but when I extract its contents all it is, is a bunch of C source and C header files and some other various files labeled "Install" and "Make" and "Configure" but the problem is..there's no extensions with these files and when I click on them it pops open the windows application selector and asks me what app I want to open the files with but I have no idea which one to use. I've tried opening them with noptepad which works and theres text in there and for instance in a file called "install" it gave me these exact instructions

"The following should be all you need to make soureditorv3.0 work:

./configure
make
make install

Good luck"

I HAVE NO IDEA what to do, to make it work! Any suggestions??
csrocker101 is offline   Reply With Quote
Old Jan 21st, 2007, 2:36 PM   #2
Mjordan2nd
The Supreme Ruler
 
Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6 Mjordan2nd is on a distinguished road
Look for a Windows version of that program.
__________________
"Every gun that is made, every warship launched, every rocket signifies, in the final sense, a theft from those who hunger and are not fed, from those who are cold and are not clothed. The world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children." - Dwight D. Eisenhower
Mjordan2nd is offline   Reply With Quote
Old Jan 21st, 2007, 7:11 PM   #3
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
The trio of a configure script, make, and make install are usually associated with unix derivatives. Note that there is no "make" program on windows. You might still be able to compile it...it depends. Often times, if the program will work on windows at all, there will be a project file for Visual Studio, DevC++, etc. or even just a file saying that it can be built on windows (usually with some brief specifics). In that last case, you may need windows versions of a number of command line utilities, such as those provided by Cygwin.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270
Dameon is offline   Reply With Quote
Old Jan 21st, 2007, 7:16 PM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Actually, you can compile Windows programs from the command line, too. MS has had NMAKE for ages, and Dev-Cpp actually generates a makefile from the IDE, if you use the ide, and runs it. MS Visual can do that, too.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Feb 7th, 2007, 5:44 PM   #5
mmcginty
Newbie
 
Join Date: Feb 2007
Location: San Diego, CA
Posts: 1
Rep Power: 0 mmcginty is on a distinguished road
You can possibly use Cygwin

The program is a Linux/Unix program. You may be able to compile it using the Cygwin tool kit http://cygwin.com. This installs a Linux type bash shell and most all the GNU/Linux tools. Install the gcc package and the make program. Move the code to your cygwin directory ( usually \cygwin\home\yourname) and follow the instructions by typing into the Cygwin shell. Many Linux open source programs may be used on Win this way and the bash shell window is much more useful than the standard CMD shell. If you include the c:\cygwin\bin path in your environment, the GNU tools will work in a standard CMD window.

The easier way is to create a C/C++ project using VC6 or VS2003 or VS2005 wizard. Move the .c and .h file to the project directory copyiing over the wizard .cpp and .h files. Then include the .c files using 'add existing item' in the project menu. It will usually find the .h files if they are in the same directory as the .c files. You will likely have to add "#include <windows.h>" to the c files and may have to change other "#include" directives to get the program to compile. The trick here is to comment out any includes it can't find and use the Help system to find the include for any functions that are missing or undefined.

I hope this helps,
Mike

Last edited by mmcginty; Feb 7th, 2007 at 6:08 PM.
mmcginty is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Language display in program Prm753 C++ 3 May 30th, 2006 5:45 PM
Help me program this with Watcom! DBZ Other Programming Languages 3 Feb 26th, 2006 9:41 PM
Creating a program to test a program sixstringartist C 8 Jan 21st, 2006 1:15 PM
auto run hidden program. kuroko C++ 9 Aug 6th, 2005 10:05 AM
airport Log program using 3D linked List : problem reading from file gemini_shooter C++ 0 Mar 2nd, 2005 4:12 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:31 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC