Page 1 of 1

fatal error related to matlab box

Posted: Thu Sep 12, 2013 1:20 pm
by mdv
hi all

i try to compile the latest source code, but get the fatal error U1077, which according the the forum can be solved by disabling the matlab box in the win32-init-env-command.cmd file.
if i open this file, there is only

@echo off

REM ########################################################################################################################

if exist "win32-dependencies.cmd" (
call "win32-dependencies.cmd"
) else (
echo ERROR: win32-dependencies.cmd not found. Has the dependency installer been run?
goto terminate

)

REM ########################################################################################################################

SET VSTOOLS=
SET VSCMake=

if exist "%VS100COMNTOOLS%vsvars32.bat" (
echo Found VS100 tools...
CALL "%VS100COMNTOOLS%vsvars32.bat"
SET VSCMake=Visual Studio 10
) else if exist "%VS90COMNTOOLS%vsvars32.bat" (
echo Found VS90 tools...
CALL "%VS90COMNTOOLS%vsvars32.bat"
SET VSCMake=Visual Studio 9 2008
) else (
echo ######################################################################################
echo ## ##
echo ## ERROR : Microsoft Visual Studio Common tools initialisation script not found ##
echo ## ##
echo ######################################################################################
goto terminate
)

REM #######################################################################################

:terminate




so apparently , i should remove the matlab box compilation somewhere else ... does someone know where i can find it?
thanks
maarten

Re: fatal error related to matlab box

Posted: Thu Sep 12, 2013 1:32 pm
by jtlindgren
Hi mdv,

with the more recent OpenViBE versions, e.g. 0.16.0+, there's a few ways.

1) Easy and dirty way to remove a plugin is just to delete the directory subtree and make a clean build. In this case, delete the folder

plugins/processing/matlab/

2) A more advanced way is to add the following to the root level CMakeLists.txt

SET(SKIP_PLUGINS_PROCESSING_MATLAB "1")


Hope this helps,
Jussi

Re: fatal error related to matlab box

Posted: Thu Sep 12, 2013 2:09 pm
by mdv
solution 1 was successful
thanks!
maarten