How to compile LOVE

TruHobbyist

Member
Jul 27, 2019
41
38
18
The source code for love is available here.

It is written in C++98 and requires:

* raw sockets (on Linux, kernels with AF_PACKET support)
* POSIX threads on UNIX
* NPcap 1.72 on WINDOWS

How to compile love

LINUX:

Code:
# AARCH
g++ -std=c++98 -mabi=lp64 -o love love.cxx -lpthread

Code:
# AMD64
g++ -std=c++98 -m64 -o love love.cxx -lpthread

If you want specific hints on the platforms I used for development and testing, have a look at the ABOUT.TXT documents for each LINUX distribution in contrib.

IRIX:

Code:
# CC -o love love.cxx -lpthread

WINDOWS:

Create a new project in Visual Studio called love and a new file called love.cxx. Copy love's source code into love.cxx in your project. Use a x86 target (32-bit binary), add the Npcap libraries to the link paths and compile (Ctrl+B).

If you want to play with the icon, you have the *.ico here.


Tru
 
  • Like
Reactions: Elf

About us

  • Silicon Graphics User Group (SGUG) is a community for users, developers, and admirers of Silicon Graphics (SGI) products. We aim to be a friendly hobbyist community for discussing all aspects of SGIs, including use, software development, the IRIX Operating System, and troubleshooting, as well as facilitating hardware exchange.

User Menu