Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Triangles [TRI] - low supply X13 PoS over TOR with secure messaging
by
whalebone
on 07/10/2020, 03:03:41 UTC
So, I had some issues compiling from source a couple of years in the past and gave up (I haven't tried recently). I am a little bit out of my element, as I am more of a frontend developer.

Is there anyone who might be willing to share a pre-compiled daemon to test out? We could benefit from maybe requesting integration with Coinomi wallet. I'm willing to help out with that if someone wants to give me some pointers on compiling from source, I have never done this before.

https://coinomi.freshdesk.com/support/solutions/articles/29000009776-which-coins-do-you-support-how-can-i-add-more-

I am going to try to compile again over this weekend and post more updates about my escapades.

"I just tried to build Triangles from source but again get this error:

HAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/net.d -o obj/net.o net.cpp
net.cpp:57:37: error: ‘USE_UPNP’ was not declared in this scope
 bool fUseUPnP = GetBoolArg("-upnp", USE_UPNP);
                                     ^
net.cpp: In function ‘void run_tor()’:
net.cpp:1947:5: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
     };
     ^
net.cpp:1947:5: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
net.cpp:1947:5: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
makefile.unix:273: recipe for target 'obj/net.o' failed
make: *** [obj/net.o] Error 1

Any ideas how to fix this?

DEVELOPERS ANSWER:

Build with

Code:
make -f makefile.unix "USE_UPNP=0"

instead of
Code:
make -f makefile.unix "USE_UPNP=-"
.
[/quote]

I haven't seen this error before. I only have success when building on ubuntu 16.04. I build using:

Code:
qmake -project
Code:
qmake trianglecoin.pro
Code:
make