radarsat1 / liblo

liblo is an implementation of the Open Sound Control protocol for POSIX systems
GNU Lesser General Public License v2.1
192 stars 60 forks source link

Windows build failing #133

Closed bboettcher3 closed 2 years ago

bboettcher3 commented 2 years ago

The Windows cmake builds were failing since this commit due to the addition of PRIVATE in the target_link_libraries() commands. Those errors were fixed, but I'm seeing new errors now in address.c and send.c.

Thanks!

bboettcher3 commented 2 years ago

@radarsat1 The current build errors for windows can be seen here, and are copied below.

D:\a\mapper-max-pd\mapper-max-pd\build\libmapper\libmapper-2.3\build\liblo\liblo-master\src\address.c(196,26): error C2037: left of 'sun_path' specifies undefined struct/union 'sockaddr_un' [D:\a\mapper-max-pd\mapper-max-pd\build\libmapper\libmapper-2.3\build\liblo\liblo-master\cmake\build\liblo.vcxproj]
D:\a\mapper-max-pd\mapper-max-pd\build\libmapper\libmapper-2.3\build\liblo\liblo-master\src\address.c(196,19): error C2198: 'strdup': too few arguments for call [D:\a\mapper-max-pd\mapper-max-pd\build\libmapper\libmapper-2.3\build\liblo\liblo-master\cmake\build\liblo.vcxproj]
D:\a\mapper-max-pd\mapper-max-pd\build\libmapper\libmapper-2.3\build\liblo\liblo-master\src\send.c(516,32): error C2079: 'saddr' uses undefined struct 'sockaddr_un' [D:\a\mapper-max-pd\mapper-max-pd\build\libmapper\libmapper-2.3\build\liblo\liblo-master\cmake\build\liblo.vcxproj]
D:\a\mapper-max-pd\mapper-max-pd\build\libmapper\libmapper-2.3\build\liblo\liblo-master\src\send.c(519,19): error C2224: left of '.sun_family' must have struct/union type [D:\a\mapper-max-pd\mapper-max-pd\build\libmapper\libmapper-2.3\build\liblo\liblo-master\cmake\build\liblo.vcxproj]
D:\a\mapper-max-pd\mapper-max-pd\build\libmapper\libmapper-2.3\build\liblo\liblo-master\src\send.c(520,27): error C2224: left of '.sun_path' must have struct/union type [D:\a\mapper-max-pd\mapper-max-pd\build\libmapper\libmapper-2.3\build\liblo\liblo-master\cmake\build\liblo.vcxproj]
D:\a\mapper-max-pd\mapper-max-pd\build\libmapper\libmapper-2.3\build\liblo\liblo-master\src\send.c(520,59): error C2224: left of '.sun_path' must have struct/union type [D:\a\mapper-max-pd\mapper-max-pd\build\libmapper\libmapper-2.3\build\liblo\liblo-master\cmake\build\liblo.vcxproj]
D:\a\mapper-max-pd\mapper-max-pd\build\libmapper\libmapper-2.3\build\liblo\liblo-master\src\send.c(520,13): error C2198: 'strncpy': too few arguments for call [D:\a\mapper-max-pd\mapper-max-pd\build\libmapper\libmapper-2.3\build\liblo\liblo-master\cmake\build\liblo.vcxproj]
D:\a\mapper-max-pd\mapper-max-pd\build\libmapper\libmapper-2.3\build\liblo\liblo-master\src\send.c(522,124): error C2027: use of undefined type 'sockaddr_un' [D:\a\mapper-max-pd\mapper-max-pd\build\libmapper\libmapper-2.3\build\liblo\liblo-master\cmake\build\liblo.vcxproj]
bboettcher3 commented 2 years ago

Seems to be fixed with your most recent commits, closing :)