WINDOWS 10 x64 COMPILER ERROR

Discussion on the use of Display creator software for MoTeC Colour displays

WINDOWS 10 x64 COMPILER ERROR

Postby jamel972 on Thu May 13, 2021 8:50 am

Hello,

My laptop is on Windows 10 x64 and it seems I encountered some issues with g++ compiler.

I'm trying to compile just one channel in a page

Code: Select all
12/05/2021 10:45:00   Info   Units file 'C:\Program Files\MoTeC\Common\1.0\Units\en\units.xml' loaded - 82 Units found.   (No event details available)
12/05/2021 10:45:00   Info   System Version 06.04.00.0004 selected.   (No event details available)
12/05/2021 10:45:00   Info   Create new project. Model: C125   (No event details available)
12/05/2021 10:45:05   Info   Load project file C:\Users\MY-NAME\Documents\MoTeC\Display Creator\DC-C125.dcproj   (No event details available)
12/05/2021 10:45:13   Error   Compiler error(s) and warning(s)   Compiler g++.exe generated the following error(s) and warning(s):

g++.exe: error: C:\Users\MY-NAME\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125\pc\Configuration.h: No such file or directory

g++.exe: error: C:\Users\MY-NAME\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125\pc\Channels.h: No such file or directory

g++.exe: error: C:\Users\MY-NAME\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125\pc\Comms.h: No such file or directory

g++.exe: error: C:\Users\MY-NAME\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125\pc\Functions.h: No such file or directory

g++.exe: error: C:\Users\MY-NAME\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125\pc\Render.h: No such file or directory

g++.exe: error: C:\Users\MY-NAME\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125\pc\Threads.h: No such file or directory

g++.exe: error: C:\Users\MY-NAME\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125\pc\Channels.cpp: No such file or directory

g++.exe: error: C:\Users\MY-NAME\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125\pc\Comms.cpp: No such file or directory

g++.exe: error: C:\Users\MY-NAME\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125\pc\Functions.cpp: No such file or directory

g++.exe: error: C:\Users\MY-NAME\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125\pc\Render.cpp: No such file or directory

g++.exe: error: C:\Users\MY-NAME\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125\pc\Threads.cpp: No such file or directory

g++.exe: error: C:\Users\MY-NAME\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125\pc\Main.cpp: No such file or directory


In this directory : C:\Program Files\MoTeC\CDD\6.4\Tools\compiler-pc\x86_64-w64-mingw32, mingwin32 compiler does not work yet on Windows 10 x64.

Do you know a way which work well on Windows 10 x64 please ?
jamel972
 
Posts: 7
Joined: Thu Apr 12, 2018 2:05 pm

Re: WINDOWS 10 x64 COMPILER ERROR

Postby adrian on Mon May 17, 2021 8:50 am

If you go to this location: C:\Users\<Username>\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125 are there any files?

Note: the temp folder will only exist after you have built (or attempted to build) the project.

If there is nothing there then there is a Windows permission issue that is stopping DC from creating files there.
adrian
MoTeC
 
Posts: 675
Joined: Mon Apr 13, 2015 4:16 pm

Re: WINDOWS 10 x64 COMPILER ERROR

Postby jamel972 on Wed May 19, 2021 11:30 am

adrian wrote:If you go to this location: C:\Users\<Username>\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125 are there any files?

Note: the temp folder will only exist after you have built (or attempted to build) the project.

If there is nothing there then there is a Windows permission issue that is stopping DC from creating files there.


Hello Adrian,

Thanks you for your help !

I've just tried to 'simulate' in display creator software and the temp directory appeared.

Code: Select all
Microsoft Windows [version 10.0.19041.985]
(c) Microsoft Corporation. Tous droits réservés.

C:\Users\Frédéric VIVES>cd C:\Users\Frédéric VIVES\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125\pc

C:\Users\Frédéric VIVES\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125\pc>dir
 Le volume dans le lecteur C s’appelle OS
 Le numéro de série du volume est FD13-5A70

 Répertoire de C:\Users\Frédéric VIVES\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125\pc

18/05/2021  21:11    <DIR>          .
18/05/2021  21:11    <DIR>          ..
18/05/2021  21:11             5 727 Channels.cpp
18/05/2021  21:11             5 695 Channels.h
18/05/2021  21:11            48 321 Comms.cpp
18/05/2021  21:11             1 252 Comms.h
18/05/2021  21:11               644 Configuration.h
18/05/2021  21:11         1 036 584 font_Arial_0x0.ttf
18/05/2021  21:11             3 075 Functions.cpp
18/05/2021  21:11               384 Functions.h
18/05/2021  21:11             2 854 image_0.png
18/05/2021  21:11               645 image_1.png
18/05/2021  21:11               281 image_10.png
18/05/2021  21:11               110 image_11.png
18/05/2021  21:11               183 image_12.png
18/05/2021  21:11             1 019 image_2.png
18/05/2021  21:11               487 image_3.png
18/05/2021  21:11               115 image_4.png
18/05/2021  21:11               387 image_5.png
18/05/2021  21:11               110 image_6.png
18/05/2021  21:11               303 image_7.png
18/05/2021  21:11               289 image_8.png
18/05/2021  21:11               278 image_9.png
18/05/2021  21:11               598 Main.cpp
18/05/2021  21:11             1 622 MTC576A.tmp
18/05/2021  21:11            17 318 Render.cpp
18/05/2021  21:11               246 Render.h
18/05/2021  21:11             4 407 Threads.cpp
18/05/2021  21:11               265 Threads.h
12/05/2021  10:37            39 720 tt0859m_.ttf
18/05/2021  21:11                 7 version.txt
              29 fichier(s)        1 172 926 octets
               2 Rép(s)  340 058 148 864 octets libres



