Unable to start program qxBlog.exe

Forum for posting problems using QxOrm library

Re: Unable to start program qxBlog.exe

Postby caseybasichis » Sun Apr 29, 2012 9:47 pm

Hi,

I tried compiling the x86 version but I'm still getting the same error.

To make sure there were no confilicts with old x64 paths:
I uninstalled Qt
I changed the names of the boost and Qt directories to _x64
I reinstalled Qt (didn't compile) and your boost
I checked the PATH env to make sure boost and qt were pointing to x86
I extracted a new clean QxOrm dir
Edited pri and added boost and QxOrm to the include and library directories of the 32bit build
This is just the basic QxBlog.sln from you package after the visual studio updater run when starting the project for the first time
I didn't add any x64 targets or anything like that. This should be full x86

http://caseyjamesbasichis.com/QxOrm/QxOrmError05.rtf

It builds but exists when running immediately.

I also tied the 1.2.4beta. I also tried uninstalling Qt4.8.1 and going for Qt4.8.0 -- changed the PATH env
caseybasichis
 

Re: Unable to start program qxBlog.exe

Postby QxOrm admin » Mon Apr 30, 2012 7:15 am

All your steps to install your dev environment are correct.
But I read your QxOrmError05.rtf file, and there are some things strange :
1- first, the compilation of QxOrm library seems ok => very well ;)
2- but for qxBlog project, it's strange because there is nothing to compile !!!
3- then, when you start your qxBlog project, this is not the good boost library loaded : boost_serialization-vc90-mt-gd-1_49.dll is the binary for MSVC2008, you must use boost_serialization-vc100-mt-gd-1_49 for MSVC2010 !!!

So, you must modify the boost library loaded into your QxOrm.pri file.
And also take a look at point 2- : why there is nothing to do to compile qxBlog project ?
QxOrm admin
 

Re: Unable to start program qxBlog.exe

Postby caseybasichis » Mon Apr 30, 2012 8:09 pm

That was it! I didn't realize the boost files referred to different versions of vs.

I got it compiled and running via the instructions for x86

I then rebuilt Qt 4.8.1 for x64 and got QxOrm 1.2.4 running on x64 as well. Both run and post data in the output window like:

Code: Select all
...
...
-- class 'category' (name 'category', description '', version '0', base class '')
   * list of registered properties (4)
      category_id (id)
      name
      description
      list_blog (relation many-to-many)
   * list of registered functions (0)

[QxOrm] end dump all registered classes
QxOrm.DllMain() ---> DLL_PROCESS_DETACH
The program '[9828] qxBlogd.exe: Native' has exited with code 0 (0x0).

I'll run the rest of the test projects tonight to double check the setup. Thank you so much for all of you help I am very excited about getting this system integrated into my project.
caseybasichis
 

Previous

Return to QxOrm - Help

Who is online

Users browsing this forum: No registered users and 5 guests