-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I just got started with mbeddr.cpp and got it setup so far. When making a minimal example with just a build config and a c++ implementation module containing a main function, I get errors about the module self-referencing:
[jetbrains.mps.make.ModuleMaker] Cycle #1: [[CPPTest [solution]]]
make: Circular Module.cpp <- Module.cpp dependency dropped.
CC Module.h
LD helloworld
g++: fatal error: no input files
compilation terminated.
The equivalent setup for mbeddr C works fine. I’m using mbeddr.cpp 0.2.1 with MPS 2020.3 and the last mbeddr release supporting it (Nighly Build 718). Content of the two files:
BuildConfiguration (CPPTest)
------------------------------
Platform
------------------------------
GNU paths are not checked
make
path to executable: make
parallel processes: 15 (default)
compiler
path to executable: g++
compiler options: -std=c++14
linker
path to executable: g++
linker options: <no linkerOptions>
debugger
path to executable: gdb
debug options: -g
Configuration Items
------------------------------
reporting printf
Binaries
------------------------------
executable helloworld target: any
modules:
Module
}
Module constraints
model CPPTest imports nothing
------------------------------
exported int32 main(int32 argc,string[] argv) {
return 0;
} main (function)
Metadata
Metadata
Assignees
Labels
No labels