program doesn't run

HomeForumsMonoBrick EV3 Firmwareprogram doesn't run

This topic contains 7 replies, has 3 voices, and was last updated by Author Image Helmut Wunder 3 years, 3 months ago.

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 3 years, 3 months ago by Author Image Helmut Wunder.
    Attachments:
    You must be logged in to view attached files.
    #4312
    Author Image
    Anders Søborg
    Key Master

    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
    Key Master

    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 3 years, 3 months ago by Author Image Helmut Wunder.
    #4326
    Author Image
    Anders Søborg
    Key Master

    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 !!! :D
    now that the monobricks.dll is in the SDCard apps folder it works!! Thank you! :D :D

    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