do you think I have a permission error on these files ?
jamel972
 
Posts: 7
Joined: Thu Apr 12, 2018 2:05 pm

Re: WINDOWS 10 x64 COMPILER ERROR

Postby jamel972 on Wed May 19, 2021 11:44 am

adrian wrote:If you go to this location: C:\Users\<Username>\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125 are there any files?

Note: the temp folder will only exist after you have built (or attempted to build) the project.

If there is nothing there then there is a Windows permission issue that is stopping DC from creating files there.


Adrian,

Somes tasks doing after your question

1. I uninstall Display creator
2. install Display creator as Administrator
3. same things when 'simulate'.

I check permissions on the temp files generated into this folder 'C:\Users\<username>\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125\pc',
right click, security tab, full access on my login.
jamel972
 
Posts: 7
Joined: Thu Apr 12, 2018 2:05 pm

Re: WINDOWS 10 x64 COMPILER ERROR

Postby jamel972 on Wed May 19, 2021 11:57 am

adrian wrote:If you go to this location: C:\Users\<Username>\AppData\Local\MoTeC\DisplayCreator\6.4\Temp\DC-C125 are there any files?

Note: the temp folder will only exist after you have built (or attempted to build) the project.

If there is nothing there then there is a Windows permission issue that is stopping DC from creating files there.


Adrian,

Last est before going to sleep.

I try to activate the compatibility mode on display creator executable file
Code: Select all
C:\Program Files\MoTeC\CDD\6.4\Display Creator.exe

set on 'Windows 8' but I get the same errors.
jamel972
 
Posts: 7
Joined: Thu Apr 12, 2018 2:05 pm

Re: WINDOWS 10 x64 COMPILER ERROR

Postby adrian on Wed May 19, 2021 3:22 pm

We think the issue might have to do with particular unicode characters in your username. While we investigate and then fix the issue, as a work around you can try the following:

1. Open the registry editor in Windows (type regedit in the start menu)
2. Go to “HKEY_LOCAL_MACHINE\SOFTWARE\MoTeC\CDD\6.4” or “HKEY_CURRENT_USER\SOFTWARE\MoTeC\CDD\6.4\” (it will depend on how the software was installed, only one of those locations should exist)
3. There should be a key called 'Directories' but if not, create one.
4. Create a string called "TempFolder" and point it to a folder with no Unicode characters such as C:\Temp.

DC Temp Folder Reg String.png
DC Temp Folder Reg String.png (21.96 KiB) Viewed 1762 times

Let me know how you get on.
adrian
MoTeC
 
Posts: 675
Joined: Mon Apr 13, 2015 4:16 pm

Re: WINDOWS 10 x64 COMPILER ERROR

Postby jamel972 on Fri May 21, 2021 11:18 am

adrian wrote:We think the issue might have to do with particular unicode characters in your username. While we investigate and then fix the issue, as a work around you can try the following:

1. Open the registry editor in Windows (type regedit in the start menu)
2. Go to “HKEY_LOCAL_MACHINE\SOFTWARE\MoTeC\CDD\6.4” or “HKEY_CURRENT_USER\SOFTWARE\MoTeC\CDD\6.4\” (it will depend on how the software was installed, only one of those locations should exist)
3. There should be a key called 'Directories' but if not, create one.
4. Create a string called "TempFolder" and point it to a folder with no Unicode characters such as C:\Temp.

DC Temp Folder Reg String.png

Let me know how you get on.


Hello Adrian,

Everything is working !!!

As you said my username contain a space (<firstname lastname>), maybe it's the reason why it didn't work

Many thanks !
jamel972
 
Posts: 7
Joined: Thu Apr 12, 2018 2:05 pm

Re: WINDOWS 10 x64 COMPILER ERROR

Postby KapeTrack on Tue Jun 08, 2021 11:17 pm

Miałem ten sam problem, dzięki za rozwiązanie.

sdean: I had the same problem, thanks for the solution.
KapeTrack
 
Posts: 1
Joined: Wed Jun 02, 2021 7:02 pm
Location: Lublin


Return to Display Creator

Who is online

Users browsing this forum: No registered users and 1 guest