spice編譯
㈠ 用什麼工具編譯 sp文件
.SP文件很有可能是SPICE電路模擬文件,要用SPICE去模擬。
你可以搜索PSPICE,是Cadence出的一個學生版SPICE模擬器。
㈡ 在國內從事C/C++編譯器的開發有發展前景嗎
我給你講講我的經歷。 我大概十年工作經驗,大概五年c++編譯器前端經驗(在兩家500強做靜態分析),四五年項目管理和品質過程改善經驗。其他主流語言都會用,實現的大概方式也明白。 前一段時間找工作,投了二十幾個c++職位一個電話都沒有。唯一的面試是朋友內推的阿里的項目管理專家。跑去面試,悲催,直接換崗成p5-p6的測試來面試,問了幾個測試問題直接讓我回家了(順便吐槽一下,他們對於測試過程感覺還沒問到點上) 最後的結局就是,沒人要,轉行去製造加工業了。我總結一下為什麼找不到工作(可能只是我偏頗的認識:一是這行需求太少,二是hr根本不知道你是幹嘛的,三是做這行的根本不好意思寫精通c++。
㈢ spice+qemu+mjpeg流模式怎麼編譯
協議是服務端與客戶端通信的基礎, 客戶端是享受服務的終端機器
㈣ proxmox ve 伺服器,配置了spice 客戶端是UBUNTU,控制台點了spice下載了配置文件,可是如何打開
協議是服務端與客戶端通信的基礎,
客戶端是享受服務的終端機器,
服務端是提供服務的後台機器。
0. 安裝前預備工作:
由於要從Git 伺服器下載源碼安裝,所以需要安轉git工具
[plain] view plain print?
<span style="font-size:18px;">sudo apt-get install build-essential autoconf git-core
</span>
當然,還有編譯安裝包使用的工具也要安裝:
[plain] view plain print?
<span style="font-size:18px;">sudo apt-get install libtool liblog4cpp5-dev libavcodec-dev libssl-dev xlibmesa-glu-dev libasound-dev libpng12-dev libfreetype6-dev \
libfontconfig1-dev libogg-dev libxrandr-dev kvm libgcrypt-dev libsdl-dev libnss3-dev libpixman-1-dev libxfixes-dev libjpeg8-dev \
libsasl2-dev python-pyparsing </span>
最後准備,創建一個文件夾,用來存放下載的安裝包(如果你對下載安裝位置很清楚,當然也可以不用新建這個文件夾)
cd
mkdir spice-sources
cd spice-sources
1. SPICE安裝依賴包:
1.1 libcacard
This library is what SPICE uses to emulate smart cards and smart card readers.
git clone git://people.freedesktop.org/~alon/libcacard
cd libcacard
./autogen.sh
make
sudo make install
cd ..
1.2. 安裝協議(SPICE protocol headers)
The first dependency to install is the spice protocol headers.
wget http://spice-space.org/download/releases/spice-protocol-0.8.0.tar.bz2
tar xjvf spice-protocol-0.8.0.tar.bz2
cd spice-protocol-0.8.0
mkdir m4
./configure
make
sudo make install
cd ..
1.3.安裝celt
SPICE requires a specific version of the celt low-latency audio codec (0.5.1.3). Since it is unavailable in the Ubuntu repositories, it must also be compiled.
wget http://downloads.us.xiph.org/releases/celt/celt-0.5.1.3.tar.gz
tar xvzf celt-0.5.1.3.tar.gz
cd celt-0.5.1.3/
./configure
make
sudo make install
cd ..
2. 安裝客戶端(SPICE client)
This gives us spicec, the spice client. It's used to connect to SPICE guests.
客戶端用來鏈接服務端的。
wget http://spice-space.org/download/releases/spice-0.8.1.tar.bz2
tar xjvf spice-0.8.1.tar.bz2
cd spice-0.8.1
./configure --enable-smartcard
make
sudo make install
cd ..
This step is possible to perform on a 32-bit host; it's only installing the SPICE client.
值得注意的是:32位系統只能安裝SPICE 的客戶端,下面的服務端是無法安裝的!
3. 安裝SPICE server
Now, it's time to build the SPICE server itself. SPICE has been rolled into QEMU now, so this step amounts to installing a recent version of QEMU. In fact, we will be pulling the latest QEMU source code for version 0.14. Oddly enough, QEMU 0.14 is available in the Ubuntu repositories, but SPICE support is not included in the build.
以上的意思是說QEMU已經包含 SPICE服務,
First, we need to change an environment variable so that ./configure can find the spice protocol libraries we installed. You will need to set this variable anytime you want to use qemu with SPICE, so it's easiest to put it in your .bashrc.
修改環境變數以至於讓configure找到我們安裝spice協議的函數庫。
echo "export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}" >> ~/.bashrc
source ~/.bashrc
Now, we can continue with the installation. Note that if you require a specific softmmu target, you can add a list of them with the --target argument. By default, QEMU only builds with support for 32-bit x86 guests.
繼續安裝,(PS:如果在之前已經安裝過QEMU的話,這一步可以省略)
wget http://download.savannah.gnu.org/releases/qemu/qemu-0.14.0.tar.gz
tar xzvf qemu-0.14.0.tar.gz
cd qemu-0.14.0
./configure --enable-spice --enable-kvm --enable-io-thread --audio-drv-list=alsa,oss --enable-system
make
sudo make install
Now, we need to over some BIOS files that qemu will need to start SPICE VMs. We just need to put them in a location that QEMU expects them to be.
拷貝相關文件到QEMU 目錄下讓qemu啟動虛擬機。(PS:如果之前已經安裝QEMU,此步只需確認在/usr/share/qemu/目錄下有以下兩個文件即可,如果沒有,那就得手動拷貝過去)
sudo cp pc-bios/vgabios-qxl.bin /usr/share/qemu/
sudo cp pc-bios/pxe-e1000.bin /usr/share/qemu/
cd ..
Now, qemu with SPICE support is installed in /usr/local/bin, and the ordinary system qemu is installed in/usr/bin. We'll make a shortcut command called 'qemu-spice' that you can invoke separately from the system qemu (which doesn't have SPICE support).
以上將含有SPICE 服務的QEMU安裝到usr/local/bin(PS:也可能在usr/bin下),普通 QEMU 系統安裝在/usr/bin下。以下是創建一個名字叫做qemu-spice的工具,其實是qemu的一個拷貝。
cd /usr/local/bin
sudo mv qemu qemu-spice
至此,server安裝完畢。
4.使用SPICE
4.1使用Client
To invoke the spice client, use the command:調用客戶端,使用如下命令
注意:<server hostname> 是伺服器的地址,如果你的電腦同時安裝客戶服務端,那麼你可以使用127.0.0.1來自己測試,<port number> 是服務端制定的埠號
spicec -h <server hostname> -p <port number>
4.2 使用Server
Invoking the spice server is rather more complex than the client, since you have to set the parameters of the virtualized guest. For example,
調用Server要比客戶端麻煩得多。
qemu-spice -spice port=5930,disable-ticketing -drive file=/path/to/image -vga qxl -device AC97 -usbdevice tablet -m 1024 -enable-kvm -net nic -net user
注意:file=/path/to/image 要替換為系統的鏡像文件,比如我的file=/kvm/vdisk.img
這樣就啟動了SPICE 服務端,然後在客戶機上使用客戶端命令
spicec -h <server hostname> -p <port number>
就可以在SPICE客戶端啟動服務機上的虛擬機系統了。
㈤ Protel 99se 編譯之後出現這么多錯誤,抓狂啊,向大神求救。。。
Protel 99se 是沒有編譯功能的,這是創建網路表後出現的錯誤提示吧,不叫編譯。
提示已經告訴你是元件C1有錯誤,你的元件C1是從哪個元件庫里放置的,就打開那個元件庫,找到元件C1,看一下引腳的參數設置,有錯誤。
㈥ 如何編譯 spice-gtk-0.24
本地編譯還是交叉編譯呢?
本地的話 apt-get 都可以安裝好,或者/configure的時候,安裝相應的依賴包,交叉編譯的話,要依賴很多包,詳細的可以找我。
㈦ 現在都有幾種spice模擬軟體
SYNOPSYS Star-Hspice 高精確電路模擬, PSPICE 電路模擬,EWB 電路模擬,Multisim電路模擬,PROTEL 電路自動設計,Electronic Workbench 電子電路模擬工作室,MedWin 單片機集成開發環境,Panasonic MITSUBISHI PLC 可編程控制器編譯軟體......
我用PROTEL 電路自動設計