推荐 综合 人气 评论 点赞
Windows下配置Perl开发环境(转) centos安装perl环境
我也是Perl的初学者,这两天在Windows下配置了Perl的开发环境,现将一些经验总结如下。1. 下载ActivePerl,安装。安装的时候最好让安装程序创建环境变量,这样就可以在cmd中使用Perl了。安装完成后,可以在cmd中输入perl -v测试是否成功。2. 安装ActivePerl会

0评论2023-02-09584

(转)CentoS 下报的 Requires: perl(:MODULE_COMPAT_5.8.8)
vim /etc/yum.repos.d/epel.repo把 mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5arch=$basearch 改: mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6arch=$basearch当然 CentOS-Base.repo如果有5也要修改为

0评论2023-02-09353

centos安装git时出错提示make[1]: *** [perl.mak] Error 2
解决:yum install perl-ExtUtils-MakeMaker package

0评论2023-02-09314

lua编译错误 libreadline.so: undefined reference to lua
下载lua源码,编译安装。编译的时候编译错误,源码里面自带有Makefile文件,不用执行./configure生成makefile文件。可以直接make,但是直接输入make会报错,得指定操作系统类型,例如make linux test。然后这个时候就会报错了: make[1]: Entering directory

0评论2023-02-09773

lua 中处理cocos2dx 的button 事件
lua 中处理cocos2dx 的button 事件   2014-05-08 09:44:32|  分类: lua |订阅  1、引入这个类:require "GuiConstants"2、下面是回调函数的处理.local function menuZhuCeCallback(sender,eventType)        print(sender:getTag())      

0评论2023-02-09615

CentOS 上配置 lua 的服务器环境(enet)
安装 lualuarocket安装依赖$ yum install gcc gcc-c++ kernel-devel $ yum install readline-dev$ yum install ncurses-devel.i386下载并编译lua源文件$ wget http://www.lua.org/ftp/lua-5.1.4.tar.gz$ tar zxvf lua-5.1.4.tar.gz$ cd lua-5.1.4$ make linux

0评论2023-02-09329

NGINX + LUA实现复杂的控制 --源自http://outofmemory.cn/code-snippet/14396/nginx-and-lua
安装lua_nginx_module 模块lua_nginx_module 可以一步步的安装,也可以直接用淘宝的OpenRestyCentos和debian的安装就简单了。。这里说下freebsd的安装:fetch http://www.lua.org/ftp/lua-5.1.4.tar.gztar zxvf lua-5.1.4.tar.gzcd lua-5.1.4make freebsdmake

0评论2023-02-09328

cocos2dx-lua捕获用户touch事件的几种方式
这里只针对lua 1.为每个关心的事件注册回调函数具体分为以下几种1单点触摸注册函数为cc.Handler.EVENT_TOUCH_BEGAN      = 40cc.Handler.EVENT_TOUCH_MOVED      = 41cc.Handler.EVENT_TOUCH_ENDED      = 42cc.Handler.EVENT_TOUCH_CANCELLED 

0评论2023-02-09797

XML、JSON、ProtocolBuffer、Lua特点比较
 XMLJSONPBLua数据结构支持复杂结构简单结构较复杂结构复杂结构数据保存方式文本文本二进制文本数据保存大小大一般小一般解析效率慢一般快稍快语言支持程度非常多多C++/Java/Python多开发难度|繁琐繁琐简单简单相对繁琐学习成本低低低高适用范围数据交换数据

0评论2023-02-09798

编译安装lua 时 lua.c:67:31: fatal error: readline/readline.h: No such file or directory">BUG!!!==
编译安装lualua, by foxbin.Lua 是一个小巧的脚本语言。是巴西里约热内卢天主教大学(Pontifical Catholic University of Rio de Janeiro)里的一个研究小组,由Roberto Ierusalimschy、Waldemar Celes 和 Luiz Henrique de Figueiredo所组成并于1993年开发。

0评论2023-02-09574

安装protobuf及相关的lua生成器 lua-protobuf
1.google code 需要用到的水星:http://mercurial.selenic.com/2.protobuf地址 https://code.google.com/p/protobuf/ 注意在mac上安装时protobuf所在的目录中不能存在空格,这已被已知为编译器的一个bug3.一个生成lua的解析器 https://code.google.com/p/pro

0评论2023-02-09859

Could not parse the file: d:\matlab7\toolbox\ccslink\ccslink\info.xml
找到安装目录下的info.xml文件,用记事本打开。我的安装目录是:D:\MATLAB7\toolbox\ccslink\ccslink用记事本打开,显示如下内容:productinfoxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:noNamespaceSchemaLocation="http://www.mathworks.co

0评论2023-02-09513

Todd's Matlab讲义第3讲:牛顿法和for循环
方程数值求解下面几讲,我们将聚集如下方程的解法:\begin{equation}f(x)=0\tag{3.1}\label{3.1}\end{equation}在微积分课程中,我们知道,许多优化问题最终归结为求解上述形式的方程,其中\(f\)为你要求极值的函数\(F\)的导数。在工程问题中,函数\(F\)来源

0评论2023-02-09909

009——Matlab调用cftool工具的函数方法 MATLAB读出cfit拟合的函数
(一)参考文献:http://blog.sina.com.cn/s/blog_4a0a8b5d0100uare.html(二)视频教程:https://v.qq.com/x/page/x30392rqwmm.html(三)下载地址: clc; clear;%% 读取ecxel中的数据到num中去了%Num:读取的数据存进数组num中Txt:读取到的文本放进txt中(

0评论2023-02-09303

matlab pan_tompkin算法
function [qrs_amp_raw,qrs_i_raw,delay]=pan_tompkin(ecg,fs)Complete implementation of Pan-Tompkins algorithm 完成PT算法的实现 function [qrs_amp_raw,qrs_i_raw,delay]=pan_tompkin(ecg,fs,gr)%% function [qrs_amp_raw,qrs_i_raw,delay]=pan_tompkin

0评论2023-02-09919

Stockwell transform in matlab
https://ww2.mathworks.cn/matlabcentral/fileexchange/45848-stockwell-transform--s-transform- Compute S-Transform without for loopsfunction ST=stran(h)% Compute S-Transform without for loops%%% Coded by Kalyan S. Dash %%%%%% IIT Bhubaneswar,

0评论2023-02-09828

CentOS/Linux 卸载MATLAB
rm -rf /usr/local/MATLAB/R2012arm /usr/local/bin/matlab /usr/local/bin/mcc /usr/local/bin/mex /usr/local/bin/mbuild

0评论2023-02-09506

« 上一页 3/43 下一页 »