Menu
Logged-In As
ACCOUNTNot Logged In
Fix Visual Studio Express build issuesBRL-CAD
Status: ClosedTime to complete:
72 hrs
Mentors: starseeker
This is a follow-on task to http://www.google-melange.com/gci/task/view/google/gci2013/5857193869967360
Станислав was able to get BRL-CAD compiled using Visual Studio Express 2012 but only after making several modifications. The purpose of this task is to turn those quick fixes into more permanent, proper corrections.
Looking at the build notes, this minimally will include fixing (if not already fixed):
- a syntax error in dm-wgl.c
- an unresolved symbol, db5_attr_std
- some include path failure (shouldn't need to copy zlib.h/zconf.h/regex.h, they're in other dirs that should be searched during compilation where needed)
If you cannot figure out the include path failure, at least submit a succinct compilation example (from the verbose compilation log) that shows the compile line and the compile error that results.
References:
- http://brlcad.org/wiki/Patches
Using our latest trunk sources from SVN, submit a patch file of changes that get BRL-CAD compiling by default with Visual Studio Express.
Uploaded Work
File name/URL | File size | Date submitted | |
---|---|---|---|
BRL-CAD.zip | 243.4 KB | December 22 2013 21:00 UTC |
I would like to work on this task.
This task has been assigned to Станислав Берегов. You have 72 hours to complete this task, good luck!
These were the errors some days ago. Now, using the latest trunk sources /revisions 58904-59108/, the build system fails and Visual Studio returns this error:
error MSB6006: "cmd.exe" exited with code -1073741515.
during the generation of attr_std_table_xml and attr_std_list_xml.
I'm struggling from hours now and can't find any problems in the make lists or in the code except that Cmake crashes. The configuration passes without any errors, this happens during the compilation. What can cause the 0xc0000135 exception in Cmake?
There is a script file that is attempting to run a program that should be located in the build directory: misc/attributes/gen-attributes-file (or possibly misc/attributes/gen-attributes-file.exe) The next step is to locate that program and try running it directly from the Windows command prompt. If it works, there's likely a problem with the CMake logic - otherwise, it's probably an issue with the program itself.
Well, great, there is a problem with libbu.dll, which exists, but is not found by the gen-attributes-file.exe. I should check where the executable expects it to be and fix it.
When the libraries are in /misc/attributes/Release/ it works, but they must be loaded from /Release/bin
I tried so many things to fix the bin path problem. In Visual Studio all of the gen-attributes-file references are correct. My final chance was to include the '${CMAKE_BINARY_DIR}/Release/bin/' directory into the gen-attributes-file's CMakeList - again without any success. The libraries and the executable are there, just VS can't link them at runtime. Also the bin folder depends on the solution configuration and the path varies.
Melange has detected that the initial deadline has passed and it has set the task status to ActionNeeded. The student has 24 hours to submit the work before the task is reopened and sent back to the pool for other students to claim.
similar to what you did in the previous task. It looks like you found an additional issue which prevents you from solving one of the others.
There will be follow on tasks too for fixing all these issues.
The deadline of the task has been extended with 1 days and 0 hours.
The work on this task is ready to be reviewed.
Having to do with how path searching for libraries works on Windows. The supplied information is enough to successfully identify the issue, and resolving it is a tough problem.
Congratulations, this task has been completed successfully.