Greetings.

Greetings. I am an EGSnrc user since 2005. I am having issues compiling a fresh Installation of egs_brachy on my Windows 10 pc:

Windows 10 HOME 64bit 1709

gfortran 7.2.0 (MinGW-W64)

gcc 7.2.0 (MinGW-W64)

g++ 7.2.0 (MinGW-W64)

GNU Make 4.2.1 (mingw32-make)

Have you been able to find a solution to this Problem? I shall be grateful if you could assist.

g++ -Wall -Wno-sign-compare -I. -I.gzstream -IC:EGSnrc-2017EGSnrc_with_egs_brachyHEN_HOUSElibwin6432 -IC:EGSnrc-2017EGSnrc_with_egs_brachyHEN_HOUSEegs++ -IC:EGSnrc-2017EGSnrc_with_egs_brachyHEN_HOUSEegs++geometry -IC:EGSnrc-2017EGSnrc_with_egs_brachyHEN_HOUSEinterface -IC:EGSnrc-2017EGSnrc_with_egs_brachyHEN_HOUSEiaea_phsp -I.zlib -DWIN32 -O3 -ffast-math -c -o egs_brachy_win6432.o egs_brachy.cpp

process_begin: CreateProcess(NULL, uname, …) failed.

mingw32-make: Makefile:51: pipe: No error

process_begin: CreateProcess(NULL, uname, …) failed.

mingw32-make: Makefile:89: pipe: No error

In file included from C:/Program Files/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/x86_64-w64-mingw32/include/winnt.h:9:0,

from C:/Program Files/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/x86_64-w64-mingw32/include/minwindef.h:163,

from C:/Program Files/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/x86_64-w64-mingw32/include/windef.h:8,

from C:/Program Files/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/x86_64-w64-mingw32/include/windows.h:69,

from C:EGSnrc-2017EGSnrc_with_egs_brachyHEN_HOUSElibwin6432/egs_config1.h:36,

from C:EGSnrc-2017EGSnrc_with_egs_brachyHEN_HOUSEegs++/egs_libconfig.h:54,

from C:EGSnrc-2017EGSnrc_with_egs_brachyHEN_HOUSEegs++/egs_advanced_application.h:42,

from egs_brachy.h:54,

from egs_brachy.cpp:52:

pubsub.h:69:32: error: ‘typedef struct std::pair SendMessageA’ redeclared as different kind of symbol

typedef pair SendMessage;

^

In file included from C:/Program Files/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/x86_64-w64-mingw32/include/windows.h:72:0,

from C:EGSnrc-2017EGSnrc_with_egs_brachyHEN_HOUSElibwin6432/egs_config1.h:36,

from C:EGSnrc-2017EGSnrc_with_egs_brachyHEN_HOUSEegs++/egs_libconfig.h:54,

from C:EGSnrc-2017EGSnrc_with_egs_brachyHEN_HOUSEegs++/egs_advanced_application.h:42,

from egs_brachy.h:54,

from egs_brachy.cpp:52:

C:/Program Files/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/x86_64-w64-mingw32/include/winuser.h:1980:29: note: previous declaration ‘LRESULT SendMessageA(HWND, UINT, WPARAM, LPARAM)’

WINUSERAPI LRESULT WINAPI SendMessageA(HWND hWnd,UINT Msg,WPARAM wParam,LPARAM lParam);

^~~~~~~~~~~~

egs_brachy.cpp: In member function ‘virtual int EB_Application::ausgab(int)’:

egs_brachy.cpp:1480:17: error: expected ‘;’ before ‘send_messages’

SendMessage send_messages[] = {

^~~~~~~~~~~~~

egs_brachy.cpp:1487:6: warning: statement is a reference, not call, to function ‘SendMessageA’ [-Waddress]

};

^

egs_brachy.cpp:1487:6: warning: statement has no effect [-Wunused-value]

egs_brachy.cpp:1488:24: error: ‘send_messages’ was not declared in this scope

int nmesg = sizeof(send_messages)/sizeof(send_messages[0]);

^~~~~~~~~~~~~

egs_brachy.cpp:1488:24: note: suggested alternative: ‘SendMessageW’

int nmesg = sizeof(send_messages)/sizeof(send_messages[0]);

^~~~~~~~~~~~~

SendMessageW

egs_brachy.cpp:1468:10: warning: unused variable ‘escaping_source’ [-Wunused-variable]

bool escaping_source = leaving_source && !latch_control.hasEscaped(&top_p);

^~~~~~~~~~~~~~~

egs_brachy.cpp:1474:10: warning: unused variable ‘escaping_geom’ [-Wunused-variable]

bool escaping_geom = is_before_transport && irnew < 0;

^~~~~~~~~~~~~

mingw32-make: * [C:EGSnrc-2017EGSnrc_with_egs_brachyHEN_HOUSEmakefilescpp_makefile:78: egs_brachy_win6432.o] Error 1

ExitCode = 2

*********************** finished ***************************