07-25-2007 12:56 PM
Hello everyone,
Do you have any other solution to make the compiler recognize the kLitlleEndian=1?
I added this line in the compiler tab in the project settings but I still have the error saying the target endianness is not specified.
Thank you for your help.
07-25-2007 01:00 PM
Hi,
I defined the kLitlleEndian =1 in the osiTypes.h file at the negining of the code (#define kLitlleEndian 1) and it works, I don't know if it's a bad thing to do but at least it compiles. Now I'm getting other errors about the target. I think the files for QNX dowsn't exist.
Here are the errors :
make -k EXTRA_SUFFIXES=cpp all --file=U:/PFE/monprojet/QMakefile36739.tmp
QCC osiBus.o tSTC.o tESeries.o
QCC -EL -g projet.o osiBus.o tSTC.o tESeries.o -o projet.exe
cc: unknown target 'gcc_ntox86le+debug'
cc: targets available in C:/QNX630/host/win32/x86/etc/qcc:
2.95.3,gcc_ntoarmbe
2.95.3,gcc_ntoarmbe_acpp-ne
2.95.3,gcc_ntoarmbe_acpp
2.95.3,gcc_ntoarmbe_cpp-ne
2.95.3,gcc_ntoarmbe_cpp
2.95.3,gcc_ntoarmbe_ecpp-ne
2.95.3,gcc_ntoarmbe_ecpp
2.95.3,gcc_ntoarmle
2.95.3,gcc_ntoarmle_acpp-ne
2.95.3,gcc_ntoarmle_acpp
2.95.3,gcc_ntoarmle_cpp-ne
2.95.3,gcc_ntoarmle_cpp
2.95.3,gcc_ntoarmle_ecpp-ne
2.95.3,gcc_ntoarmle_ecpp
2.95.3,gcc_ntomipsbe
2.95.3,gcc_ntomipsbe_acpp-ne
2.95.3,gcc_ntomipsbe_acpp
2.95.3,gcc_ntomipsbe_cpp-ne
2.95.3,gcc_ntomipsbe_cpp
2.95.3,gcc_ntomipsbe_ecpp-ne
2.95.3,gcc_ntomipsbe_ecpp
2.95.3,gcc_ntomipsle
2.95.3,gcc_ntomipsle_acpp-ne
2.95.3,gcc_ntomipsle_acpp
2.95.3,gcc_ntomipsle_cpp-ne
2.95.3,gcc_ntomipsle_cpp
2.95.3,gcc_ntomipsle_ecpp-ne
2.95.3,gcc_ntomipsle_ecpp
2.95.3,gcc_ntoppcbe
2.95.3,gcc_ntoppcbe_acpp-ne
2.95.3,gcc_ntoppcbe_acpp
2.95.3,gcc_ntoppcbe_cpp-ne
2.95.3,gcc_ntoppcbe_cpp
2.95.3,gcc_ntoppcbe_ecpp-ne
2.95.3,gcc_ntoppcbe_ecpp
2.95.3,gcc_ntoshle
2.95.3,gcc_ntoshle_acpp-ne
2.95.3,gcc_ntoshle_acpp
2.95.3,gcc_ntoshle_cpp-ne
2.95.3,gcc_ntoshle_cpp
2.95.3,gcc_ntoshle_ecpp-ne
2.95.3,gcc_ntoshle_ecpp
2.95.3,gcc_ntox86 (default)
2.95.3,gcc_ntox86_acpp-ne
2.95.3,gcc_ntox86_acpp
2.95.3,gcc_ntox86_cpp-ne
2.95.3,gcc_ntox86_cpp
2.95.3,gcc_ntox86_ecpp-ne
2.95.3,gcc_ntox86_ecpp
2.95.3,gcc_ntox86_gpp
3.3.5,gcc_ntoarmbe
3.3.5,gcc_ntoarmbe_acpp-ne
3.3.5,gcc_ntoarmbe_acpp
3.3.5,gcc_ntoarmbe_cpp-ne
3.3.5,gcc_ntoarmbe_cpp
3.3.5,gcc_ntoarmbe_ecpp-ne
3.3.5,gcc_ntoarmbe_ecpp
3.3.5,gcc_ntoarmbe_gpp
3.3.5,gcc_ntoarmle
3.3.5,gcc_ntoarmle_acpp-ne
3.3.5,gcc_ntoarmle_acpp
3.3.5,gcc_ntoarmle_cpp-ne
3.3.5,gcc_ntoarmle_cpp
3.3.5,gcc_ntoarmle_ecpp-ne
3.3.5,gcc_ntoarmle_ecpp
3.3.5,gcc_ntoarmle_gpp
3.3.5,gcc_ntomipsbe
3.3.5,gcc_ntomipsbe_acpp-ne
3.3.5,gcc_ntomipsbe_acpp
3.3.5,gcc_ntomipsbe_cpp-ne
3.3.5,gcc_ntomipsbe_cpp
3.3.5,gcc_ntomipsbe_ecpp-ne
3.3.5,gcc_ntomipsbe_ecpp
3.3.5,gcc_ntomipsbe_gpp
3.3.5,gcc_ntomipsle
3.3.5,gcc_ntomipsle_acpp-ne
3.3.5,gcc_ntomipsle_acpp
3.3.5,gcc_ntomipsle_cpp-ne
3.3.5,gcc_ntomipsle_cpp
3.3.5,gcc_ntomipsle_ecpp-ne
3.3.5,gcc_ntomipsle_ecpp
3.3.5,gcc_ntomipsle_gpp
3.3.5,gcc_ntoppcbe
3.3.5,gcc_ntoppcbe_acpp-ne
3.3.5,gcc_ntoppcbe_acpp
3.3.5,gcc_ntoppcbe_cpp-ne
3.3.5,gcc_ntoppcbe_cpp
3.3.5,gcc_ntoppcbe_ecpp-ne
3.3.5,gcc_ntoppcbe_ecpp
3.3.5,gcc_ntoppcbe_gpp
3.3.5,gcc_ntoshle
3.3.5,gcc_ntoshle_acpp-ne
3.3.5,gcc_ntoshle_acpp
3.3.5,gcc_ntoshle_cpp-ne
3.3.5,gcc_ntoshle_cpp
3.3.5,gcc_ntoshle_ecpp-ne
3.3.5,gcc_ntoshle_ecpp
3.3.5,gcc_ntoshle_gpp
3.3.5,gcc_ntox86
3.3.5,gcc_ntox86_acpp-ne
3.3.5,gcc_ntox86_acpp
3.3.5,gcc_ntox86_cpp-ne
3.3.5,gcc_ntox86_cpp
3.3.5,gcc_ntox86_ecpp-ne
3.3.5,gcc_ntox86_ecpp
3.3.5,gcc_ntox86_gpp
make: *** [projet.exe] Error 1
make: Target `all' not remade because of errors.
Thank you for your support.
07-25-2007 01:12 PM
make -k EXTRA_SUFFIXES=cpp all --file=U:/PFE/monprojet/QMakefile36750.tmp
QCC osiBus.o tSTC.o tESeries.o
osiBus.o: In function `tDMAMemory::~tDMAMemory(void)':
osiBus.o(.text+0xbc): undefined reference to `__builtin_delete'
osiBus.o: In function `tDMAMemory type_info function':
osiBus.o(.gnu.linkonce.t.__tf10tDMAMemory+0x1d): undefined reference to `__rtti_user'
tSTC.o: In function `tSTC::~tSTC(void)':
tSTC.o(.text+0x1583): undefined reference to `__builtin_delete'
tSTC.o: In function `tSTC type_info function':
tSTC.o(.gnu.linkonce.t.__tf4tSTC+0x1d): undefined reference to `__rtti_user'
tESeries.o: In function `tESeries::~tESeries(void)':
tESeries.o(.text+0x304): undefined reference to `__builtin_delete'
tESeries.o: In function `tESeries type_info function':
tESeries.o(.gnu.linkonce.t.__tf8tESeries+0x1d): undefined reference to `__rtti_user'
cc: C:/QNX630/host/win32/x86/usr/bin/i386-pc-nto-qnx6.3.0-ld caught signal 1
make: *** [projet.o] Error 1
make: Target `all' not remade because of errors.
If you know the source of these errors please help me.
thank you.
07-25-2007 01:36 PM
It's me again.
I'm sorry about all the messages I was sending, it's just because I still have 3weeks to finish my application and I still at the start.
I resolved all the problems I posted in the three last messages.
About the last one, I didn't specify the target in compiler command to generate the executable, now the command looks like this :
CXX := QCC -Vgcc_ntox86
Now I have the executable I needed.
Now Tom you told at begining of our chat that I need to execute the isDaq utility to make sure that my device is recognized. I exucuted the utility but I got this follwing error coming from sys/platform.h file :
#error not configured for CPU
I used VC++ 6.0 to excute isDaq.
There is any thing I have to change to be able to execute it.
Thank you.
07-25-2007 02:03 PM - edited 07-25-2007 02:03 PM
Message Edited by Tom W [DE] on 07-25-2007 02:04 PM
07-25-2007 02:59 PM
09-06-2007 01:07 PM