Programming :: Compile With ATLAS And Boost Numeric Bindings?
Jan 10, 2010
I am trying to compile a file for matrix multiplication with ATLAS and Boost Numeric Bindings. I only get a long list of error messages. What am I doing wrong? I am using Ubuntu 9.10, g++ 4.4.1.
I've been trying to compile newsbeuter-2.3 on a Slackware 11.0system. I think the problem is an #include <tr1/memory> line. Ihave a "boost" package installed from slacky. Have tried #include <boost/tr1/memory> but compiler can't find that either.
I get the following errors: ***********************snip*********************** c++ -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Wall -Wextra -DLOCALEDIR="/usr/local/share/locale" -I/usr/include/libxml2 -I/usr/local/include -o
how do i ask in a query for any numeric or string field? It may not have any meaning, but i need it to fill a toplink DataReadQuery in java....Something like " select * from table where table.fieldA='?'
I use OpenSuse 11.3, Eclipse Elios for C++. What do I have to do for using boost? I put #include <boost/regex.hpp>, but it can't find the file. What variable do I have to use?
I think read A1 A2 makes A1, A2 string variables. Then, when A2 gets the value 01, '01' should be a string. But for some reason bash takes it as numeric. I know there are no types in bash.
I need to check whether a shell script variable contains non-zero numeric data to proceed. The variable should contain numeric values, but may in fact contain zeroes, blank space or nothing. So far, I have tried various combinations of:
Code: if test $variable then if test $variable -gt 0 then echo "good data exists" else "no good data exists" fi fi It partially works, but I get either "too many arguments" or "integer expression expected".
So far so good. Now, I want to define two variables (e.g. e1,e2) in the bash file, so that their values would correspond to 00.00 and 30.00, as read from the input file. This one I have not found yet, thus asking for your advice. At the end, writing echo $e1 $e2, I should get 10.00 30.00 This is even harder to me: I want to replace the values emin,emax in a new file "modify.dat" which looks like that:
with the values e1 and e2 I have in my bash file. In other words, I want to call "modify.dat", find these two lines and replace the numeric values with the e1 and e2. At the end, my file should be like:
I have a computer in the university and I have root access to this pc. Iam trying to install Cblas library on it. But it gives me a starnge error /usr/local/atlas is read only file system. I tried doing mount -l and it gave me that appserver1:/export/d1/Linux/doe on /usr/local type nfs4 (ro,sec=.......) I think what it means that the main server directory is mounted to /usr/local and it is read only. So, how can I fix this problem to separate the two and make my /usr/local separate
I am attempting to compile some code on a cluster where I do not have root access (and is missing many of the libraries I want), and hence have had to create local builds of the boost and opencv libraries (i.e. in /home/username/usr/local). In particular, my cmake depends on:
Code:
find_package(boost)
which my normal development machine finds in:
Code:
/usr/share/cmake-2.6/Modules/FindBoost.cmake
On the cluster I have a version of FindBoost.cmake at:
Code:
/home/username/cmake_modules
How can I tell CMake to look for FindBoost.cmake in that directory, since neither the cmake file, nor the boost install is in the standard location? I've modified the FindBoost.cmake file to make it search in the locally installed boost libraries.
I'm trying to build/install KDE 4.5.4, but I run into problems with the bindings package. Build fails with the following:
[Code]....
I'm building using the KDE slackbuild from sources dir, with the new KDE packages. edit: Well I decided to just take the risk of a not working KDE and commented out the bindings package. All other packages build fine. After this I crossed my fingers and rebooted, KDE loaded up. I gave the bindings package another go, and to my surprise it did build now. Got KDE up to date and it seems to be running fine.
I'm running Ubuntu in a virtualbox VM on windows, and none of the key-bindings that I define for compiz plugins (such as Grid and Put) work. I've tried letters and numbers by themselves, as well as combined with ALT, CTRL, and Super, but all fail.
I turn on my laptop running 64-bit karmic (if that helps anyone), open GNU Emacs 23.1.1 with the org files I've been working on, and for some reason it is not recognising standard key bindings, for the first time ever, with no reason I can conceive. What does "M-kp-enter is undefined" mean when it seemed well defined not long before? It seems using Esc-enter still works.. can anyone suggest if there are any config files I might need to edit, or what else could have gone wrong?
I have recently been trying to hack around a MTP plugin for the Exaile music player, but the first hurdle was getting any basic MTP operations to succeed. The following python calls caused a segmentation fault:
I had a look at pymtp 0.0.4.1-1 and I think that it is not in sync with the libmtp8 package (version 1.0.2) I have installed on my xubuntu 10.04 system. I have looked at the libmtp.h file for 1.0.2 and made some changes to pymtp which appear to do the job - no more crash, but I haven't yet tested the other parts of the interface. Feel free to use the attached patched file. I will try to get it to the package owner for further testing and hopefully an eventual package update.
I have (normal) Ubuntu 11.04 installed and I used the Ubuntu Software Center to install LXDE. I'm stuck on 2 problems though, and I'm not sure how to fix them.1. How do I change key bindings in LXDE? Specifically, I want to use Super+up/down/left/right change between workspaces, not the defaultCtrl+Alt+up/down/left/right. I have a script that I have set to auto-run on startup in my standard Unity session; I created a script and added it to the startup programs list there. However, I need to remove that script from LXDE ONLY, so that in the Unity session it will continue to run, and in the LXDE session it will NOT run
When i try to run pitivi i get the following message and it closes down. "Install a version of the GStreamer Python bindings greater or equal to 0.10.19" without the quotes.What do I need to do? Where is the deb package for gstreamer needed?
My Fedora 14 have installed gcc-4.5.1-4.fc14.x86_64,qt-4.7.1-5.fc14.x86_64, I don't know how to use g++ to compile QT program. Do I need to set PATH or something else?
i am not able to compile my test program which uses gtkmozembed.As i am very new to this, i dont know which are the packages to be installed and how to compile
I am unable to compile C++ program in terminal. Whenever I try to add "#include<iostream.h>" it shows an error and thats why I can not use "cout" and "cin" functions. I installed g++ for this but the problem persists.
I have legacy fortran 77 code that used to compile seamlessly using g77 on an old machine. I've tried to recompile it on a new machine (old one is dead) using the original makefile, but the linker fails under g77, while there are persisting syntax errors using gfortran. I have two source files readmixed.f and subroutines.f. Under g77 the object files are produced using
$ f77 readmixed.o subroutines.o -o readmixed subroutines.o(.text+0x0): In function `norm1_': : multiple definition of `norm1_' readmixed.o(.text+0x3987): first defined here
I recently downloaded a tarball which contains a .src file for a program to convert .ttf fonts to .cxf fonts for use in Qcad drawings. how to compile and install this program in linuxmint 9 or ubuntu lucid. What I downloaded from the ribbonsoft.com website is a tarball called ttf2cxf-0.0.0.1-src.tar.gz. It contains a directory /ttf2cxf-0.0.0.1-src, which contains three files: main.cpp, Makefile, and ttf2cxf. I can post the contents of these files. This is not a high priority problem but i have been messing around with this for a while and have made no progress.
This compiles against g++ template headers but not against the icpc headers. Code: #include <string> #include <vector> template <typename T> class MyList : public std::vector< T* >{ };
template <typename T> class MyListIterator : public MyList<T>::iterator{ }; int main(){ MyListIterator< int > test; return 0; }
My new guy has created several functioning webpages on his machine with TOMCAT 6 with Sun JDK, yet our machines use TOMCAT 5.5 with Open JDK, which his webpages don't show. Do you have any idea how to make them work? The error showing in a browser:
Code: HTTP Status 500 - type Exception report message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception org.apache.jasper.JasperException: Unable to compile class for JSP:
I'm trying to write a helper for the mount utility (mount.truecrypt) and there are some things in the util-linux-ng package that would be helpful. For example, in fstab.c, there is a lock_mtab() function. I want to be able to do something like:
Code:
#include "fstab.h" int main(int argc, char *argv[]) { lock_mtab();
[code]....
But I don't know how to compile it. I was trying (naively) something like:
But I guess the problem is fstab needs a whole bunch of other stuff. Should I just build the entire util-linux-ng package and then use the output somehow? If anyone is interested in mount.truecrypt (to be compatible with mount and /etc/fstab) you might be interested in giving me a little bit of guidance. I've got enough code to build the actual truecrypt command thus far. In fact, it's useable, but not robust (ie, doesn't lock the mtab, etc). You can browse the source for util-linux-ng here: [URL] and download a tagged release here:[URL]