Re: [SOLVED] Problems with -dyld_file ld option
Re: [SOLVED] Problems with -dyld_file ld option
- Subject: Re: [SOLVED] Problems with -dyld_file ld option
- From: Brian Arnold <email@hidden>
- Date: Thu, 22 May 2008 16:50:10 -0400
Hi David,
To link against MATLAB libraries, all you should need is the -L path
to bin/maci, -undefined suppress and -flat_namespace, and run using
DYLD_LIBRARY_PATH set to bin/maci. FWIW, R2007b and R2008a use
@loader_path in most library install_names, which trades issues like
the ones described here for others.
What is the context in which you're needing to tweak the library
install_names? Are you integrating MATLAB libraries via ENG (MEX
engopts.sh, an application which uses MATLAB as an engine), MAT (MEX
matopts.sh, an application which reads and/or writes MAT files),
MATLAB Compiler (an application which uses the MATLAB Common Runtime),
or something else entirely?
Are you building completely from within Xcode, and not from inside
MATLAB or using a shell command (mex or mcc)? If the former, we'd
like to collect your thoughts on what support you might like to see in
MATLAB Xcode project templates (please reply offline). Thanks,
- Brian
Mac Developer
The MathWorks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden