Hi all.
I did my thesis on a Mac computer and now I have downloaded my code and installed it on a Windows PC. When I build the project, I can see this error:
19:24:14 **** Build of configuration gcc-debug for project s_jbusto ****
make MODE=debug CONFIGNAME=gcc-debug all
Cannot run program "make": Launching failed
Error: Program "make" not found in PATH
PATH=[/opt/local/libexec/ccache:/opt/local/bin:/Users/student/omnetpp-4.3.1/bin:/usr/bin:/bin:/usr/sbin:/sbin]
19:24:14 Build Finished (took 113ms)
I can see that this is pointing to the MAC settings but I don't know where I should change this. I have added "D:\omnetpp-4.3.1\bin" in the "Window -> Preferences -> C/C++ -> Build -> Environment" and I have also added it to "Project -> Properties -> C/C++ Build -> Environment". Here was the old path pointing to MAC but I have changed it. I still get the following error after cleaning and rebuilding:
19:28:53 **** Build of configuration gcc-debug for project s_jbusto ****
make MODE=debug CONFIGNAME=gcc-debug all
Cannot run program "make": Launching failed
Error: Program "make" not found in PATH
PATH=[D:\omnetpp-4.3.1\bin]
19:28:53 Build Finished (took 216ms)
If I click on "Run" after building the project, I get the following error:
Starting...
$ cd D:/omnetpp-4.3.1/samples/s_jbusto/examples/MyThesis/Flooding
$ d:/omnetpp-4.3.1/bin/opp_run.exe -r 0 -n ../..;../../../src -l ../../../src/inet omnetpp.ini
<!> Warning: opp_run: Cannot check library ../../../src/inet: No se puede encontrar el módulo especificado
<!> Error during startup: Cannot load library '../../../src//libinet.dll': La operación se completó correctamente.
OMNeT++ Discrete Event Simulation (C) 1992-2013 Andras Varga, OpenSim Ltd.
Version: 4.3.1, build: 130913-19cda8a, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer
End.
Simulation terminated with exit code: 1
Working directory: D:/omnetpp-4.3.1/samples/s_jbusto/examples/MyThesis/Flooding
Command line: d:/omnetpp-4.3.1/bin/opp_run.exe -r 0 -n ../..;../../../src -l ../../../src/inet omnetpp.ini
Environment variables:
OMNETPP_ROOT=d:/omnetpp-4.3.1
PATH=;D:/omnetpp-4.3.1/samples/s_jbusto/src;d:\omnetpp-4.3.1\bin;d:\omnetpp-4.3.1\msys\bin;d:\omnetpp-4.3.1\mingw\bin;d:/omnetpp-4.3.1/ide/jre/bin/client;d:/omnetpp-4.3.1/ide/jre/bin;d:/omnetpp-4.3.1/ide/jre/lib/i386;.;D:\omnetpp-4.3.1\msys\local\bin;d:\omnetpp-4.3.1\mingw\bin;D:\omnetpp-4.3.1\msys\bin;d:\omnetpp-4.3.1\bin;c:\windows\system32;c:\windows;c:\windows\System32\Wbem;c:\windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\MiKTeX 2.9\miktex\bin\;c:\Program Files\Skype\Phone\;c:\Omnet\omnetpp-4.6\bin;d:\omnetpp-4.3.1;
OMNETPP_IMAGE_PATH=d:\omnetpp-4.3.1\images
Can anybody please help me and tell me what I should do?
Thank you very much!
Jairo