I hope wine gets a mesa3d like thing for mac

Questions about Wine on macOS.
Locked
mgracer48
Level 1
Level 1
Posts: 7
Joined: Sat Nov 15, 2014 4:23 am

I hope wine gets a mesa3d like thing for mac

Post by mgracer48 » Sun Nov 16, 2014 1:35 pm

I mean seriously why does linux get the good stuff why didnt they make mesa3d compatiable with mac :(

mgracer48
Level 1
Level 1
Posts: 7
Joined: Sat Nov 15, 2014 4:23 am

Re: I hope wine gets a mesa3d like thing for mac

Post by mgracer48 » Mon Nov 17, 2014 4:49 am

Has anyone got it compiled on mac?

doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: I hope wine gets a mesa3d like thing for mac

Post by doh123 » Mon Nov 17, 2014 9:33 am

??????

X11/XQuartz on the Mac does use Mesa … can you be more specific?

mgracer48
Level 1
Level 1
Posts: 7
Joined: Sat Nov 15, 2014 4:23 am

Re: I hope wine gets a mesa3d like thing for mac

Post by mgracer48 » Mon Nov 17, 2014 2:09 pm

Yea and how do i compile mesa3d for mac?
Or what im trying to say im trying to get gallium nine mesa3d for my mac

doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: I hope wine gets a mesa3d like thing for mac

Post by doh123 » Mon Nov 17, 2014 7:31 pm

no idea what gallium nine is… some fork off Mesa? some Mesa library? If its just custom Mesa code, you can always try building Mesa and XQuartz for it easiest just using the build options in Macports. Like sometimes I do custom builds, and add a local repo of code for certain libraries, like Mesa, then let it build everything.

mgracer48
Level 1
Level 1
Posts: 7
Joined: Sat Nov 15, 2014 4:23 am

Re: I hope wine gets a mesa3d like thing for mac

Post by mgracer48 » Tue Nov 18, 2014 12:28 pm

can someone help me
got an error compiling depedency for mesa3d
code is :

Code: Select all

#elif defined(__APPLE__) /* Mac OS X */
#include <machine/endian.h>
#define	LETOH_16(x)	OSSwapLittleToHostInt16(x)
#define	HTOLE_16(x)	OSSwapHostToLittleInt16(x)
#define	LETOH_32(x)	OSSwapLittleToHostInt32(x)
#define	HTOLE_32(x)	OSSwapHostToLittleInt32(x)
pciaccess
:

Code: Select all

common_init.c:101:10: warning: 'pci_device_unmap_region' is deprecated
      [-Wdeprecated-declarations]
                (void) pci_device_unmap_region( & pci_sys->devices[i].base, j );
                       ^
../include/pciaccess.h:88:18: note: 'pci_device_unmap_region' has been
      explicitly marked deprecated here
int __deprecated pci_device_unmap_region(struct pci_device *dev,
                 ^
1 warning generated.
  CC       common_interface.lo
common_interface.c:524:13: error: implicit declaration of function
      'OSSwapLittleToHostInt16' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
    *data = LETOH_16( *data );
            ^
common_interface.c:72:21: note: expanded from macro 'LETOH_16'
#define LETOH_16(x)     OSSwapLittleToHostInt16(x)
                        ^
common_interface.c:540:13: error: implicit declaration of function
      'OSSwapLittleToHostInt32' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
    *data = LETOH_32( *data );
            ^
common_interface.c:74:21: note: expanded from macro 'LETOH_32'
#define LETOH_32(x)     OSSwapLittleToHostInt32(x)
                        ^
common_interface.c:540:13: note: did you mean 'OSSwapLittleToHostInt16'?
common_interface.c:74:21: note: expanded from macro 'LETOH_32'
#define LETOH_32(x)     OSSwapLittleToHostInt32(x)
                        ^
common_interface.c:524:13: note: 'OSSwapLittleToHostInt16' declared here
    *data = LETOH_16( *data );
            ^
common_interface.c:72:21: note: expanded from macro 'LETOH_16'
#define LETOH_16(x)     OSSwapLittleToHostInt16(x)
                        ^
common_interface.c:606:27: error: implicit declaration of function
      'OSSwapHostToLittleInt16' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
    const uint16_t temp = HTOLE_16(data);
                          ^
common_interface.c:73:21: note: expanded from macro 'HTOLE_16'
#define HTOLE_16(x)     OSSwapHostToLittleInt16(x)
                        ^
common_interface.c:623:27: error: implicit declaration of function
      'OSSwapHostToLittleInt32' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
    const uint32_t temp = HTOLE_32(data);
                          ^
common_interface.c:75:21: note: expanded from macro 'HTOLE_32'
#define HTOLE_32(x)     OSSwapHostToLittleInt32(x)
                        ^
common_interface.c:623:27: note: did you mean 'OSSwapHostToLittleInt16'?
common_interface.c:75:21: note: expanded from macro 'HTOLE_32'
#define HTOLE_32(x)     OSSwapHostToLittleInt32(x)
                        ^
common_interface.c:606:27: note: 'OSSwapHostToLittleInt16' declared here
    const uint16_t temp = HTOLE_16(data);
                          ^
common_interface.c:73:21: note: expanded from macro 'HTOLE_16'
#define HTOLE_16(x)     OSSwapHostToLittleInt16(x)
                        ^

doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: I hope wine gets a mesa3d like thing for mac

Post by doh123 » Tue Nov 18, 2014 1:33 pm

The only errors I see are the ones preventing your compile because it doesn't meet C99 standards. You can edit the code to fix this, or you can set your compiler to ignore C99 … I don't recall the exact way to do that, and its different depending what compiler your using I'd assume.

Locked