also if its helping , here is the print if i make : make -n

$ make -n CC=clang
This is gnustep-make 2.6.2. Type 'make print-gnustep-make-help' for help.
(make -f GNUmakefile --no-print-directory --no-keep-going \
        internal-master-tool-all \
        GNUSTEP_BUILD_DIR="." \
        _GNUSTEP_MAKE_PARALLEL=yes)
( \
instance=sample_app; \
operation=all; \
type=tool; \
abs_build_dir="."; \
if [ "" != "" ]; then \
  echo "Making $operation in subprojects of $type $instance..."; \
  for f in  __done; do \
    if [ $f != __done ]; then       \
      if [ "${abs_build_dir}" = "." ]; then \
        gsbuild="."; \
      else \
        gsbuild="${abs_build_dir}/$f"; \
      fi; \
      if [ "" = "" ]; then \
        if [ "$type" = "framework" ]; then \
          if [ "no" = "yes" ]; then \
            framework_version=""; \
            if [ "$framework_version" = "" ]; then \
              framework_version=""; \
              if [ "$framework_version" = "" ]; then \
                framework_version=""; \
                if [ "$framework_version" = "" ]; then \
                  framework_version="0"; \
                fi; \
              fi; \
            fi; \

owning_project_header_dir="../${instance}.framework/Versions/${framework_version}/Headers";
\
          else \
            owning_project_header_dir="../${instance}.framework/Headers"; \
          fi; \
       else owning_project_header_dir=""; \
       fi; \
      else \
        owning_project_header_dir="../"; \
      fi; \
      if make -C $f -f GNUmakefile --no-print-directory --no-keep-going
$operation \
          OWNING_PROJECT_HEADER_DIR_NAME="${owning_project_header_dir}" \
          DERIVED_SOURCES="../derived_src" \
          GNUSTEP_BUILD_DIR="$gsbuild" \
          _GNUSTEP_MAKE_PARALLEL=no \
        ; then \
        :; \
      else exit $?; \
      fi; \
    fi; \
  done; \
fi; \
echo "Making $operation for $type $instance..."; \
make -f GNUmakefile --no-print-directory --no-keep-going \
    internal-${type}-$operation \
    GNUSTEP_TYPE=$type \
    GNUSTEP_INSTANCE=$instance \
    GNUSTEP_OPERATION=$operation \
    GNUSTEP_BUILD_DIR="${abs_build_dir}" \
    _GNUSTEP_MAKE_PARALLEL=no)
Making all for tool sample_app...
(make -f GNUmakefile --no-print-directory --no-keep-going \
        internal-tool-compile \
        GNUSTEP_TYPE=tool \
        GNUSTEP_INSTANCE=sample_app \
        GNUSTEP_OPERATION=compile \
        GNUSTEP_BUILD_DIR="." \
        _GNUSTEP_MAKE_PARALLEL=yes)
(echo " Linking tool sample_app ...";clang  -Wl,--enable-auto-import
-shared-libgcc -fexceptions -fgnu-runtime -o obj/sample_app.exe \
                ./obj/sample_app.obj/main.m.o
./obj/sample_app.obj/HttpManager.m.o ./obj/sample_app.obj/UT.m.o
./obj/sample_app.obj/Html
Parser.m.o \
                     -L/home/meiry/GNUstep/Library/Libraries
-L/GNUstep/Local/Library/Libraries -L/GNUstep/System/Library/Libraries
-lgnustep-base    -lobjc
   -lws2_32 -ladvapi32 -lcomctl32 -luser32 -lcomdlg32 -lmpr -lnetapi32 -lm
-I. )



i copied the libxml2 headers and lib's into :
c:\GNUstep\GNUstep\System\Library\Headers\libxml\
and libs into :
c:\GNUstep\GNUstep\System\Library\Libraries\



On Mon, Jan 14, 2013 at 4:45 PM, umen [via GNUstep] <
[email protected]> wrote:

> Hi and thanks for the replay ,well i did what you told me and now im
> getting new error:
> $ make CC=clang
> This is gnustep-make 2.6.2. Type 'make print-gnustep-make-help' for help.
> Making all for tool sample_app...
>  Linking tool sample_app ...
> ./obj/sample_app.obj/HtmlParser.m.o: In function `-[HtmlParser
> ExtractInnerSiteLinks::]':
> d:/dev/objc/sample_app/HtmlParser.m:37: undefined reference to
> `htmlReadMemory'
> collect2: ld returned 1 exit status
> clang: error: linker (via gcc) command failed with exit code 1 (use -v to
> see invocation)
> make[3]: *** [obj/sample_app.exe] Error 1
> make[2]: *** [internal-tool-all_] Error 2
> make[1]: *** [sample_app.all.tool.variables] Error 2
> make: *** [internal-all] Error 2
>
> this is when i try to call xml2 method ?
> don't i need to tell the linker to include the libxml2?
>
> here is my sample code :
> -(void) ExtractInnerSiteLinks:(NSString*) PageHtml:(NSString*) url
> {
>
>
>         NSData* documentData = [PageHtml
> dataUsingEncoding:NSUTF8StringEncoding];
>         NSData* urlData = [url dataUsingEncoding:NSUTF8StringEncoding];
>         const char *cEncoding =[encoding UTF8String];
>         xmlDocPtr doc;
>         /*
>
>         htmlReadMemory (const char *buffer,
>                                          int size,
>                                          const char *URL,
>                                          const char *encoding,
>                                          int options);
>
>         */
>         doc = htmlReadMemory([documentData bytes],
>                                [documentData length],
>                                /*[urlData bytes]*/NULL,
>                                /*cEncoding*/NULL,
>                                HTML_PARSE_NOBLANKS | HTML_PARSE_NOERROR |
> HTML_PARSE_NOWARNING | HTML_PARSE_NONET);
>
>
>
> }
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://gnustep.8.n7.nabble.com/GNUSetup-objective-c-can-t-find-libxml-tree-h-file-not-found-tp32352p32362.html
>  To unsubscribe from GNUSetup objective-c , can't find libxml/tree.h file
> not found, click 
> here<http://gnustep.8.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=32352&code=bWVpcnkyNDJAZ21haWwuY29tfDMyMzUyfDE5OTE4MjU1NTU=>
> .
> NAML<http://gnustep.8.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://gnustep.8.n7.nabble.com/GNUSetup-objective-c-can-t-find-libxml-tree-h-file-not-found-tp32352p32363.html
Sent from the GNUstep - General mailing list archive at Nabble.com.
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to