Differences between revisions 4 and 5
⇤ ← Revision 4 as of 2008-03-14 04:56:19 →
Size: 1471
Comment:
← Revision 5 as of 2008-04-16 06:51:20 → ⇥
Size: 2017
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from ModularSimulation/Help #pragma section-numbers 2
Line 4: Line 5:
== Matlab does not compile (Windows only) == [[TableOfContents]]

== Compilation problems ==
=== Error when compiling Ptolemy II (Windows only) ===
When running {{{make configPt}}} or when running {{{./configure && make fast install}}} gives the
following error
{{{
/bin/sh: -c: line 1: unexpected EOF while looking for matching `''
/bin/sh: -c: line 4: syntax error: unexpected end of file
}}}
then the source code is most likely with Unix line endings. Download the Windows source
code from the Ptolemy web page.


=== Error when compiling Matlab (Windows only) ===
Line 7: Line 22:
Otherwise, the you may get a compilation error like: If, however, the gcc compiler has been used when compiling the BCVTB,
then the following compilation error may be obtained:

Help

TableOfContents

1. Compilation problems

1.1. Error when compiling Ptolemy II (Windows only)

When running make configPt or when running ./configure && make fast install gives the following error

/bin/sh: -c: line 1: unexpected EOF while looking for matching `''
/bin/sh: -c: line 4: syntax error: unexpected end of file

then the source code is most likely with Unix line endings. Download the Windows source code from the Ptolemy web page.

1.2. Error when compiling Matlab (Windows only)

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:

Writing library for establishBSDSocket.mexw32 
c:\docume~1\mwetter\locals~1\temp\mex_ae679\simulinksocket.obj .text: undefined reference to '_establishclientsocket' 
c:\docume~1\mwetter\locals~1\temp\mex_ae679\simulinksocket.obj .text: undefined reference to '_exchangewithsocket'