Open roscopecoltran opened 7 years ago
Hi, again :) Unfortunately, like you've guessed I haven't added support to Apple's MacOS, yet. I'll be adding that for sure and if you need it I'll try to add it as soon as I can because right now I'm quite busy at work. Like I said, if you need it soon I'll find the time to add it sooner :)
Thanks for the quick reply !
I am using only a Mac, so if I want to go further, it would awesome to get Apple support handled. :-)
I cannot compile CppPlugGen too: error:
==== Building CppSharp.Runtime (release) ====
==== Building CppSharp.CppParser (release) ====
==== Building CppSharp.Parser.CSharp (release) ====
make: Circular CppSharp <- CppSharp dependency dropped.
make: Circular CppSharp.Generator <- CppSharp dependency dropped.
==== Building CppSharp.AST (release) ====
make: Circular CppSharp.Parser <- CppSharp dependency dropped.
==== Building CppSharp.Parser (release) ====
make[1]: *** No rule to make target `../lib/CppSharp.dll', needed by `../lib/CppSharp.Parser.dll'. Stop.
make: *** [CppSharp.Parser] Error 2
build commands used:
git clone --recursive --depth=1 https://github.com/zillemarco/CppPlugGen ~/CppPlugGen
cd ~/CppPlugGen
[LLVM is downloaded and extracted...]
CppSharp/build/premake5-osx --file=premake5.lua gmake
config=release make -C build
My Mono VM is 32-bit, so to CppSharp, for example, I use: config=release_x32 make -C gmake
Yeah, CppPlugGen doesn't support Apple too unfortunately. By the way, you should check out CppSharp, more specifically CppSharp's command line interface (CppSharp.CLI) because that is what CppPlugGen has become. I'm currently working on making CppSharp.CLI compatible with Apple, so once I've finished it I'll make CppPlug Apple-compatible too (I need CppSharp.CLI to make CppPlug support .NET plugins).
Hi,
Again :-) Hope you are all well !
I used polly for passing a toolchain (repo: https://github.com/ruslo/polly), and changed the path $MONO_ROOT to use Unity3D's Mono 2.0 framework (build environment: Apple)
It triggers the an error due to ManagedCalculator target not being defined. Please see below, the details of the build setup.
To fix it, i added the following in ./tests/ManagedCalculator/CMakeLists.txt
but it triggers a missing dependency target error.
And, after some hacks and tests, too lengthy to explain, I got a series of error related to some mono constants not defined (eg. MONO_DEFAULT_DOMAIN_NAME, MONO_DEFAULT_ASSEMBLY_DIR,...).
My assumption is that Apple MacOSX build env are not covered and tested yet.
3rdparty installed:
install polly:
**default build command***
build command with Polly:
My changes:
CMakeLists.txt used:
It would be awesome to get it work on Apple machines and to hook additional task to CppPlug as I mentioned in this issue.
Have a great week end ! :--)
Richard