gnucap-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnucap-devel] gnucap build with CMake on Windows


From: Patrick Mulder
Subject: Re: [Gnucap-devel] gnucap build with CMake on Windows
Date: Fri, 28 Jun 2019 15:36:30 +0200

On Fri, Jun 28, 2019 at 7:55 AM Patrick Mulder <address@hidden>
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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]