chaosforgeorg / fpcvalkyrie

FPC Valkyrie library
MIT License
26 stars 18 forks source link

Build instructions? #2

Open mdeguzis opened 7 years ago

mdeguzis commented 7 years ago

How do you compile this? Sorry for being a bit naive, since I have not built pascal projects before. I saw scripts/lua_make.lua, but lua makefile.lua only detects Linux as the OS then exits. If this should be a separate issue, that is fine, but I know this is a very early dump of the code. Maybe the assumption is, like doomrl, the instructions will be posted after the Kickstarter project concludes.

I'm sorry to be "that guy," but someone was bound to ask at some point.

epyon commented 7 years ago

FreePascal doesn't have the concept of building libraries, so you basically compile it alongside DoomRL. Will update after KS!

subtract1 commented 7 years ago

I can give you a quick starter geared for 'I've never dealt with Pascal before'. It's not a guide but I have built it on Windows (and failed to build on Linux but that looks like a compiler bug).

mdeguzis commented 7 years ago

@subtract1 , thank you, i'll check out the IDE. Is there a CLI-equivalent?

Cross your fingers

I like the way you think. Anyway, my end goal is to host packages for SteamOS/Debian/Ubuntu when time allows (private repos, not upstream-sanctioned). I think there is a PR in doomrl to fix the compile issue.

Edit: I see lazarus is in most distro's repositories. I'll play around with it soon.

fpc - the Compiler, some command line tools, base units and non visual components like database access fpcsrc - the sources of fpc and its packages, needed for code browsing lazarus-project - the IDE, visual components and help files

subtract1 commented 7 years ago

@mdeguzis

Yes you can use fpc directly. And yes it is in most distros but I was NOT able to compile it myself--got an internal error. Internal errors in fpc as I understand them are compiler bugs; can't do much about that.