The problem is to link dll file for execution of a developed executable using visual studio.
As shown at http://stackoverflow.com/questions/45769/managingusing-libraries-with-debug-builds-vs-release-builds#46120 one can add a custom build step that copies the dll to the directory with the executable.
Stuckness shouldn't be avoided. It's the psychic predecessor of all real understanding. An egoless acceptance of stuckness is a key to an understanding of Quality, in mechanical work as in other endeavors. It's this understanding of Quality as revealed by stuckness which so often makes self-taught mechanics so superior to institute-trained men who have learned how to handle everything except a new situation. - Robert Pirsig, Zen and the Art of Motorcycle Maintenance
Monday, September 22, 2008
Friday, September 19, 2008
Comparing Two Folders on Windows/Linux/Whatever
In Eclipse, create a new project and include in it the link to the folders in the filesystem. Then use Compare With > Each Other. Cool!
Latex Problem with Using Bibliography
Underscores cause quite a problem in latex. There are places where one should never put _ and there are places where one can. When there is an _ in title of a bibliographic entry, a strange error like this is produced (discovered this after a lot of permutation and combination of debugging):
! LaTeX Error: Lonely \item--perhaps a missing list environment.
! LaTeX Error: Lonely \item--perhaps a missing list environment.
See the LaTeX manual or LaTeX Companion for explanation.
Type H
...
l.46 \bibitem{mcconnell04}
Try typing
Compiling Java Code from JSHOPGUI
Just some java code I had to compile. The code structure
downloaded JSHOPGUI
In src directory
----------------
javac -classpath ..\antlr.jar;..\bin.build\JSHOP2.jar;JSHOP2;JSHOP2\*.java -d ..\bin.build\
In examples\logistics
---------------------
javac *.java -classpath ..\..\antlr.jar;..\..\bin.build;..\foralltest
In examples\logistics
----------------------
java -classpath ..\..\antlr.jar;..\..\bin.build;..\foralltest gui
The correct way was to look at the Makefile and run the commands as per Makefile (including the classpath as above).
downloaded JSHOPGUI
In src directory
----------------
javac -classpath ..\antlr.jar;..\bin.build\JSHOP2.jar;JSHOP2;JSHOP2\*.java -d ..\bin.build\
In examples\logistics
---------------------
javac *.java -classpath ..\..\antlr.jar;..\..\bin.build;..\foralltest
In examples\logistics
----------------------
java -classpath ..\..\antlr.jar;..\..\bin.build;..\foralltest gui
The correct way was to look at the Makefile and run the commands as per Makefile (including the classpath as above).
Friday, September 12, 2008
Set Up Thunderbird for NUS Email on Ubuntu Linux
This is pretty easy (~5 mins), and exponentially more productive than Microsoft Exchange. I am putting up this information here for reference/people new to Ubuntu Linux.
> Install Thunderbird through Synaptic Package Manager
> Configure IMAP (if you want to use IMAP; an alternative protocol is POP: check here) with details as here.
> Put your username as NUSSTU\ if you are a student.
and that's it!
> Install Thunderbird through Synaptic Package Manager
> Configure IMAP (if you want to use IMAP; an alternative protocol is POP: check here) with details as here.
> Put your username as NUSSTU\
and that's it!
Subscribe to:
Posts (Atom)