Code: Select all
2) Build:
- change directory to openEMS
- build:
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=<path/to/install/> -DFPARSER_ROOT_DIR=<path/to/fparser> -DCSXCAD_ROOT_DIR=<path/to/CSXCAD>
make
make install (may require root)
Next I tried the instructions at http://openems.de/index.php/OpenEMS#Installation. Those seem to build and install ok, but when I try the http://openems.de/index.php/Tutorial:_First_Steps tutorial, I get the following from Octave:
Code: Select all
>> InitCSX
error: 'InitCSX' undefined near line 1 column 1
>> addpath("~/opt/openEMS/share/openEMS/matlab")
>> InitCSX
error: 'InitCSX' undefined near line 1 column 1
>> setup
setting up openEMS matlab/octave interface
error: 'isOctave' undefined near line 17 column 4
error: called from
setup at line 17 column 1
>> isOctave = 1
isOctave = 1
>> setup
setting up openEMS matlab/octave interface
error: 'isOctave' undefined near line 17 column 4
error: called from
setup at line 17 column 1
>>
Thanks,
Matt