Do I need CrossBox when building dylib on Island and Darwin?

island
(takepoi) #1

Hi.

When creating a static library with Darwin, the build is completed only with Windows.
But it is an error to build dylib(Library).

Is it impossible to build dylib on Windows only?

0 Likes

(marc hoffman) #2

Island projects should link fine on Windows, yes, only classic Cocoa projects need a CrossBox connection to a Mac to link (for dynamic libraries and executables; static libraries do not need linking).

(a) are you sure tour .dylib project is Island/Darwin and not Cocoa (“Toffee”), and (b) what’s the exact error message you are getting?

0 Likes

(takepoi) #3

(a) Yes. First select the Darwin template.

Next, change Static Library to Library in the project option Binary Type.

And an error occurs by building.

(b)
“() Local CrossBox server is only supported on macOS. Please connect to a Mac CrossBox 2 Server.”
ClassLibrary3
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Darwin.targets
70

There are other things that are bothering me.
Architectures is empty.

I think that i386 / x86_64 (or x86_64 only) should be available as well as other platforms.

Elements version 10.0.0.2385

0 Likes

(marc hoffman) #4

Curious, I will need to look at that.

Can you retry with latest, 2395, just in case?

thanx,
marc

0 Likes

(RemObjects) #5

Thanks, logged as bugs://82400

0 Likes

(takepoi) #6

I tried with version 10.0.0.2395, but the same problem occurs.

0 Likes

(marc hoffman) #7

Ok, thanx for confirming.

0 Likes

(marc hoffman) #8

Should be fixed for the next build. Projects that

  • create an app bundle
  • are set to code-sign
  • contain any resources that need processing (Xib, Storyboard, Asset Catalog, Metal Shader, IntentDefinition) will still need a Mac connection; all other Island/Darwin projects will now build fully locally.
0 Likes