Skip to content
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

getting error in RUNETagGenerator #7

Open
ihtishamaliktk opened this issue Jan 27, 2021 · 2 comments
Open

getting error in RUNETagGenerator #7

ihtishamaliktk opened this issue Jan 27, 2021 · 2 comments

Comments

@ihtishamaliktk
Copy link

The RUNETag builds fine but when I build RUNETagGenerator I get the following error. Now I have this libRUNETag.a in the build of RUNETag. Is it the same? and how can I use it in the generator?

[ 90%] Building CXX object CMakeFiles/RUNETagGenerator.dir/RUNETagGenerator_automoc.cpp.o
make[2]: *** No rule to make target '../../dist/lib/libRUNETag.a', needed by 'RUNETagGenerator'.  Stop.
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/RUNETagGenerator.dir/all' failed
make[1]: *** [CMakeFiles/RUNETagGenerator.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
@ihtishamaliktk ihtishamaliktk changed the title geting error in RUNETagGenerator getting error in RUNETagGenerator Jan 27, 2021
@ihtishamaliktk
Copy link
Author

I was able to avoid the above issue by making changes in the CMakeLists of RUNETagGenerator and changing /../dist/lib/libRUNTEtag.a to /../RUNETag/build/libRUNTEtag.a which was the address for the required file.
Although everything builds fine (with a few warnings) and the RUNETagGenerator executable now opens up, however, it is unresponsive and no tags show up although UI buttons and dialogue boxes are responsive.

~/RUNEtag/RUNETagGenerator/build$ make
Scanning dependencies of target RUNETagGenerator_automoc
[  9%] Automatic moc for target RUNETagGenerator
AUTOGEN: warning: /home/civit/RUNEtag/RUNETagGenerator/MarkPointSet.cpp: file is empty

Generating moc_runetaggenerator.cpp
[  9%] Built target RUNETagGenerator_automoc
[ 18%] Generating qrc_runetaggenerator.cpp
RCC: Warning: No resources in '/home/civit/RUNEtag/RUNETagGenerator/runetaggenerator.qrc'.
[ 27%] Generating ui_runetaggenerator.h
Scanning dependencies of target RUNETagGenerator
[ 36%] Building CXX object CMakeFiles/RUNETagGenerator.dir/main.cpp.o
[ 45%] Building CXX object CMakeFiles/RUNETagGenerator.dir/MarkPoint.cpp.o
[ 54%] Building CXX object CMakeFiles/RUNETagGenerator.dir/MarkPointSet.cpp.o
[ 63%] Building CXX object CMakeFiles/RUNETagGenerator.dir/runetaggenerator.cpp.o
/home/civit/RUNEtag/RUNETagGenerator/runetaggenerator.cpp:22:0: warning: "M_PI" redefined
 #define M_PI 3.141592
 ^
In file included from /usr/include/c++/5/cmath:44:0,
                 from /usr/include/c++/5/complex:44,
                 from /home/civit/RUNEtag/RUNETagGenerator/MarkPointSet.h:6,
                 from /home/civit/RUNEtag/RUNETagGenerator/runetaggenerator.h:6,
                 from /home/civit/RUNEtag/RUNETagGenerator/runetaggenerator.cpp:1:
/usr/include/math.h:418:0: note: this is the location of the previous definition
 # define M_PI  3.14159265358979323846 /* pi */
 ^
[ 72%] Building CXX object CMakeFiles/RUNETagGenerator.dir/TagCode.cpp.o
[ 81%] Building CXX object CMakeFiles/RUNETagGenerator.dir/qrc_runetaggenerator.cpp.o
[ 90%] Building CXX object CMakeFiles/RUNETagGenerator.dir/RUNETagGenerator_automoc.cpp.o
[100%] Linking CXX executable RUNETagGenerator
[100%] Built target RUNETagGenerator

@wsakobe
Copy link

wsakobe commented Feb 15, 2023

I have the same problem as you, can you solve it now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants