Size: 5519
Comment:
|
Size: 7772
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 85: | Line 85: |
=== Running the BCVTB on Mac OS X version 10.11 === Apple has enabled a new default security oriented featured called System Integrity Protection, often called rootless, in OS X 10.11 onwards. This new feature prevents the BCVTB to set environment variables which are required for the BCVTB to run. To circumvent these problems copy the {{{libbcvt.dylib}}} which in in {{{bcvtb/lib/util}}} to {{{/usr/local/lib}}} with {{{sudo cp bcvtb/lib/util/libbcvt.dylib /usr/local/lib}}} Next, check if a !HostName is set on your machine. This can be done by typing in a terminal {{{scutil --get HostName}}} If there's no !HostName set, then set your !HostName. Your !HostName must be the same as your computer's local network name. To find out your computer's local network name, Open Sharing preferences (choose Apple menu > System Preferences, then click Sharing). The local network name is displayed beneath the computer’s name at the top of the pane. The local network name is your computer’s name with “.local” added, and any spaces are replaced with hyphens . For example, if your computer’s name is My Computer, your local network name is “My-Computer.local.” Set your !HostName with: {{{sudo scutil --set HostName 'YourLocalNetworkName'}}} |
|
Line 128: | Line 158: |
=== Java cannot find VergilApplication === If running{{{ bin/bcvtb examples/c-room/system.xml }}} causes the following error{{{ Exception in thread "main" java.lang.NoClassDefFoundError: ptolemy/vergil/VergilApplication Caused by: java.lang.ClassNotFoundException: ptolemy.vergil.VergilApplication }}} then the system environment variable {{{PTII}}} is set to a directory that does not contain a Ptolemy II installation. This may happen if a user installed !OpenModelica, as !OpenModelica sets the PTII variable. To fix this error, proceed as follows: * on Windows, add the line{{{ <entry key="PTII">$BCVTB_HOME\lib\ptII</entry>}}} to the file {{{bin\systemVariables-windows.properties}}} in the BCVTB home directory. * on Linux or Mac, add the line{{{ <entry key="PTII">$BCVTB_HOME/lib/ptII</entry>}}} to the file {{{bin/systemVariables-linux.properties}}} or {{{bin/systemVariables-mac.properties}}} in the BCVTB home directory. |
Help
Contents
For questions that are not addressed here or in the manual, send email to https://groups.google.com/group/bcvtb
1. Compilation problems
1.1. Error when compiling MATLAB
1.1.1. Windows
Under Windows, if the BCVTB is compiled using the Microsoft compiler, then the MATLAB libraries also need to be compiled with the Microsoft compiler. If, however, the gcc compiler has been used when compiling the BCVTB, then the following compilation error may be obtained when compiling the MATLAB libraries:
Writing library for establishBSDSocket.mexw32 c:\docume~1\mwetter\locals~1\temp\mex_ae679\simulinksocket.obj .text: undefined reference to '_establishclientsocket'