Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » noob; First time compiling, can anyone help?
noob; First time compiling, can anyone help? [message #207138] Tue, 24 April 2007 22:09 Go to next message
Eclipse UserFriend
Originally posted by: muscles641.yahoo.com

I am trying to compile code provided by Intel UPNP. As I understand the
process, I should do the following:
Start Eclipse
File/New/Standard Make C++ Project
Import/File System/select directory
Properties/Make Build/ deselect all option

I should be able to build this now, but the only thing that gets built is
main.o

Can someone please set me through the process

Here is the contents of the folder.
ILibAsyncServerSocket.c
ILibAsyncServerSocket.h
ILibAsyncSocket.c
ILibAsyncSocket.h
ILibParsers.c
ILibParsers.h
ILibWebClient.c
ILibWebClient.h
Main.c
Main.h
Makefile

Makefile contains
#
# Intel's UPnP MicroStack/1.0, Sample MakeFile */
# Intel Device Builder - Build#1.0.1868.18043
#

# List all object files here
OFILES = \
Main.o \
ILibParsers.o\
ILibAsyncSocket.o\
ILibAsyncServerSocket.o\
ILibWebClient.o\
ILibWebServer.o\
UPnPMicroStack.o

# Compiler command name
CC = gcc

# Compiler flags applied to all files
CFLAGS = -Os -Wall -D_POSIX -D_DEBUG -D_VERBOSE

LIBS = -lpthread -lm
# Name of the executable
EXENAME = Main

# Builds all object files and executable
${EXENAME} : $(OFILES)
$(CC) $(CFLAGS) -o ${EXENAME} $(OFILES) $(LIBS)

# Macro rule for all object files.
$(OFILES) : \
UPnPMicroStack.h

# Clean up
clean :
rm -f $(OFILES) ${EXENAME} ${EXENAME}.exe
Re: noob; First time compiling, can anyone help? [message #207363 is a reply to message #207138] Wed, 25 April 2007 08:16 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Jeff wrote:

> I am trying to compile code provided by Intel UPNP. As I understand
> the process, I should do the following:
> Start Eclipse
> File/New/Standard Make C++ Project
> Import/File System/select directory
> Properties/Make Build/ deselect all option
>
> I should be able to build this now, but the only thing that gets built
> is main.o
>
> Can someone please set me through the process

You better ask this on the CDT newsgroup.

Dani

>
> Here is the contents of the folder.
> ILibAsyncServerSocket.c
> ILibAsyncServerSocket.h
> ILibAsyncSocket.c
> ILibAsyncSocket.h
> ILibParsers.c
> ILibParsers.h
> ILibWebClient.c
> ILibWebClient.h
> Main.c
> Main.h
> Makefile
>
> Makefile contains
> #
> # Intel's UPnP MicroStack/1.0, Sample MakeFile */
> # Intel Device Builder - Build#1.0.1868.18043
> #
>
> # List all object files here
> OFILES = \
> Main.o \
> ILibParsers.o\
> ILibAsyncSocket.o\
> ILibAsyncServerSocket.o\
> ILibWebClient.o\
> ILibWebServer.o\
> UPnPMicroStack.o
>
> # Compiler command name
> CC = gcc
>
> # Compiler flags applied to all files
> CFLAGS = -Os -Wall -D_POSIX -D_DEBUG -D_VERBOSE
> LIBS = -lpthread -lm
> # Name of the executable
> EXENAME = Main
>
> # Builds all object files and executable
> ${EXENAME} : $(OFILES)
> $(CC) $(CFLAGS) -o ${EXENAME} $(OFILES) $(LIBS)
>
> # Macro rule for all object files.
> $(OFILES) : \
> UPnPMicroStack.h
>
> # Clean up
> clean :
> rm -f $(OFILES) ${EXENAME} ${EXENAME}.exe
>
>
Previous Topic:Using Key Preferences in my RCP App
Next Topic:no source file named..
Goto Forum:
  


Current Time: Tue Apr 23 16:10:22 GMT 2024

Powered by FUDForum. Page generated in 0.05371 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top