I'm trying to build the routing simulation using MiXiM framework, I
create a folder in mixim/modules directory which i put my module files
(.ned,.cc,.h ) and another folder in mixim/examples which have file
like the baseNetwork example (.ned, ini & config.xml)
I compile it with "make -f makemakefiles CONFIGNAME=gcc-debug" and
make all, but when i come across the mixim/examples/xxx folder there
is neither any make file nor simulation file build.
Any assistance please.
BR
Darry
Karl
darry don schrieb:
Thanks for your quickly reply.
I did the same way as you described, there problem i don't see the
make file and the build system
when i run the command i described in command line. Is it the right
command? (check my previous post)
Thank you in advance.
Darry
Something like
opp_makemake -f -o YOUR-TARGET -L/PATH/TO/MIXIM/LIBRARIES -lmiximbase -
lmiximmodules
should do the trick
If you insist on writing your own code within the MiXiM tree (which is really
NOT recommended) you'll have to adapt the makemakefiles file.
Daniel
--
-----------------------------------------
o Dipl.-Ing. Daniel Willkomm
o TU-Berlin
o Telecommunication Networks Group
o http://www.tkn.tu-berlin.de/~willkomm/
o Mail: will...@tkn.tu-berlin.de
I have tried to play with opp_makemake as you suggested for netw in
(mixim/modules) directory by using:
opp_makemake -f --deep --make-so -o miximmodules -O out -I../base/
modules -I../base/messages -I../base/phyLayer -I../base/
connectionManager -I../base/utils -L../out/gcc-debug/base -L../out/gcc-
debug/tests/testUtils -lmiximbase
and in mixim/examples directory
opp_makemake -f --nolink -O out -d analogueModels -d CSMAMac -d
multiConnectionManager -d Mac80211 -d baseNetwork -d GreedyRoute -L../
out/gcc-debug/base -L../out/gcc-debug/modules -L../out/gcc-debug/tests/
testUtils
and then in my GreedyRoute directory
opp_makemake -f -O out -L../../out/gcc-debug/base -L../../out/gcc-
debug/modules -L../../out/gcc-debug/tests/testUtils -lmiximbase -
lmiximmodules
the problem i'm getting this kind of error message when i'm trying to
run MiXiM simulation.
<!> Error: module type has no gate `upperGateIn', required by
interface `org.mixim.base.modules.IBaseNetwLayer', at /home/darius/
MiXiM/modules/netw/GreedyGeo.ned:20.
Note: My setup of directory ( mixim/examples/GreedyRoute and mixim/
modules/netw) based on the jerome rousselot / mixim-uwb concept
"http://github.com/jeromerousselot/mixim-uwb".
Please assist.
Darry