Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Forum
Search
Topic Gosu and automake By mstahl Date 2016-05-22 21:46
Huh. That worked! Today I learned pkg-config is a thing. Thanks.

Is a system-wide installation of gosu considered to be best practice? How can I distribute the gosu dynamic libraries with my project when I ship it?
Topic Gosu and automake By mstahl Date 2016-05-21 00:21
I'm having trouble getting Gosu to link properly into my project, which uses automake to generate makefiles.

I checked out gosu to /ext/gosu in my project folder, and followed the instructions to build it. I built it successfully and it installed a libgosu.so file. Is it even possible to statically compile gosu into a project?

I've been unsuccessful at pointing automake to either a systemwide gosu installation or this vendored in one in /ext. I've tried setting LDFLAGS to -L./ext/gosu -lgosu and every combination thereof to no avail. Sorry if this is a super n00bish question; I haven't programmed C++ in years and automake is a whole new thing to me.

If someone could even put the simple Gosu C++ tutorial code into context with a file structure and automake and everything, that would be extremely helpful.

Thanks in advance y'all.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill