This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Linux example Makefile?


Linux example Makefile?

Postby CHRISGNICHOLAS » Jul 16, 2008 @ 6:57pm

Hi - I am wondering if there are any examples of how to build under Linux, and which additional libraries to link with...

I am just trying to build the 'FileDemo' with the following line:

g++ -I../../../include/ -o filedemo filedemo.cpp -L/usr/X11R6/lib -L../../../lib/linux-x86 -ledge -ledgerender -lGL

and am getting lots of undefined references in libedge.a to things like "inflate", "deflate", "__stack_chk_fail", etc.

thanks!
Chris
CHRISGNICHOLAS
pm Member
 
Posts: 12
Joined: Aug 26, 2007 @ 1:37am
Location: San Francisco


Postby edge » Jul 17, 2008 @ 7:53am

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby CHRISGNICHOLAS » Jul 17, 2008 @ 10:56am

CHRISGNICHOLAS
pm Member
 
Posts: 12
Joined: Aug 26, 2007 @ 1:37am
Location: San Francisco


Postby CHRISGNICHOLAS » Jul 17, 2008 @ 11:28am

CHRISGNICHOLAS
pm Member
 
Posts: 12
Joined: Aug 26, 2007 @ 1:37am
Location: San Francisco


Postby edge » Jul 21, 2008 @ 12:09pm

Hi Chris,

The __stack_chk_fail function is not directly defined in EDGELIB, it could have been added by the compiler to check for stack overflow errors.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron