program doesn't run

HomeForumsMonoBrick EV3 Firmwareprogram doesn't run

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #4300
    Author Image
    Helmut Wunder
    Participant

    the following program has been compiled bei VC# and was copied directly to the apps folder on the SD card in the PC.

    It’s shown in the Mono/Programs menu, but when started,
    it doesn’t show anything except the Mono Icon on the ev3 and then immediately terminates:

    using System;
    using MonoBrickFirmware;
    using MonoBrickFirmware.Display;
    namespace HelloWorld
    {
        class MainClass
        {
            public static void Main(string[] args)
            {
                LcdConsole.WriteLine("Hello World!");
                System.Threading.Thread.Sleep(10000);
            }
        }
    }

    what’s wrong?

    ps
    another user reported:
    if copied directly to the SD card it also doesn’t run for him
    but if copied by Wifi then it runs though.

    But I have no Wifi, no LAN, no BT.

    • This topic was modified 10 years, 7 months ago by Author ImageHelmut Wunder.
    Attachments:
    You must be logged in to view attached files.
    #4312
    Author Image
    Anders Søborg
    Keymaster

    Hi

    This problem has been solved – but not in the current release… you will have to wait for the next release.

    Anders

    #4313
    Author Image
    Helmut Wunder
    Participant

    how can this be possible?
    no running if copied directly, but running when sent by WiFi…:?:

    any workarounds…?

    #4314
    Author Image
    Anders Søborg
    Keymaster

    Hi

    Programs send over WiFi are located on a EX3 partition (the Linux operating system). When you copy it is stored on the FAT32 partition that is mounted when the OS boots

    any workarounds…?

    Wait for the next release or get yourself a WiFi device 🙂

    #4315
    Author Image
    Helmut Wunder
    Participant

    dare I ask…: did you – maybe – already … aahm … think about … well … sort of a – *clear throat* – bugfix – *cough* – pre-release…? 😉

    • This reply was modified 10 years, 7 months ago by Author ImageHelmut Wunder.
    #4326
    Author Image
    Anders Søborg
    Keymaster

    Hi

    You will have to wait a few days. I am working as hard as I can to test everything…

    Anders

    #4352
    Author Image
    Raffaele Aldrigo
    Participant

    I had the same problem but I solved!
    SIMPLY COPY THE DLL TO THE APP FOLDER!!!

    #4353
    Author Image
    Helmut Wunder
    Participant

    the dll is already correctly linked by visual studio 2010
    so copy the dll into what app folder exactly?

    EDIT 1:

    Or do you mean: copy the dll to the SDcard apps folder ???

    EDIT 2: yes !!! 😀
    now that the monobricks.dll is in the SDCard apps folder it works!! Thank you! 😀 😀

    Attachments:
    You must be logged in to view attached files.
Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Posted in

Make a donation