Re: gnucap build with CMake on Windows

Patrick Mulder <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <CAEx2pddTgKv8MH+w==aD2dhy6WzMw61auMLnNdigHexsea_Bqw@mail.gmail.com>
On Fri, Jun 28, 2019 at 7:55 AM Patrick Mulder <[email protected]>
wrote:

>
>
> mingw32-make.exe: *** [Makefile:152: all] Error 2
>
> I then tried to translate d_diode.model into a cc file manually and got:
>
>  modelgen/gnucap-modelgen.exe
> C:/Users/muld/git/gnucap/build4/modelgen/gnucap-modelgen.exe: error while
> loading shared libraries: libgnucap.dll: cannot open shared object file: No
> such file or directory
> .
>
This can be solved by putting the dll in the same path as the modelgen.exe
- so this works now, but running the diode compile i get an empty map in
this constructor:

class DISPATCHER_BASE {
protected:
  std::map<std::string, CKT_BASE*> * _map;
private:
  explicit DISPATCHER_BASE(DISPATCHER_BASE*) {unreachable();incomplete();}
public:
  DISPATCHER_BASE() /*: _map(new std::map<std::string, CKT_BASE*>)*/ {
    if (!_map) {
      _map = new std::map<std::string, CKT_BASE*>;
    }else{unreachable();
      puts("build error: link order: constructing dispatcher that already
has contents\n");
    }

How does the map init to work?
_______________________________________________
Gnucap-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnucap-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.