How to build server target

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, LCMark

Post Reply
Ben Creitz
Posts: 2
Joined: Mon Aug 26, 2013 6:49 pm

How to build server target

Post by Ben Creitz » Wed Nov 29, 2017 1:40 pm

Sorry for the basic question. I have cloned the source and would like to know how to build the server target.

livecodeali
Livecode Staff Member
Livecode Staff Member
Posts: 128
Joined: Thu Apr 18, 2013 2:48 pm

Re: How to build server target

Post by livecodeali » Wed Nov 29, 2017 3:54 pm

Hi Ben,
What platform are you building on?

Ben Creitz
Posts: 2
Joined: Mon Aug 26, 2013 6:49 pm

Re: How to build server target

Post by Ben Creitz » Thu Nov 30, 2017 3:07 am

I am building (want to be building, rather) on Linux. If I just run make from the top level, I eventually run into a dependency issue regarding lcms:

../../engine/src/lnxcolor.cpp:26:10: fatal error: lcms.h: No such file or directory
#include "lcms.h"
^~~~~~~~

I could try to work through the dependency, but what I ultimately want to know is whether it's possible just to build the server component rather than the whole thing.

livecodeali
Livecode Staff Member
Livecode Staff Member
Posts: 128
Joined: Thu Apr 18, 2013 2:48 pm

Re: How to build server target

Post by livecodeali » Fri Dec 01, 2017 1:22 pm

It should work if you do

Code: Select all

make config-linux
make -C build-linux-x86_64/livecode server
or

Code: Select all

make -C build-linux-x86/livecode server
if you are on 32-bit.

You will need to install liblcms-dev to resolve that build error.

Post Reply

Return to “Engine Contributors”