Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - TazX

#1
Engine Development / Re: AGS engine Linux port
Mon 25/11/2013 01:01:23
Quote from: David Ostman on Sun 24/11/2013 10:46:03
Quote from: TazX on Sun 24/11/2013 09:06:56
BigMc's post?  I can only see 3 responses, none of whom are called BigMc?
You quoted said post by BigMc in your reply above, I think.

Quote from: BigMc on Thu 21/11/2013 14:36:00
Hi. Looks like you are missing the C++ standard library. Did you install build-essential as described in the Debian instructions?

*facepalm* - oops, sorry.  Yes, I've installed build-essentials:
build-essential is already the newest version.

Any other tips?  Should I be linking something to something else?
#2
Engine Development / Re: AGS engine Linux port
Sun 24/11/2013 09:06:56

Quote from: BigMc on Thu 21/11/2013 14:36:00
Hi. Looks like you are missing the C++ standard library. Did you install build-essential as described in the Debian instructions?

Yes, I installed all of the suggested packages.  They seemed to be successful.  This is what I get when I try and install them:
$ sudo apt-get install git debhelper build-essential pkg-config liballegro4.2-dev libaldmb1-dev libfreetype6-dev libtheora-dev libvorbis-dev libogg-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
debhelper is already the newest version.
git is already the newest version.
libfreetype6-dev is already the newest version.
libogg-dev is already the newest version.
libtheora-dev is already the newest version.
libvorbis-dev is already the newest version.
pkg-config is already the newest version.
libaldmb1-dev is already the newest version.
liballegro4.2-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.


Quote from: monkey_05_06 on Thu 21/11/2013 17:10:59
Well I'm not sure exactly why you'd be getting that issue (I have successfully compiled the current repos on 32- and 64-bit Linux Mint). The very first link when Googling "linux cannot find lstdc++" is this StackOverflow question. Perhaps installing g++-multilib would resolve the issue for you?

Edit: I didn't even see there was another page, so I didn't see BigMc's post, but that also. :P

BigMc's post?  I can only see 3 responses, none of whom are called BigMc?  Am I looking in the right place?

My full error message is this, hope it helps:

~/ags $ make --directory=Engine
make: Entering directory `/home/tamsyn/ags/Engine'
CFLAGS = -O2 -g -fsigned-char -Wfatal-errors -DNDEBUG -DAGS_RUNTIME_PATCH_ALLEGRO -DAGS_HAS_CD_AUDIO -DAGS_CASE_SENSITIVE_FILESYSTEM -DALLEGRO_STATICLINK -DLINUX_VERSION -DDISABLE_MPEG_AUDIO -DBUILTIN_PLUGINS -DRTLD_NEXT -I/usr/include/freetype2 -I../Engine -I../Common -I../Common/libinclude -I../Plugins

CXXFLAGS = -fno-rtti -Wno-write-strings -fpermissive -O2 -g -fsigned-char -Wfatal-errors -DNDEBUG -DAGS_RUNTIME_PATCH_ALLEGRO -DAGS_HAS_CD_AUDIO -DAGS_CASE_SENSITIVE_FILESYSTEM -DALLEGRO_STATICLINK -DLINUX_VERSION -DDISABLE_MPEG_AUDIO -DBUILTIN_PLUGINS -DRTLD_NEXT -I/usr/include/freetype2 -I../Engine -I../Common -I../Common/libinclude -I../Plugins

LDFLAGS = -Wl,--as-needed

LIBS = -rdynamic -L/usr/lib/x86_64-linux-gnu -lalleg -laldmb -ldumb -Wl,-Bdynamic -ltheora -logg -lvorbis -lvorbisfile -lfreetype -logg -ldl -lpthread -lm -lc -lstdc++

Linking engine...
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make: *** [ags] Error 1
make: Leaving directory `/home/tamsyn/ags/Engine'
#3
Engine Development / Re: AGS engine Linux port
Thu 21/11/2013 08:22:55
Firstly, thanks!.  A lot of work has gone into the Linux port, and it's awesome you're spending so much time on us.  Secondly, I'm going to ask for a little more of your time to (hopefully) help me get it working on my computer.  (roll)

I'm trying to install AGS from the github on Linux Mint.  Kernal Version (if that's helpful) 3.8.0-33-generic #48-Ubuntu x86_64 GNU/Linux
I've tried both techniques (Ubuntu / Debian based (which Mint is), and the more generic Linux instructions) and it errors out with the following message:
Linking engine...
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make: *** [ags] Error 1
make: Leaving directory `/home/username/ags/Engine'


I've tried googling the error but haven't found much, and forcing links (which seems like it might work) hasn't ever worked well, and I'm not sure where to begin, or what I should be linking.  I've tried an apt-cache search for lstdc and haven't found any compatible libraries.

Long story short, I guess I'm asking for help installing AGS as I've reached the end of my problem solving skills.  ???
SMF spam blocked by CleanTalk