I am trying to write a plugin. So before starting plugin development, I tried to compile the existing plugin (v_repExtBubbleRob and v_repExtPluginSkeleton) and tried to see how they work. But it is showing following error-
Code: Select all
ravi@lab:~/V-REP_PRO_EDU_V3_3_2_64_Linux/programming/v_repExtBubbleRob$ make
makefile:13: *** missing separator. Stop.
ravi@lab:~/V-REP_PRO_EDU_V3_3_2_64_Linux/programming/v_repExtBubbleRob$ uname -a
Linux ravi 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
ravi@lab:~/V-REP_PRO_EDU_V3_3_2_64_Linux/programming/v_repExtBubbleRob$ lua -v
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
ravi@lab:~/V-REP_PRO_EDU_V3_3_2_64_Linux/programming/v_repExtPluginSkeleton$ make
makefile:13: *** missing separator. Stop.
Code: Select all
CFLAGS = -I../include -Wall -fPIC -static
OS = $(shell uname -s)
ifeq ($(OS), Linux)
CFLAGS += -D__linux
EXT = so
else
CFLAGS += -D__APPLE__
EXT = dylib
endif
all:
@rm -f lib/*.$(EXT)
@rm -f *.o
g++ $(CFLAGS) -c v_repExtBubbleRob.cpp -o v_repExtBubbleRob.o
g++ $(CFLAGS) -c ../common/scriptFunctionData.cpp -o scriptFunctionData.o
g++ $(CFLAGS) -c ../common/scriptFunctionDataItem.cpp -o scriptFunctionDataItem.o
g++ $(CFLAGS) -c ../common/v_repLib.cpp -o v_repLib.o
@mkdir -p lib
g++ scriptFunctionData.o scriptFunctionDataItem.o v_repExtBubbleRob.o v_repLib.o -o lib/libv_repExtBubbleRob.$(EXT) -lpthread -ldl -shared
I am able to open the scene file (bubbleRobExt.ttt) in V-Rep and it is working properly. But I am not able to compile the source code of plugin.