Portál AbcLinuxu, 15. dubna 2026 19:15
podarilo se nekomu zkompilovat sim ve woodym? mi to zarve na necem s xslt... zacina to
source='xsl.cpp' object='xsl.lo' libtool=yes \
depfile='.deps/xsl.Plo' tmpdepfile='.deps/xsl.TPlo' \
depmode=gcc /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../sim/api -I../../sim/ui -I/usr/include/qt -I/usr/include/qt -I/usr/X11R6/include -DPIC -fPIC -DQT_THREAD_SUPPORT -DPIC -fPIC -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -O2 -fno-exceptions -fno-check-new -c -o xsl.lo `test -f 'xsl.cpp' || echo './'`xsl.cpp
In file included from xsl.cpp:24:
/usr/include/libxslt/transform.h:29: syntax error before `('
/usr/include/libxslt/transform.h:32: `xsltTransformContextPtr' was not declared in this scope
/usr/include/libxslt/transform.h:32: parse error before `)'
/usr/include/libxslt/transform.h:34: `xsltStylesheetPtr' was not declared in this scope
/usr/include/libxslt/transform.h:34: parse error before `,'
/usr/include/libxslt/transform.h:43: `xsltTransformContextPtr' was not declared in this scope
/usr/include/libxslt/transform.h:43: parse error before `,'
/usr/include/libxslt/transform.h:46: syntax error before `('
/usr/include/libxslt/transform.h:50: `xsltStylesheetPtr' was not declared in this scope
/usr/include/libxslt/transform.h:50: parse error before `,'
/usr/include/libxslt/transform.h:53: `xsltStylesheetPtr' was not declared in this scope
nejaky napad?
Tohle ti podle mě chybí:
libtool + libtool-libs + xmlblby poradi includovani. plugins/_core/xsl.cpp staci prehodit internals dopredu. asi takto:
#include <libxslt/xsltInternals.h> #include <libxslt/xslt.h> #include <libxslt/transform.h> #include <libxslt/xsltutils.h>
misto puvodniho
#include <libxslt/xslt.h> #include <libxslt/transform.h> #include <libxslt/xsltutils.h> #include <libxslt/xsltInternals.h>
Mozno ti to nepomoze, ale mal som podobny problem a rozhodol som sa pre binarky sim-u verzie 0.8.3 slape to spolhalivo. Binarky sim-u su dostupne tu: http://sourceforge.net/project/showfiles.php?group_id=56866
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.