[Ktechlab-devel] build problem

Gopala Krishna krishna.ggk at gmail.com
Sun Nov 25 19:16:52 UTC 2007


>
> Oh boy....
>
> The source files on the SVN server, to the best of my knowledge, are
> correct.
>
> The problem is in the autotools configuration files. They haven't been
> set up to recognize the new /src/math directory. =(
>
> I'm not really sure what the best way to fix this is.
>
> Thanks for testing! that's always a help.

However i did find a temporary fix to get it compile.
Move qvector.h qvector.cpp qmatrix.h qmatrix.cpp from /src/math to
/src/electronics/simulation/ directory and do the following changes.
Hope this helps :)

Index: electronics/simulation/vec.h
===================================================================
--- electronics/simulation/vec.h        (revision 76)
+++ electronics/simulation/vec.h        (working copy)
@@ -11,7 +11,7 @@
 #ifndef VEC_H
 #define VEC_H

-#include <math/qvector.h>
+#include <qvector.h>

 typedef unsigned uint;

Index: electronics/simulation/Makefile.am
===================================================================
--- electronics/simulation/Makefile.am  (revision 76)
+++ electronics/simulation/Makefile.am  (working copy)
@@ -5,8 +5,8 @@
                                diode.cpp element.cpp elementset.cpp
logic.cpp matrix.cpp vccs.cpp vcvs.cpp \
                                voltagesource.cpp capacitance.cpp
resistance.cpp currentsignal.cpp voltagepoint.cpp \
                                voltagesignal.cpp elementsignal.cpp
nonlinear.cpp reactive.cpp vec.cpp bjt.cpp opamp.cpp \
-               inductance.cpp jfet.cpp mosfet.cpp
+               inductance.cpp jfet.cpp mosfet.cpp qvector.cpp qmatrix.cpp
 noinst_HEADERS = cccs.h ccvs.h circuit.h currentsource.h diode.h element.h \
                                elementset.h logic.h matrix.h vccs.h
vcvs.h voltagesource.h capacitance.h \
                                resistance.h elementsignal.h
nonlinear.h reactive.h vec.h bjt.h opamp.h inductance.h \
-       jfet.h mosfet.h
+       jfet.h mosfet.h qvector.h qmatrix.h


-- 
Cheers,
Gopala Krishna A




More information about the Ktechlab-devel mailing list