Difference: CSC458Spring2008 (33 vs. 34)

Revision 342008-03-19 - CoreyProscia

Line: 1 to 1
META TOPICPARENT name="TongxinBai"
This class wiki serves as both a blackboard for technical discussions and a billboard for information sharing. The organization of this wiki is made as simple as possible but hopefully also effective enough for discussion and Q&A. In general, postings go to one of the four sections below. The Announcements is basically used for reminding students of the class schedule and homework due dates. The on Administration is where you put questions about class administration, for instance, about grading criteria. The other two sections are the places for technical discussions. All the specific questions and issues about the assignments go to on Assignments. The other general questions and comments about the course content go to on Technical Content.
Line: 268 to 268
  -- LukeDalessandro - 19 Mar 2008
I had some trouble compiling and linking my code even with the benchmark, mesh, and swarm examples. Here's my attempt at creating a simple Makefile.

STMPATH    = ../
include $(STMPATH)Makefile.inc

CXX = g++
LDFLAGS  += -L$(STMPATH)stm/obj -lstm

all: solve

solve: solve.cpp
	$(CXX) -o solve $(CXXFLAGS) solve.cpp $(LDFLAGS)

	rm -f *~ *.o solve core

If you modify STMPATH, you can put your code anywhere relative to the rstm directory. In my C++ code, I included <stm/stm.hpp> and was able to call stm::init(/*cm_type*/ "Polka", /*validation*/ "invis-eager", /*use_static_cm*/ true);

-- CoreyProscia - 19 Mar 2008


on Technical Content

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback