-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to build tidy-json.cxx #5
Comments
@paxperscientiam it would be difficult, but not impossible, to directly use a compiler like that... I have now added a Once you have installed cmake, you should be able to build this project with the following -
And provided you at least have You have chosen quite a difficult project to cut your C/C++ teeth on ;=)) You should at least be able to build https://github.com/htacg/tidy-html5 tidy, which this suite is based on... Feel free to ask questions if you are still have trouble... |
Hi @geoffmcl . Yeah, I'm sure that I'm in over my head :)
I tried pointing to headers and such, but no luck.
Thoughts? ty EDIT: I am running the macport version of tidy. Version is this: |
@paxperscientiam well this seems to be further along... The output from the I am not familiar with the macport... where exactly are I searched around for Multiple runs of #!/bin/sh
#< cmake-clean - 20130702 - 20120612
BN=`basename $0`
echo "$BN: Running cmake-clean 20130702"
TMPFIL="cmake-clean.txt"
TMPDIRS="CMakeFiles"
TMPFILS="cmake_install.cmake Makefile CMakeCache.txt bldlog-1.txt"
# delbu . -n # del *~ files
# deltemp NOPAUSE # del temp* files..
for arg in $TMPDIRS; do
if [ -d "$arg" ]; then
echo "$BN: delete directory [$arg]"
rm -rf $arg
fi
done
for arg in $TMPFILS; do
if [ -f "$arg" ]; then
echo "$BN: delete file [$arg]"
rm -f $arg
fi
done
# page of 'operators' from : http://tldp.org/LDP/abs/html/fto.html
if [ -f "$TMPFIL" ]; then
echo "$BN: Reading and processing input file $TMPFIL"
while read LINE; do
if [ -d "$LINE" ]; then
echo "$BN: delete Directory [$LINE]"
rm -rf $LINE
elif [ -f "$LINE" ]; then
echo "$BN: delete File [$LINE]"
rm -f $LINE
elif [ -L "$LINE" ]; then
echo "$BN: delete Link [$LINE]"
rm -f $LINE
#else
# if [ ! -z "$LINE" ]; then
# echo "$BN: Not -d, -f, -L! What is this '$LINE'"
# fi
fi
done < $TMPFIL
fi
echo "$BN: remaining after clean..."
ls -l
# eof And to see the command passed to the compiler/linker add Keep at it... you will get there... |
Hi @geoffmcl Locations of stuff:
I don't see any The problem may come down to this (capturing files from two different builds):
... OK, this was the problem. When I set paths for This was the command I used: I'm guessing Oh, and thanks for the script -- works very nicely! For posterity, here is the complete output from the above command:
In case you're wondering why I'm digging into this, I'm trying to help make The build of EDIT: So, if I understand correctly, work on tidy-json needs to be completed? Was/is the plan to merge into main? |
@paxperscientiam glad to hear you seem to have got there... good work... congrats... ;=)) Yes, I should have remembered, the It is Now it is also But the first cmake output configuration seems very confused... it mentions both!
Why does it reference Ok, you cleaned that all away, and added an exclude
Seems a little more to understand here, but no problem, you got it working... Now as to the functionality of Briefly look at the code, I think I was using it to test my ability to write I used the So there will be no additional work on Do not know how helpful this would be in Hope this helps... |
Indeed, there is a symlink that points to It belongs to a very old version of 2006!
Understood. This may be a good opportunity for me start learning
Is that to say there's an API of sorts that I could study? Thanks a lot for your help @geoffmcl. It would be cool if I could build on your work. I'll try not to trouble you with frivolous PRs. :D |
|
Hi @geoffmcl , I'm very new to
C
, so please bear with me. I'm trying to buildtidy-json.cxx
; however, I'm running into the following error:Do you know what it means? Thanks.
The text was updated successfully, but these errors were encountered: