首页 > 其他 > 详细

OpenCV编程->can not open opencv/cv.h

时间:2014-04-17 12:11:05      阅读:567      评论:0      收藏:0      [点我收藏+]

1新建web service project

bubuko.com,布布扣

2记得选择xfire

bubuko.com,布布扣

3导入xfire包

bubuko.com,布布扣

4在src目录下写文件

bubuko.com,布布扣

5修改servicexml对service进行注册

bubuko.com,布布扣

6代码如下

service.xml

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xfire.codehaus.org/config/1.0">
	 <service>
       <name>sayHello</name>
       <serviceClass>my_interface</serviceClass>
       <implementationClass>
           my_implementment
       </implementationClass>
       <style>wrapped</style>
       <use>literal</use>
       <scope>application</scope>
    </service>
</beans>

my_interface

public interface my_interface {
	public String sayHello(String name);
}
my_implementment

public class my_implementment implements my_interface{

	public String sayHello(String name) {
		// TODO Auto-generated method stub
		return name+",hello";
	}

}



OpenCV编程->can not open opencv/cv.h,布布扣,bubuko.com

OpenCV编程->can not open opencv/cv.h

原文:http://blog.csdn.net/sunboyiris/article/details/23909271

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!