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

All about Windows versions
Post Reply
xiaolu
Posts: 36
Joined: Fri Apr 02, 2021 9:42 am

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

Post 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 65146 times
2. Select this in cmake
Picture2.png
Picture2.png (34.34 KiB) Viewed 65146 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 65146 times
Right-click ALL_BUILD, click Regenerate
Picture4.png
Picture4.png (33.86 KiB) Viewed 65146 times
4. I get this in the file
Picture5.png
Picture5.png (60.57 KiB) Viewed 65146 times
Double-click to open and display
Picture6.png
Picture6.png (8.11 KiB) Viewed 65146 times
In windows event viewer, it shows this.



can you help me
xiaolu
Posts: 36
Joined: Fri Apr 02, 2021 9:42 am

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

Post by xiaolu »

the last picture
Attachments
Picture7.png
Picture7.png (45.46 KiB) Viewed 65144 times
xiaolu
Posts: 36
Joined: Fri Apr 02, 2021 9:42 am

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

Post by xiaolu »

But I compiled cloudcompare2.10.2 in the same way and it worked.
xiaolu
Posts: 36
Joined: Fri Apr 02, 2021 9:42 am

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

Post 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.............
xiaolu
Posts: 36
Joined: Fri Apr 02, 2021 9:42 am

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

Post 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~
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

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

Post by daniel »

Frankly, I have no idea...
Daniel, CloudCompare admin
daerzhimeng
Posts: 1
Joined: Sun Aug 29, 2021 6:47 am

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

Post 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?
xiaolu
Posts: 36
Joined: Fri Apr 02, 2021 9:42 am

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

Post by xiaolu »

no ,
i use cc2.11.3 with qt5.9.2 .
Post Reply