Page 1 of 1

Win64 can't open cc after compiling, it shows 0xc0000142

Posted: Thu Jul 01, 2021 9:48 am
by xiaolu
My compiled environment:

Win10 x64
Inte|(R) Core(TM) 17-9700 CPU @ 3.00GHz (8 CPUs), ~3.0GHz
DirectX 12
Intel(R) UHD Graphics 630
cmake3.20.5
qt5.9.1
vs2017 x64
cloudcompare2.11.3

1. Create a folder in the d drive as shown in the figure
Picture1.png
Picture1.png (17.4 KiB) Viewed 65142 times
2. Select this in cmake
Picture2.png
Picture2.png (34.34 KiB) Viewed 65142 times
Click on configure and generate

3. Find the sln file in the build folder and open it with vs2017

Right click all_build and click regenerate
Picture3.png
Picture3.png (40.01 KiB) Viewed 65142 times
Right-click ALL_BUILD, click Regenerate
Picture4.png
Picture4.png (33.86 KiB) Viewed 65142 times
4. I get this in the file
Picture5.png
Picture5.png (60.57 KiB) Viewed 65142 times
Double-click to open and display
Picture6.png
Picture6.png (8.11 KiB) Viewed 65142 times
In windows event viewer, it shows this.



can you help me

Re: Win64 can't open cc after compiling, it shows 0xc0000142

Posted: Thu Jul 01, 2021 10:33 am
by xiaolu
the last picture

Re: Win64 can't open cc after compiling, it shows 0xc0000142

Posted: Thu Jul 01, 2021 10:58 am
by xiaolu
But I compiled cloudcompare2.10.2 in the same way and it worked.

Re: Win64 can't open cc after compiling, it shows 0xc0000142

Posted: Fri Jul 02, 2021 6:35 am
by xiaolu
Today I was able to compile and run successfully with qt5.12.5.

But I am using qt5.9.1 in linux, I need to port the program to windows, in order to avoid unnecessary trouble, I still hope I can compile with qt5.9.1 successfully.............

Re: Win64 can't open cc after compiling, it shows 0xc0000142

Posted: Fri Jul 02, 2021 8:49 am
by xiaolu
I tested it today

cc2.10.3 qt5.9.1 works
cc2.11.3 qt5.9.1 not work
cc2.11.3 qt5.9.2 works

I think it's because cc2.11.3 and qt5.9.1 are in conflict.

But I don't know exactly what's wrong.
Please tell me why :(

thanks~

Re: Win64 can't open cc after compiling, it shows 0xc0000142

Posted: Sun Jul 04, 2021 8:55 pm
by daniel
Frankly, I have no idea...

Re: Win64 can't open cc after compiling, it shows 0xc0000142

Posted: Sun Aug 29, 2021 6:53 am
by daerzhimeng
xiaolu wrote: Fri Jul 02, 2021 8:49 am I tested it today

cc2.10.3 qt5.9.1 works
cc2.11.3 qt5.9.1 not work
cc2.11.3 qt5.9.2 works

I think it's because cc2.11.3 and qt5.9.1 are in conflict.

But I don't know exactly what's wrong.
Please tell me why :(

thanks~
I use cc2.11.3 qt5.9 not work and have the same issue like yours.

Have you solved the issue please?

Re: Win64 can't open cc after compiling, it shows 0xc0000142

Posted: Tue Sep 07, 2021 3:13 am
by xiaolu
no ,
i use cc2.11.3 with qt5.9.2 .