-
Notifications
You must be signed in to change notification settings - Fork 91
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
Build fails because both SuWidgets and SigDigger have the file Version.h #197
Comments
Hi Yuri,
Can you detail what your system is, which compiler & version are you using,
and what Qt version are you linking?
Thanks,
El dom., 8 ene. 2023 9:25, ***@***.*** ***@***.***> escribió:
… --- SigDiggerHelpers.o ---
Misc/SigDiggerHelpers.cpp:53:18: error: use of undeclared identifier 'SIGDIGGER_VERSION_STRING'
return QString(SIGDIGGER_VERSION_STRING);
^
1 error generated.
Adding -I${srcdir}/include before all other options helps, but you should
rename Version.h files to prevent this conflict.
—
Reply to this email directly, view it on GitHub
<#197>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEVET6OODYVXEJTWMG44P3WRJ2Y5ANCNFSM6AAAAAATUOECJI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Also, I'd like to know how what steps you are following in order to compile. Version.h are two different files that must exist in SuWidgets AND SigDigger, and the build system should tell them apart. |
I build with qmake. First, I get this error:
Once the path to WFHelpers.h is added it fails because the same folder where WFHelpers.h is also has Version.h FreeBSD 13.1 |
I must admit, I am a bit confused. SigDigger has been built in FreeBSD in
the past, but I believe we never faced this issue earlier. In fact,
SigDigger and SuWidgets' Version.h should never conflict because they are
in different subdirectories.
How did you install SuWidgets? make install after qmake? Can you paste here
the output of the make install?
PS: for quick build and deployment I created a script named blsd (
https://actinid.org/blsd) some time ago, that downloads SigDigger and
builds it inside a user directory, without touching anything system-wide. I
must admit, I never tried it in FreeBSD, can you tell me whether it works
for you?
Cheers,
El dom., 8 ene. 2023 10:18, ***@***.*** ***@***.***>
escribió:
… I build with qmake.
First, I get this error:
In file included from Components/QTimeSlider.cpp:27:
In file included from include/SigDiggerHelpers.h:24:
include/Suscan/Library.h:37:10: fatal error: 'WFHelpers.h' file not found
#include <WFHelpers.h>
^~~~~~~~~~~~~
Once the path to WFHelpers.h is added it fails because the same folder
where WFHelpers.his also has Version.h
—
Reply to this email directly, view it on GitHub
<#197 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEVETYM7I2EEQRKN6WKUO3WRKBAFANCNFSM6AAAAAATUOECJI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
https://people.freebsd.org/~yuri/suwidgets-0.1.0-147.log I only use the FreeBSD ports framework to build software. This leads to reproducible, standardized builds. |
That is excellent news, because I believe I can setup a system identical to
yours and attempt to reproduce your errors step by step. Do you have a link
at hand to a CD / disk I can use to setup a VM?
Cheers,
El dom., 8 ene. 2023 10:39, ***@***.*** ***@***.***>
escribió:
… https://people.freebsd.org/~yuri/suwidgets-0.1.0-147.log
I only use FreeBSD ports framework to build software. This leads to
reproducible, standardized builds.
—
Reply to this email directly, view it on GitHub
<#197 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEVET3IZWURYKFWTYAHQATWRKDMRANCNFSM6AAAAAATUOECJI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
|
FWIW, I have my own script to build SigDigger locally. I does the bare minimum without any fancy stuff like @BatchDrake's script. Just FWIW. I just ran it on the latest develop branch, and everything builds ok. I also tried to build the sigdigger port on my other fbsd 13.1 box just now (cd /usr/ports/comms/sigdigger; make) and all 4 packages successfully built. (I used portsnap to fetch & update.)
|
Hi Yuri, I failed to find SigDigger in that git. Neither in |
SigDigger is in the main branch: https://cgit.freebsd.org/ports/tree/comms/sigdigger
|
Hi Yuri, Just found the directory, thanks! I also had time to look into your Makefile(s) more closely, and I now believe I understand what happened here. According to the generated SuWidgets Makefile, you set the
Which is basically what @jeffpc did earlier in his example. PS: I was going to direct you to the Users' Manual (page 12). However, I now realize that I mentioned that everything was installed in Hope this clarified all this a bit. |
All these ports do - they call qmake/cmake with all default settings. |
And they do: if you don't provide a In any case, I believe you have your fix now. Just pass |
Ok, thanks, it works with |
Adding
-I${srcdir}/include
before all other options helps, but you should rename Version.h files to prevent this conflict.The text was updated successfully, but these errors were encountered: