How to compile LOVE
#1
How to compile LOVE
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
TruHobbyist
Developer

Trade Count: (0)
Posts: 195
Threads: 21
Joined: May 2018
Find Reply
01-30-2023, 11:09 PM


Messages In This Thread
How to compile LOVE - by TruHobbyist - 01-30-2023, 11:09 PM
RE: How to compile LOVE - by Raion - 01-30-2023, 11:32 PM
RE: How to compile LOVE - by TruHobbyist - 01-31-2023, 08:22 AM
RE: How to compile LOVE - by hamei - 01-31-2023, 11:08 AM
RE: How to compile LOVE - by vishnu - 02-01-2023, 08:31 AM
RE: How to compile LOVE - by hamei - 02-01-2023, 02:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)