Search found 9 matches
- Wed May 12 2021 4:09 am
- Forum: KitchenSink
- Topic: Compile Error: cannot convert 'const char *' to 'const QString &'
- Replies: 2
- Views: 26650
Compile Error: cannot convert 'const char *' to 'const QString &'
I tried to compile KitchenSink with my compile of CopperSpice with MSVC without PostgreSQL that had the following error. ..\src\graphics\animated_tiles.cpp(106): error C2664: 'void QWidget::setWindowTitle(const QString &)': cannot convert argument 1 from 'const char *' to 'const QString &' T...
- Wed May 12 2021 1:03 am
- Forum: Installation
- Topic: Windows 10 MSVC compile
- Replies: 14
- Views: 27985
Re: Windows 10 MSVC compile
So I found another discussion on MSVC and Ninja that had an option I was not aware of for CMake. I was able to successfully compile with the following command: cmake -Bbuilds -G Ninja -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX=..\lib -DCMAKE_DISABLE_FIND_PACKAGE_ZLIB=TRUE -DCMAKE_...
- Tue May 11 2021 9:39 pm
- Forum: Installation
- Topic: Windows 10 MSVC compile
- Replies: 14
- Views: 27985
Re: Windows 10 MSVC compile
I do not think there are any more issues with PostgreSQL pthread.h. I get the following error now, though: D:\Program Files\PostgreSQL\10\include\Event.h(44): fatal error C1083: Cannot open include file: 'event2/event-config.h': No such file or directory Compiling has been taking quite a bit of RAM ...
- Tue May 11 2021 4:59 am
- Forum: Installation
- Topic: Windows 10 MSVC compile
- Replies: 14
- Views: 27985
Re: Windows 10 MSVC compile
How will renaming pthread.h affect PostgreSQL? What did you rename your pthread.h in your PostgreSQL 10 installation to? I tried to find a way to turn off building the optional Sql as a way to possibly resolve the pthread.h issue, but I do not see any CMake options in the CopperSpice documentation t...
- Mon May 10 2021 11:53 pm
- Forum: Installation
- Topic: Windows 10 MSVC compile
- Replies: 14
- Views: 27985
Re: Windows 10 MSVC compile
I think I got around the heap out of memory with -j option for ninja to run more concurrent jobs, but not quite sure. I tried ninja again and the compile continued on until more errors. It looks like there are more issues with me using PostgreSQL 10? D:\Program Files\PostgreSQL\10\include\Event.h(44...
- Mon May 10 2021 9:37 pm
- Forum: Installation
- Topic: Windows 10 MSVC compile
- Replies: 14
- Views: 27985
Re: Windows 10 MSVC compile
I am using CMake version 3.19. I had to use PostgreSQL 10 because the lab computers at one of the universities I was teaching databases at had that version installed. I've been enjoying your descriptions of your work on YouTube, and the compile-time counter design is so interesting! It reminds me of...
- Mon May 10 2021 7:26 pm
- Forum: Installation
- Topic: Windows 10 MSVC compile
- Replies: 14
- Views: 27985
Re: Windows 10 MSVC compile
I guess this issue has something to do with my PostgreSQL installation: ZLIB_INCLUDE_DIR:PATH=D:/Program Files/PostgreSQL/10/include I'm still learning more of CMake, and my next stepping stone is to learn how to install packages. How would you recommend I configure CMake for the version of zlib int...
- Mon May 10 2021 2:02 pm
- Forum: Installation
- Topic: Windows 10 MSVC compile
- Replies: 14
- Views: 27985
Re: Windows 10 MSVC compile
Ah, I did not realize that VS terminals had different environment (having other shortcuts on my desktop set up), one for WIN32 and one for x64. Not sure what difference native tools vs cross tools would mean. I'm planning on using CopperSpice for desktop dev, so I'm guessing native tools. The "...
- Sun May 09 2021 9:42 pm
- Forum: Installation
- Topic: Windows 10 MSVC compile
- Replies: 14
- Views: 27985
Windows 10 MSVC compile
My system is Windows 10, 20H2 build 19042.928, and I am using MSVC. I'm trying to follow all of the documentation, but I get the following error: [345/3846] Building CXX object src\core\CMakeFiles\CsCore.dir\tools\qbytearray.cpp.obj FAILED: src/core/CMakeFiles/CsCore.dir/tools/qbytearray.cpp.obj C:\...