I have a bunch of files in different folders:
/ai/client.cpp # contains the main function
/ai/utils/geometry.h
/ai/utils/geometry.cpp
/ai/world/world.h
/ai/world/world.cpp
/ai/world/ball.h
/ai/world/ball.cpp
/ai/world/bat.h
/ai/world/bat.cpp
How do I write a makefile to compile this program? I'm using Ubuntu.
...
I'm thinking the following:
Netbeans + FlexBeans
Maven + FlexMojos
However:
FlexBeans just doesn't compare with FlexBuilder
Not sure FlexMojos supports Flex 4
How do you guys manage to develop Flex apps on Ubuntu?
I personally prefer Netbeans to Eclipse. Netbeans has very good Maven project support. So I am thinking of:
"E...
Hi I have a Django script that I need to run,
I think the commands could be called through bash.
Thing is the script causes memory leaks after a long a period of time, so I would like to create an external cron job which calls the Python script. So the script would terminate and restart while retaking the lost memory.
Can someone po...
I get this error (title of this question), when I am attempting to debug C/C++ programs using gdb with Netbeans IDE.
Does anyone know what this means, and how to get rid of the warning?
I am able to debug despite the warning, but I'd still like to make the warning go away.
Relevant details:
OS: Ubuntu 9.10
gdb: 7.0-ubuntu
Netbeans: ...
I'm setting up a ZABBIX agent (written in C) on a couple of Ubuntu 64-bit servers. I usually compile everything in 32-bit unless I specifically need 64-bit (such as database servers.) The servers in question will be hosting virtual servers and have 8GB RAM, hence why I've kept them 64-bit.
If the ZABBIX agent starts as root, it tries ...
Dear All,
I am a newbie to ubuntu and apache. Can someone tell me how I could direct to
www.mysite.com/drupal6
when user address www.mysite.com?
Thanks a lot.
Cheers.
...
According to the Ruby docs for Time#zone:
As of Ruby 1.8, returns "UTC" rather than "GMT" for UTC times.
My OSX-using comrades see this behavior.
On my Ubuntu 9.10 system, however, Ruby 1.8.7 seems to prefer the old "GMT" terminology:
$ ruby --version
ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
$ ruby -e 'puts Time.now.ut...
I am using Ubuntu 9.10
For a particular piece of code I require GCC 3.2 but I have a higher version. Is it possible to install multiple versions and use whichever one I want to ?
...
i have this makefile below and in it my includes are
gtk/gtk.h
and
webkit/webkit.h
but when i try to build the project using the make command i have the errors
error: gtk/gtk.h: No such file or directory
error: webkit/webkit.h: No such file or directory
in case the gtk+-2.0.pc and webkit...pc are in the usr/lib/pkgconfig
Make Fil...
I'm trying to get Ruby on Rails setup on my new eeeubuntu install and I think I'm having some issues installing RVM properly.
I installed GIT, and that went well. I installed RVM and in the install it told me to add
if [[ -s /home/derek/.rvm/scripts/rvm ]] ; then source /home/derek/.rvm/scripts/rvm ; fi
To the end of .bashrc
Which I ...
I honestly can't believe I can't find a solution for this online. I've run across a few things that seem similar, but nothing that really does what I want...
I'm trying to use a shell script to start a command. I don't care if/when/how/why it finishes. I want the process to start and run, but I want to be able to get back to my shell im...
i'm new to ubuntu
and i want to install webkit 1.0 as dev version but i don't know what i have to do ?
...
I have encountered a really bizarre stability problem in production when running a trivial Grails application using standard components.
After some time of normal operation the number of Tomcat (jsvc) TCP connections in state CLOSE_WAIT increases until Tomcat hits its thread ceiling (Maximum number of threads (N) created for connector),...
I want to use Ubuntu Linux, but I cant because I need to programming in .NET
What can you advise me to do?
...
I'm writing a backup script which
Copies the data to backup disk.
Flushes the backup disk.
Performs a hash integrity check.
Before I used to do sleep(60) for waiting a minute so that data is automatically flushed by the kernel. Which I guess is overkill so now I'm trying sudo hdparm -F --verbose /dev/disk but it reports error - HDIO...
Hey folks,
thanks for helping me setting my cron jobs, crontab has really been a gold mine for me.
Unfortunately I have a problem, and have no idea what so ever what it might be... basically a job does not start while the neighbour jobs do. I'll explain
This is my crontabs job list:
*/10 * * * * python /webapps/foo/manage.py fe...
Hi, I have just bought a VPS running Ubuntu and I need to install the LAMP stack with PHP 5.1.6. The VPS came with no PHP installed (checked this from the shell with php -v) and with Apache/2.2.12 installed. I installed PHP 5.1.6 from source and compiled it with Apache 2.2 (using libapache2-mod-php5), tried a phpinfo() test which worked ...
Hello, I wanna get a complete C++ IDE for linux, specifically ubuntu 7.1, but I want a kind of link where I could download all the files and packets at once, because I have to install it on a remote pc that is far from one Internet connection. I don't need and strong IDE because it is for teach basics of C++. Could you please help me???
...
I installed gtk+2.0 version 2.18.3 but when i run command
dpkg -i libgtk2.0-dev_2.18.3-1_i386.deb
i have the next error
but when i checked the /usr/lib/libgtk2.0-0 i found the version of the libgtk is 2.12.9
why the new installtion not override the pre one?
and what i should do now?
----------------------------------------ERROR----...
Hi,
SWFUpload doesn't work on ubuntu, I can see various mentions of it throughout the internets but I'm wondering if anyone here as found any work arounds?
I'm developing on Windows, so the code executes fine. But my colleague is running ubuntu, and SWFUpload crashes instantly. Has anyone encountered that and found a work around? I've...