fetal error: omnetpp.h: no such file or directory compilation terminated

1,909 views
Skip to first unread message

arezooa...@gmail.com

unread,
Jun 26, 2013, 8:20:22 AM6/26/13
to omn...@googlegroups.com
hi
i'm installed omnetpp 4.2.2 on windows 7, and tested it with dyna. dyna was run correctly .after that i want to compile tictoc. i write 3 code in notepad and save these with .ned , .cc , .ini . after that i run opp_makemake but when i want to make , the error appear.
"fetal error: omnetpp.h: no such file or directory compilation terminated"

i'm really confuse, can you help me?

 best regards
 

rachid djorane

unread,
Jun 26, 2013, 10:26:30 AM6/26/13
to omn...@googlegroups.com
did you check if you have  the file 'omnetpp.h' in 'omnetpp 4.2.2/include' folder  ?

Arezoo AJ

unread,
Jun 26, 2013, 3:27:33 PM6/26/13
to omn...@googlegroups.com
yes, i have  omnetpp.h


--
--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp
 
---
You received this message because you are subscribed to a topic in the Google Groups "omnetpp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/QROGKYcdEFM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Best Regards
Arezoo Arjomandzadeh
MSc student in Artificial Intelligence
Computer & IT engineering
Shahrood University of Technology, Iran


Teo Iliadis

unread,
Nov 5, 2014, 11:27:23 AM11/5/14
to omn...@googlegroups.com, arezooa...@gmail.com
I have the same problem.
In inet>src>base>INETDefs.h is the error : omnetpp.h: No such file or dir.
Please give me some help!
Thanks in advance

Bruk Adane

unread,
Jul 17, 2015, 6:22:31 PM7/17/15
to omn...@googlegroups.com, arezooa...@gmail.com
Hey guys i am working on omnet 4.3, and i am expriencing the same problem. can u remember how you managed to solve this problem pls, if yes let me know here.. Thanks in advance. 

Wian Virgi

unread,
Oct 4, 2016, 1:00:25 AM10/4/16
to OMNeT++ Users, arezooa...@gmail.com

MohammadMahdi Motahhari

unread,
Nov 7, 2016, 4:01:54 AM11/7/16
to OMNeT++ Users, arezooa...@gmail.com
Hi
I solve this problem with
./configure command

Ameera Al-harthi

unread,
Mar 5, 2018, 4:32:30 PM3/5/18
to OMNeT++ Users
hi, 
How can I do it ny ./configure command ??

Hans van der Laan

unread,
Jan 11, 2019, 10:10:53 AM1/11/19
to OMNeT++ Users
For people who also stumble accros this problem. We couldn't fix it with the ways given in this thread.
We fixed this error by manually adding the omnetpp/omnetpp-X.X.X/include folder to the Makefile.

Somewhere at the top you should see the INCLUDE_PATH variable, add -I/home/[...]/omnetpp/omnetpp-X.X.X/include to it.
Replace the X's with your omnetpp version.

Pro tip: don't forget to add this parameter ("-I/home/[...]/omnetpp/omnetpp-X.X.X/include") to the command which can regenerate the makefile.

On Wednesday, June 26, 2013 at 2:20:22 PM UTC+2, arezooa...@gmail.com wrote:

Hans van der Laan

unread,
Jan 11, 2019, 10:12:00 AM1/11/19
to OMNeT++ Users
You should do this command in the folder where you installed omnetpp.
Reply all
Reply to author
Forward
0 new messages