Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xrGame compile issue #13

Closed
ghost opened this issue Sep 7, 2014 · 7 comments
Closed

xrGame compile issue #13

ghost opened this issue Sep 7, 2014 · 7 comments

Comments

@ghost
Copy link

ghost commented Sep 7, 2014

Hopefully this will be the very final compilation issue I bug you with as I compiled every other dll fine.

I get this at the end of trying to compile xrGame.dll:

1> Generating Code...
1> cximage.lib(xmemfile.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
1>LINK : fatal error LNK1104: cannot open file 'LIBC.lib'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Any thoughts?

@ghost
Copy link
Author

ghost commented Sep 7, 2014

Scratch that, I added it to ignored dependancies under Linker.

Now I get this:
1>libjpeg.lib(jerror.obj) : error LNK2001: unresolved external symbol __iob
1>E:\dev\xray-master\xray-master\cs\binaries\Release\xrGame.dll : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

@nitrocaster
Copy link
Member

Where did you get libjpeg.lib? Compiled by yourself or downloaded from somewhere?
Maybe this will help: http://social.msdn.microsoft.com/Forums/vstudio/en-US/8846b4fb-6880-4583-a222-fe7c6615b66a/link-error-unresolved-external-symbol-iob

@ghost
Copy link
Author

ghost commented Sep 7, 2014

I downloaded it from here since I don't know how to compile it without Visual Studio: http://www.stillhq.com/panda/panda-documentation/000010.html

@nitrocaster
Copy link
Member

Ok, you can take my project here: https://dl.dropboxusercontent.com/u/63973281/dev/xray/jpeg.7z
Libraries included.

@ghost
Copy link
Author

ghost commented Sep 8, 2014

That worked, and I finally have all dll's and the exe compiled....and then I run into a new problem: http://imgur.com/jgdOTPP

Sorry again for continuing to ask questions, as you can tell I'm new at this.

@nitrocaster
Copy link
Member

That's weird, because BT_* functions are exported from BugTrap.dll, not from xrCore.dll. Make sure you don't use old libraries.

@ghost
Copy link
Author

ghost commented Sep 8, 2014

You just solved it. I forgot to include the new bugtrap dll. Game runs fine now. Time to add my changes :)

@ghost ghost closed this as completed Sep 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant