Please help me compilated and link my branch CopperSpice!
Posted: Sat May 13 2023 2:10 pm
My branch this - https://github.com/Navadvipa-Chandra-das/copperspice
My application this - https://github.com/Navadvipa-Chandra-das/PrabhupadaDictionary
But at the moment the assembly of Prabhupada Dictionary is not possible, because CopperSpice is not being assembled.
[3770/3845] Linking CXX shared library bin\libCsGui1.8.dll
FAILED: bin/libCsGui1.8.dll lib/libCsGui1.8.dll.a
cmd.exe /C "cd . && C:\mingw64\bin\c++.exe -Wa,-mbig-obj -O3 -DNDEBUG -Wl,--no-undefined -shared -o bin\libCsGui1.8.dll -Wl,--out-implib,lib\libCsGui1.8.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\CsGui.rsp && cd ."
c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: src/gui/CMakeFiles/CsGui.dir/widgets/qmainwindow.cpp.obj:qmainwindow.cpp:(.text+0x3b94): undefined reference to `QPrabhupadaStorage::LoadObject(QObject*, QPrabhupadaStorageKind)'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Compilation of all CopperSpice files was successful, but the Cs Gui library cannot find the body of the QPrabhupadaStorage::LoadObject() function, although this function is present in the file QPrabhupada.cpp .
I am using GCC compiler 12.2.0 + LLVM/Clang/LLD/LLDB 16.0.0 + MinGW-w64 10.0.0 (UCRT) - release 5.
This compiler works well, although it throws a lot of warnings. Until I added my CsPrabhupada library to CopperSpice, everything was fine, and when I added CsPrabhupada, difficulties immediately began. The fact is that CsPrabhupada uses types from CsGui and CsSql, and so I randomly and by touch began to edit various CMakeLists.txt and *.cmake files, but I mostly just look at them and fix something by analogy. I do not know CMake subtleties. Please help me!
Thank You very much!
With best regards, Navadvipa Chandra das.
My application this - https://github.com/Navadvipa-Chandra-das/PrabhupadaDictionary
But at the moment the assembly of Prabhupada Dictionary is not possible, because CopperSpice is not being assembled.
[3770/3845] Linking CXX shared library bin\libCsGui1.8.dll
FAILED: bin/libCsGui1.8.dll lib/libCsGui1.8.dll.a
cmd.exe /C "cd . && C:\mingw64\bin\c++.exe -Wa,-mbig-obj -O3 -DNDEBUG -Wl,--no-undefined -shared -o bin\libCsGui1.8.dll -Wl,--out-implib,lib\libCsGui1.8.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\CsGui.rsp && cd ."
c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: src/gui/CMakeFiles/CsGui.dir/widgets/qmainwindow.cpp.obj:qmainwindow.cpp:(.text+0x3b94): undefined reference to `QPrabhupadaStorage::LoadObject(QObject*, QPrabhupadaStorageKind)'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Compilation of all CopperSpice files was successful, but the Cs Gui library cannot find the body of the QPrabhupadaStorage::LoadObject() function, although this function is present in the file QPrabhupada.cpp .
I am using GCC compiler 12.2.0 + LLVM/Clang/LLD/LLDB 16.0.0 + MinGW-w64 10.0.0 (UCRT) - release 5.
This compiler works well, although it throws a lot of warnings. Until I added my CsPrabhupada library to CopperSpice, everything was fine, and when I added CsPrabhupada, difficulties immediately began. The fact is that CsPrabhupada uses types from CsGui and CsSql, and so I randomly and by touch began to edit various CMakeLists.txt and *.cmake files, but I mostly just look at them and fix something by analogy. I do not know CMake subtleties. Please help me!
Thank You very much!
With best regards, Navadvipa Chandra das.