mkdir: cannot change permissions of ‘/dev/shm’: Permission denied
mkdir: cannot change permissions of ‘/dev/mqueue’: Permission denied
WARNING: 'your PATH does not contain X:/omnetpp-4.6b1/bin!
(2) OMNeT bin is not set in the PATH variableIs the .bash_profile actually used / sourced by MinGW?
WARNING: 'your PATH does not contain X:/omnetpp-4.6b1/bin!
Compilation is not possible without setting the bin path...
Maybe setenv is not executed when starting the mingwenv.cmd ???
W dniu środa, 10 września 2014 16:59:25 UTC+2 użytkownik Michael Kirsche napisał:
(2) OMNeT bin is not set in the PATH variableIs the .bash_profile actually used / sourced by MinGW?
WARNING: 'your PATH does not contain X:/omnetpp-4.6b1/bin!
Compilation is not possible without setting the bin path...
Maybe setenv is not executed when starting the mingwenv.cmd ???
A couple of observations while testing the Windows version...
(1) Error messages right after starting mingwenv.cmd for the first time.Seems to disappear after the second time you start mingwenv.cmd / executed ./configure.
mkdir: cannot change permissions of ‘/dev/shm’: Permission denied
mkdir: cannot change permissions of ‘/dev/mqueue’: Permission denied
(2) OMNeT bin is not set in the PATH variableIs the .bash_profile actually used / sourced by MinGW?
WARNING: 'your PATH does not contain X:/omnetpp-4.6b1/bin!
Compilation is not possible without setting the bin path...
Maybe setenv is not executed when starting the mingwenv.cmd ???
(3) You wrote that MinGW64 is bundled, build system and host system type during ./configure is 'i686-pc-mingw32' though. Certain libraries (TCL) seem to be only available in the 32bit release, or maybe I just mixed things there...
Compiling OMNeT and afterwards INET with the -j option works fine so far.
I'll write, if I observe other problems / bugs.
ev.isDisabled()
--> Returns true if the simulation is running in an Express or Express-like mode
where output from <tt>ev<<</tt> and <tt>ev.printf()</tt> statement is
not printed or logged anywhere but discarded.
// simulate() should only throw exception if error occurred and
// finish() should not be called.
simulate();
disable_tracing = false;
disable_tracing = opt->expressMode;
A serious issue exists in the Mac OS X compilation.CLANG caseYou are right one can compile omnet using clang.However, in this case I am actually not able to compile INET! It compiles all the files, but at the end it returns a linking problem relative to the << operator.
GCC caseThe compilation is fine, as in the previous versions. Both omnet and INET.However, in this second case, the Eclipse IDE does not respect my choice! If I am using gnu gcc (from homebrew), from the terminal I can get what I expect (make uses g++). Instead, from the IDE the clang is used, since at the end it shows up me an error similar to clang: error..... which hence means clang was run!!!
Actually, in the preference of Eclipse,
I see that the system provided entries for the builder point to the /Library/Developer....clang folder, even if I explicitly indicated gcc and g++ in the configure.user.
On Friday, 3 October 2014 11:00:01 UTC+2, Federico Tramarin wrote:A serious issue exists in the Mac OS X compilation.CLANG caseYou are right one can compile omnet using clang.However, in this case I am actually not able to compile INET! It compiles all the files, but at the end it returns a linking problem relative to the << operator.INET was not yet adopted to build ok under clang so INET 2.4 may have issues. On the other hand I have patched both the master and integration branch to be able to compile under clang (admittedly tested only on linux).
GCC caseThe compilation is fine, as in the previous versions. Both omnet and INET.However, in this second case, the Eclipse IDE does not respect my choice! If I am using gnu gcc (from homebrew), from the terminal I can get what I expect (make uses g++). Instead, from the IDE the clang is used, since at the end it shows up me an error similar to clang: error..... which hence means clang was run!!!No, this cannot be. The IDE just calls the makefile in the src directory and the makefile include the omnetpp_root/Makefile.inc which determines the compiler used. This must beActually, in the preference of Eclipse,I'm not sure what dialog/page is this.I see that the system provided entries for the builder point to the /Library/Developer....clang folder, even if I explicitly indicated gcc and g++ in the configure.user.Did you actually run ./configure? (you can check what is the actual compiler used in the Makefile.inc)Rudolf
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/texbin:/Users/federico/Applications/omnetpp-4.6b1/bin
while the IDE says my PATH is
/usr/bin:/bin:/usr/sbin:/sbin
I do not know why this happens.
However, manually editing the IDE PATH variable (which the ide sas to import from the system!), and adding the /usr/local/bin location of the gcc executables, the IDE started to work perfectly.
By the way, making the output verbose in the IDE, it respected the gcc and g++ executables I indicated, however, having a wrong path, the IDE actually called those based on clang.
Please let me know if you are able to reproduce this bug.
Cheers,
Federico