{"action":"created","issue":{"url":"https://api.github.com/repos/fredvs/mselang/issues/1","repository_url":"https://api.github.com/repos/fredvs/mselang","labels_url":"https://api.github.com/repos/fredvs/mselang/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/fredvs/mselang/issues/1/comments","events_url":"https://api.github.com/repos/fredvs/mselang/issues/1/events","html_url":"https://github.com/fredvs/mselang/issues/1","id":395076190,"node_id":"MDU6SXNzdWUzOTUwNzYxOTA=","number":1,"title":"Error when trying to compile mselang under Windows","user":{"login":"rchastain","id":13957204,"node_id":"MDQ6VXNlcjEzOTU3MjA0","avatar_url":"https://avatars3.githubusercontent.com/u/13957204?v=4","gravatar_id":"","url":"https://api.github.com/users/rchastain","html_url":"https://github.com/rchastain","followers_url":"https://api.github.com/users/rchastain/followers","following_url":"https://api.github.com/users/rchastain/following{/other_user}","gists_url":"https://api.github.com/users/rchastain/gists{/gist_id}","starred_url":"https://api.github.com/users/rchastain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rchastain/subscriptions","organizations_url":"https://api.github.com/users/rchastain/orgs","repos_url":"https://api.github.com/users/rchastain/repos","events_url":"https://api.github.com/users/rchastain/events{/privacy}","received_events_url":"https://api.github.com/users/rchastain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2019-01-01T11:47:42Z","updated_at":"2019-01-05T16:42:35Z","closed_at":null,"author_association":"COLLABORATOR","body":"Hello Fred!\r\n\r\nI try to compile the mselang under Windows, using MSEide. I get the following error:\r\n\r\n> Free Pascal Compiler version 3.0.4 [2017/10/06] for i386\r\n> \r\n> Copyright (c) 1993-2017 by Florian Klaempfl and others\r\n> Target OS: Win32 for i386\r\n> Compiling mselang.pas\r\n> Compiling C:\\MSEide\\msegui\\lib\\common\\kernel\\msegui.pas\r\n> ...\r\n> Compiling globtypes.pas\r\n> globtypes.pas(21,2) Fatal: Can't find unit __mla__internaltypes used by globtypes\r\n> Fatal: Compilation aborted\r\n\r\nWould you have an idea of the problem?\r\n\r\nRegards.\r\n\r\nRoland"},"comment":{"url":"https://api.github.com/repos/fredvs/mselang/issues/comments/451670232","html_url":"https://github.com/fredvs/mselang/issues/1#issuecomment-451670232","issue_url":"https://api.github.com/repos/fredvs/mselang/issues/1","id":451670232,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTY3MDIzMg==","user":{"login":"fredvs","id":3421249,"node_id":"MDQ6VXNlcjM0MjEyNDk=","avatar_url":"https://avatars2.githubusercontent.com/u/3421249?v=4","gravatar_id":"","url":"https://api.github.com/users/fredvs","html_url":"https://github.com/fredvs","followers_url":"https://api.github.com/users/fredvs/followers","following_url":"https://api.github.com/users/fredvs/following{/other_user}","gists_url":"https://api.github.com/users/fredvs/gists{/gist_id}","starred_url":"https://api.github.com/users/fredvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredvs/subscriptions","organizations_url":"https://api.github.com/users/fredvs/orgs","repos_url":"https://api.github.com/users/fredvs/repos","events_url":"https://api.github.com/users/fredvs/events{/privacy}","received_events_url":"https://api.github.com/users/fredvs/received_events","type":"User","site_admin":false},"created_at":"2019-01-05T16:42:35Z","updated_at":"2019-01-05T16:42:35Z","author_association":"OWNER","body":"Hello Roland.\r\n\r\nExcellent that all compile ok.\r\nI use ideU is more easy for cross/polly compilation.\r\n\r\nYou may see with previous picture that it mselang.exe works with wine (Windows emulator).\r\n\r\nBut on Windows 10, that I just try now, mselang.exe run but the compilation of a simple hello world fail.\r\nI did not try mlc.exe yet on Windows 10.\r\n\r\nOn linux I works like this:\r\nWith ideU I did assign with menu-Settings-Compiler mlc.exe as compiler number 2.\r\n(fpc is assigned as compiler 1.)\r\n\r\nAnd now for all my projects there is in Project-Options a option that uses compiler 2 (mlc).\r\n\r\nmlc compiler produces a mli file that can be interpreted with mli interpreter.\r\n\r\nWhen all compiles ok and the mli file is correctly interpreted, I use MSElang.exe to link the bc file created to get the working executable.\r\n\r\nI would prefer that mlc produce a bc file instead of a mli file.\r\n\r\nbc files can be managed with clang or gcc or llvm-link to produce the executable.\r\nmli files can be interpreed but, afaik cannot be linked.\r\n\r\nMaybe mlc.exe can produce also a bc file using a special parameter but I did not find how.\r\n\r\nSo, to resume, I use ideU + mlc to test/debug the mli file.\r\nWhen all is ok, I use MSElang to compile + link the bc file (MSElang can produve a bc file).\r\n\r\nFre;D\r\n\r\n\r\n"}}
{"actor":{"display_login":"fredvs"}}