Page 1 of 1

How to build server target

Posted: Wed Nov 29, 2017 1:40 pm
by Ben Creitz
Sorry for the basic question. I have cloned the source and would like to know how to build the server target.

Re: How to build server target

Posted: Wed Nov 29, 2017 3:54 pm
by livecodeali
Hi Ben,
What platform are you building on?

Re: How to build server target

Posted: Thu Nov 30, 2017 3:07 am
by Ben Creitz
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.

Re: How to build server target

Posted: Fri Dec 01, 2017 1:22 pm
by livecodeali
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.