[vwnc] [MacOSX] DLL-C examples

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] [MacOSX] DLL-C examples

Rob Vens-2
I am trying to compile the dllcc test suites for Mac OS X. Using make
with the provided makefiles I get all kinds of errors. Can someone
direct me in taking the steps to create a vector.dylib on Mac OS X?
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [MacOSX] DLL-C examples

Andre Schnoor

Am 25.10.2009 um 14:44 schrieb Rob Vens:

> I am trying to compile the dllcc test suites for Mac OS X. Using make
> with the provided makefiles I get all kinds of errors. Can someone
> direct me in taking the steps to create a vector.dylib on Mac OS X?

Frameworks are the default and recommended way to supply dynamic  
libraries on the Mac. You might want to create a framework using  
XCode, which has templates for this (File >> New >> ... follow the  
wizzard). Anyone interested in building libraries for VW would  
probably go this way, as a framework is easy to deploy as part of an  
app bundle.

Andre

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [MacOSX] DLL-C examples

jsarkela
In reply to this post by Rob Vens-2
If you include the errors, it is easier to diagnose the situation. I  
suspect that the first error reported is,
        vector.c:14:19: error: oeAPI.h: No such file or directory
The subsequent errors are a  consequence of the header file not being  
found.

Either copy $(VISUALWORKS)/dllcc/src/oeAPI.h to your build directory,  
or add an include flag to the CFLAGS in the makefile that points to  
your $(VISUALWORKS)/dllcc/src directory.

John Sarkela

On Oct 25, 2009, at 9:44 AM, Rob Vens wrote:

>
> I am trying to compile the dllcc test suites for Mac OS X. Using make
> with the provided makefiles I get all kinds of errors. Can someone
> direct me in taking the steps to create a vector.dylib on Mac OS X?

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc