Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Virtual Machine incorrect setting: (9 Items)
   
Virtual Machine incorrect setting  
Hi, I'm try to create a VM using Momentics IDE  7.1.2.v202203081633., for QNX7.1
VM used is vmware and x86_64 as target CPU, I've also specified --graphics=yes

During build of VM I see the following messages:
Generating system partition . . .
Warning: Host file 'usr/lib/libcurl.so.10' missing. 
Warning: Host file 'usr/lib/libcares.so.4' missing.
Warning: Host file 'usr/bin/font-freetype' missing.
Warning: Host file 'usr/lib/libpng16.so.0' missing.

Digging into intallation I've found some misalligned library
 'usr/lib/libcurl.so.10' missing.  <== I've found libcurl.so.11
 'usr/lib/libcares.so.4' missing.  <== 've found libcares.so.6
 'usr/lib/libpng16.so.0' missing.  <== 've found libpng16.so.16

font-freetype is found into armle-v7\usr\bin\ but is missing for  aarch64le and x86_64
but this file is present in the 7.0 installation.in all architecures

Question: way it is disappeared in some archs and where I can find it? 

For the other  missing dll it is required to edit the system.build file and change
the version number:

############################################
### Customization
#############################################
lib/libcurl.so.11=usr/lib/libcurl.so.11
lib/libcares.so.6=usr/lib/libcares.so.6

#########################################
## more libraries
#########################################
/lib/libpng16.so.16=usr/lib/libpng16.so.16

Thanks,
Mario


Re: Virtual Machine incorrect setting  
Are you using qnx software center to install packages in sdp? Because it should not mismatch that badly, are you sure 
you not mixing between 7.0 and 7.1 sdp? Check that Momenitcs point to right sdp
There is was no font-freetype in 7.1 only in 7.0
Re: Virtual Machine incorrect setting  
Thanks Elena: and Yes, I'm using the software center to installa packages is spd.
I've installed both 7.0 and 7.1 
And I'm quite sure the spd used is the 7.1, this is one line dumped from Momentics
console:
D:/qnx710/host/win64/x86_64/usr/bin/make.exe -j 1 -Co-le-v7 -fMakefile all 
Eventually, is a clean up available?
Mario

Re: Virtual Machine incorrect setting  
Make is not relevant I think you were talking about mkqnximage which is tool that build images, that
tool is not running with right SDP it seems
Re: Virtual Machine incorrect setting  
Elena, this is a rebuild of VM: it appears to me that the rigth spd is in use.....
Thanks for the support.

--- vm1 - process is launched with arguments [D:\qnx710\host\win64\x86_64\usr\bin\bash D:/qnx710/host/common/bin/
mkqnximage --noprompt --stop]
--- to copy text from this console use Shift+Ctrl+C
--- vm1 - process done
--- vm1 - process is launched with arguments [D:\qnx710\host\win64\x86_64\usr\bin\bash D:/qnx710/host/common/bin/
mkqnximage --noprompt --run]
--- to copy text from this console use Shift+Ctrl+C
--- vm1 - process done
--- vm1 - process is launched with arguments [D:\qnx710\host\win64\x86_64\usr\bin\bash D:/qnx710/host/common/bin/
mkqnximage --noprompt --stop]
--- to copy text from this console use Shift+Ctrl+C
--- vm1 - process done
--- vm1 - process is launched with arguments [D:\qnx710\host\win64\x86_64\usr\bin\bash D:/qnx710/host/common/bin/
mkqnximage --noprompt --stop]
--- to copy text from this console use Shift+Ctrl+C
Re: Virtual Machine incorrect setting  
It may be caching wrong stuff, or wrong stuff is there in a first place. Try to create new vm - if it has same issue - 
you would have to edit build files manually to correct
Re: Virtual Machine incorrect setting  
I' ve already created a number of VM, with different emulator (vmware, virtual box)
all with same problem: so will I have to manually edit each time the system.build?

Thanks
Mario
Re: Virtual Machine incorrect setting  
You can edit the files mkqnximage uses to construct the images. SoftwareCenter might complain about the integrity of 
your package but you can ignore that.

The files you'll need to edit are:

For libcurl and libcares
$QNX_HOST/../../common/mkqnximage/snippets/system_files.builtin

For libpng
$QNX_HOST/../../common/mkqnximage/opt_scripts/opt_graphics
Re: Virtual Machine incorrect setting  
Thank You very much! 
it is fixed now!

Mario