Hi,

it works for me. Somehow gcc do not find the right library. But since 
clang finds it, there must be some other issue.

I remember that some times ago we had problems with ordering of link 
flags. I don't quite remember but try to put the -lcxxtools flag to the 
end like this:

g++ -I/usr/local/include -L/usr/local/lib -o jsonwrite jsonwrite.cpp 
-lcxxtools

Tommi



Am 11.08.2014 15:33, schrieb Robert Goley:
> I verified the the Ubuntu package was uninstalled.  I ran "find 
> /usr/lib -name libcxx\*" to make sure there were no left over libs 
> installed.  I installed the cxxtools libs to /usr/local/lib from my 
> build.  I ensured the ldconfig was ran (as root) so the libs would be 
> found properly.  Currently, that version is GIT version 
> 7f195300e07dfd82dc81a8835ea02e27435769bc which was the version where 
> this howto was checked in.  I tried the latest and greatest before 
> that.  I have attached the source file I am compiling and the output 
> from running the command you specified.
>
> To throw another wrench in the works, I tested compiling it with the 
> clang++ compiler.  I do this from time to time because of the better 
> readable logging it provides compared to gcc.  It compiles without 
> issue under clang.  The issue seems to be between GCC and CXXTOOLS 
> somehow.  Sadly, I can'y use clang with the project I hope to use 
> cxxtools with.
>
...

------------------------------------------------------------------------------
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to