Search found 18 matches

by Bocdan
Sat Oct 02, 2010 11:14 pm
Forum: SUB-20 General Discussion
Topic: SPI data transfer issue
Replies: 43
Views: 92152

SPI data transfer issue

Hello again, I have been working on the SUB-20 for a while now with an accelerometer ADXL345 (bought from sparkfun) through SPI the port. Now, the ADXL345 supports a data output of 3200Hz which I require for my project (actually my director wanted 5kHz but he settled for 3.2kHz). To contain the data...
by Bocdan
Sat Oct 02, 2010 10:27 pm
Forum: SUB-20 General Discussion
Topic: SUB-20-100120-x64 Link with sub20.dll
Replies: 12
Views: 25986

Re: SUB-20-100120-x64 Link with sub20.dll bug

I did fix that problem a while back by including libsub.h in stdafx.h instead (seems that's how you're always supposed to do things with MFC) and then include stdafx.h. Another thing to fix that linker problem is to remove the incremental build option in the project options.

Dan
by Bocdan
Fri Sep 10, 2010 4:54 am
Forum: SUB-20 General Discussion
Topic: SUB-20-100120-x64 Link with sub20.dll
Replies: 12
Views: 25986

Re: SUB-20-100120-x64 Link with sub20.dll bug

The problem happens when I add the pragma: #include "libsub.h" into my program There's no cross linking and I use that pragma only once but still it causes a LNK1000 error during the link which causes the linker to crash (easily recovered on Windows 7 but terribly slows my computer with Windows XP)....
by Bocdan
Fri Aug 27, 2010 7:24 pm
Forum: SUB-20 General Discussion
Topic: SUB-20-100120-x64 Link with sub20.dll
Replies: 12
Views: 25986

Re: SUB-20-100120-x64 Link with sub20.dll bug

Hi serg, First, thanks for all the help. I was able to build the x64 project. I forgot to switch it from win32 to x64 in the configuration manager. Second, here's the problem that I encounter when I install the 32 bits driver on my windows XP machine: http://i1233.photobucket.com/albums/ff393/bocdan...
by Bocdan
Sat Aug 21, 2010 10:41 pm
Forum: SUB-20 General Discussion
Topic: SUB-20-100120-x64 Link with sub20.dll
Replies: 12
Views: 25986

Re: SUB-20-100120-x64 Link with sub20.dll bug

I am running the 64bits executable on my Windows 7 computer, I found sub20.dll in SYSTEM32 after running the installer. Still when compiling the sub-win project (in C:\Program Files\SUB-20\sample\sub-win) from scratch without modifying it with Visual Studio 2008(9.0), it won't work. It says it "Can'...
by Bocdan
Sat Aug 21, 2010 6:27 pm
Forum: SUB-20 General Discussion
Topic: SUB-20-100120-x64 Link with sub20.dll
Replies: 12
Views: 25986

Re: SUB-20-100120-x64 Link with sub20.dll bug

Looks like this bug was reported before but I don't think it was fixed properly. See: http://xdimax.net/forum/viewtopic.php?f=2&t=6&start=0 They say they are moving sub20.dll from sysWOW64 to System32 in the x64 .exe file but when I open the project, it looks into the sysWOW64 folder for the .dll no...
by Bocdan
Sat Aug 21, 2010 6:18 pm
Forum: SUB-20 General Discussion
Topic: SUB-20-100120-x64 Link with sub20.dll
Replies: 12
Views: 25986

Re: SUB-20-100120-x64 Link with sub20.dll bug

I tried the latest files and I still have the same problem with the x64 version on Visual Studio 2008
by Bocdan
Sat Aug 21, 2010 5:42 am
Forum: SUB-20 General Discussion
Topic: SUB-20-100120-x64 Link with sub20.dll
Replies: 12
Views: 25986

SUB-20-100120-x64 Link with sub20.dll

Hi, Here it goes ! I am currently working and building my C++ project on 2 different computers, one using Windows XP (32 bits) and one using Windows 7 (64 bits). So I installed the SUB-20 Tools on but computers using the SUB-20-100120-x64.exe for Windows 7 and SUB-20-100120-x32.exe for Windows XP. I...