-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiling error #9
Comments
Hi, @fatemehm Did you solve this problem? |
Hi @sandinojardim |
There is a pull request with a bug fix suggestion:
I replaced that line by the above suggestion and worked for me. |
Hi there! @sandinojardim is right! The problem is related with the casting! That kind of casting using the wildcard operator could be a little tricky. You also can use something like this:
Cheers, |
@sandinojardim thanks you very much, let me check this :) I hope it works for me too. |
@davidperezabreu Thanks, actually I'm new in CloudsimSDN and java programming. I need to extend this framework in order to support NFV ( Network function virtualization) and SFCs ( service function chaining) but I don't know exactly which of the packages I have to extend. |
hello i'm trying to setup the cloudsimsdn v.2 but i appears this method "getCloudletFailedList()" is not available in the package org.cloudbus.cloudsim.sdn |
can i have help with to fix this problem please |
is there another version of the cloudsim 3.0.3 jar file please that implements "getCloudletFailedList()"?? |
Hi @anyanteh |
@anyanteh |
thanks for your feedback,just tried it but its still doesn't work.Is there any particular thing u did aside setting up cloudsim v.4 cloudsim sdn v.2 and adding the maven dependencies, please?? |
@anyanteh try to compile all of the folders one by one. actually, I could not run the example, because of some problem in the vmallocation folder, I altered "getFreeMips().add(host.getTotalMips());" (line 65 in the VmAllocationPolicyCombinedMostFullFirst.java) to "getFreeMips().add((long)host.getTotalMips());" . |
@ fatemehm, thank u so much for your help. You were right. I reproduced the compile error with 3.0.3. |
@fatemehm |
@anyanteh |
hey, I remember it run when i first set it up.but its seems not to be run at the moment. Let me look it up and get back to you. Cheers |
I recently have time to look at the code and fixed the bugs appeared in the example of StartExperimentSFCEdge and StartExperimentSFC, which is caused by the bugs in CloudSim 4.0. Please download the CloudSim4.0 again to use the newest one. |
@hetianzhang |
@anyanteh |
@hetianzhang |
@hetianzhang
|
has anyone tried to use ANN on cloudsimSDN-NFV?? your advice will be gladly appreciated .. Thank you |
I also wanna use this , if you have please help me |
I am trying to install the cloudsimsdn but it is troubleshooting ,please guide |
Hey, I am trying to compile and run CloudSimSDN on my machine but I've faced this error:
java:128: error: incompatible types: Collection cannot be converted to Collection<? extends SDNHost>
hg.hosts = new ArrayList((Collection<? extends SDNHost>)topology.getConnectedNodesLow(e));
^
1 error
unfortunately, I couldn't figure out the error. I should run this as soon as possible.
The text was updated successfully, but these errors were encountered: