Giter VIP home page Giter VIP logo

Comments (7)

erikzhang avatar erikzhang commented on September 27, 2024

@chenzhitong Can you look into it?

from neo.

aljoscha avatar aljoscha commented on September 27, 2024

I actually have this working on macOS, the problem is that the different NEO projects have net461 (besides netstandard1.6 and sometimes netcoreapp1.0) as TargetFramework and this doesn't work on macOS. For building on the command-line, you can specify -t netstandard1.6 and the projects build. For getting it to work in Visual Studio on Mac you need to remove net461 from the project files.

from neo.

Lopastvertoleta avatar Lopastvertoleta commented on September 27, 2024

@aljoscha Thanks for the answer, now the problem is I can't convert compiled dll to avm for deployment. On Windows this is handled by the plugin, but I couldn't find it for macOS

from neo.

aljoscha avatar aljoscha commented on September 27, 2024

I uploaded the changes to make Neo.Sandbox work on macOS on my fork: https://github.com/aljoscha/Neo.Sandbox. You can look at https://github.com/aljoscha/Neo.Sandbox/blob/master/src/Testbox/Test_HelloWorld.cs and https://github.com/aljoscha/Neo.Sandbox/blob/master/src/Testbox/Utilities/ExecutionHelper.cs. There you see how a dll is converted to AVM and also how it's executed for testing.

from neo.

Sajjon avatar Sajjon commented on September 27, 2024

Is there any guide for developing smart contracts using Kotlin on macOS?

from neo.

notatestuser avatar notatestuser commented on September 27, 2024

@Sajjon I used macOS to develop the contracts for my dApp in Kotlin. You could strip out my code and work from it as a starting point: https://github.com/notatestuser/chainline-contracts-kt

from neo.

beshogun avatar beshogun commented on September 27, 2024

I just went through the city of Zion https://www.youtube.com/watch?v=2EYK1ogr5i4 guide a few times and keep getting this build error,

Bens-MBP:target ben$ dotnet /Users/ben/neo-compiler/neoj/bin/Release/netcoreapp1.1/neoj.dll /Users/ben/Downloads/neoj_osx/HelloWorld.class
Neo.Compiler.JVM console app v2.0.3.0
Convert Error:System.IO.FileNotFoundException: Could not find file '/Users/ben/Downloads/neoj_osx/HelloWorld.class'.

I notice that when the video calls the command -
dotnet /Users/ben/neo-compiler/neoj/bin/Release/netcoreapp1.1/neoj.dll /Users/ben/Downloads/neoj_osx/HelloWorld.class

the error message which is inputed later diverges from my message it comes out as /usr/local/share/dotnet/org.neo.smartcontract.framework.jar

Im going round and round with this and can't seem to get it converting, any thoughts appreciated?

from neo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.