Giter VIP home page Giter VIP logo

Comments (2)

ctaggart avatar ctaggart commented on May 29, 2024

--verbose provides some more details. Not sure if helpful.

PS C:\Users\cameron\fs\embeddinator-4000\tests\Basic> MonoEmbeddinator4000 --verbose --compile --shared bin\Release\ClassLibrary1.dll
Parsing assemblies...
    Parsed 'ClassLibrary1.dll'
Processing assemblies...
    Pass 'MonoManagedToNative.CheckKeywordsPass'
    Pass 'MonoManagedToNative.Passes.FixMethodParametersPass'
    Pass 'MonoManagedToNative.Passes.GenerateObjectTypesPass'
    Pass 'MonoManagedToNative.Passes.GenerateArrayTypes'
    Pass 'CppSharp.Passes.CheckIgnoredDeclsPass'
        Function 'SumByteArray' was ignored due to unsupported decayed type param
    Pass 'MonoManagedToNative.Passes.RenameEnumItemsPass'
    Pass 'MonoManagedToNative.Passes.RenameDuplicatedDeclsPass'
    Pass 'CppSharp.Passes.CheckDuplicatedNamesPass'
Generating binding code...
    Generated: ClassLibrary1.h
    Generated: ClassLibrary1.c
    Generated: glib.c
    Generated: glib.h
    Generated: main.c
    Generated: mono_embeddinator.c
    Generated: mono_embeddinator.h
Compiling binding code...
    Invoking: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe /nologo /DMONO_M2N_DLL_EXPORT -I"C:\Program Files (x86)\Mono\include\mono-2.0" C:\Users\cameron\fs\embeddinator-4000\test
s\Basic\ClassLibrary1.c C:\Users\cameron\fs\embeddinator-4000\tests\Basic\glib.c C:\Users\cameron\fs\embeddinator-4000\tests\Basic\main.c C:\Users\cameron\fs\embeddinator-4000\tests\Basic\mono_embeddin
ator.c "C:\Program Files (x86)\Mono\lib\monosgen-2.0.lib" /LD C:\Users\cameron\fs\embeddinator-4000\tests\Basic\ClassLibrary1
cl : Command line warning D9024 : unrecognized source file type 'C:\Users\cameron\fs\embeddinator-4000\tests\Basic\ClassLibrary1', object file assumed
        ClassLibrary1.c
        glib.c
        main.c
        C:\Users\cameron\fs\embeddinator-4000\tests\Basic\main.c(33): error C2059: syntax error: '}'
        mono_embeddinator.c
        Generating Code...

from embeddinator-4000.

tritao avatar tritao commented on May 29, 2024

Sorry for the delay, was not getting any issue notifications.

I think there's two issues here:

  • MSVC does not like the syntax for the empty initialization of the object in main.c, will change this.
  • main.c should not be included here, it was just an earlier attempt to facilitate bootstrapping of user projects

Will fix these issues.

from embeddinator-4000.

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.