Help - Search - Members - Calendar
Full Version: Problems compiling foo_vis_simple_spectrum (0.8.3)
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Development - (fb2k)
kahm
I'm trying to work on this plugin a little bit myself. Never having coded in this language before, this is proving to be quite difficult, but I'm wondering if anyone could shed some light as to why I can't get a simple comple after NO source code changes whatsoever. I'm using Visual C++ express edition, and I keep getting these kinds of errors (after getting all the reqired dependencies, proper SDK, and warding off a few errors due to VC++ being strict):

"error LNK2001: unresolved external symbol"

and

"error LNK2019: unresolved external symbol"

I'm reading that this could be due to a number of factors, but perhaps someone here would have a better idea as to what is going on (maybe even the original developer!). If anyone wants more info, I can give you the full error log.

I hope that I can get this working and try to make a port for .9, that's my goal anyway. Thanks!
vonmeth
QUOTE(kahm @ May 7 2006, 17:04) *

I'm trying to work on this plugin a little bit myself. Never having coded in this language before, this is proving to be quite difficult, but I'm wondering if anyone could shed some light as to why I can't get a simple comple after NO source code changes whatsoever. I'm using Visual C++ express edition, and I keep getting these kinds of errors (after getting all the reqired dependencies, proper SDK, and warding off a few errors due to VC++ being strict):

"error LNK2001: unresolved external symbol"

and

"error LNK2019: unresolved external symbol"

I'm reading that this could be due to a number of factors, but perhaps someone here would have a better idea as to what is going on (maybe even the original developer!). If anyone wants more info, I can give you the full error log.

I hope that I can get this working and try to make a port for .9, that's my goal anyway. Thanks!


In no way trying to be rude, though it might sound like it. (I'm tired and can't really word everything right)

What language have you coded in? I'd wager that you should probably learn all the basics of C++, and work up from there before attempting to port a complicated plugin from one version to another.

It is not a very simple process, as far as I am aware of. I could be wrong though, as I have limited expierence in C++.

If you are having problems with simply compileing unaltered code, I think that is a good indicator that actually trying to port it is a bad place to start in and will end up being a lost cause.

And to as why you are having that error, it is probably because you are trying to use the wrong project type.

Anyways, cheers! and good luck with learning coding. =P
kahm
QUOTE(vonmeth @ May 7 2006, 17:14) *

In no way trying to be rude, though it might sound like it. (I'm tired and can't really word everything right)

What language have you coded in? I'd wager that you should probably learn all the basics of C++, and work up from there before attempting to port a complicated plugin from one version to another.

It is not a very simple process, as far as I am aware of. I could be wrong though, as I have limited expierence in C++.

If you are having problems with simply compileing unaltered code, I think that is a good indicator that actually trying to port it is a bad place to start in and will end up being a lost cause.

And to as why you are having that error, it is probably because you are trying to use the wrong project type.

Anyways, cheers! and good luck with learning coding. =P


No, its ok! I understand and I think you might be right, but I wanted to give it a shot anyway.

You seem to know a little about this, and as a previous PHP coder I could use a little help, are you avaible on AIM to talk?
foosion
The problem is due to missing project dependencies. Searching the development forum for "tutorial" in the title reveals the old component tutorial for 0.8x which includes instructions how to set those up. Searching for "LNK2001" in titles and posts reveals a large number of threads on the topic...
kahm
Thank you for the help so far... I'm down to just one error and I can't figure it out.

"main.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const ui_extension::class_guid" (?class_guid@ui_extension@@2U_GUID@@B)"

All of the other dependencies complile fine, and this is the only error that I get. Still not sure what is wrong..

Any help would be great.. thank you.
kahm
QUOTE(kahm @ May 8 2006, 14:11) *

Thank you for the help so far... I'm down to just one error and I can't figure it out.

"main.obj : error LNK2001: unresolved external symbol "public: static struct _GUID const ui_extension::class_guid" (?class_guid@ui_extension@@2U_GUID@@B)"

All of the other dependencies complile fine, and this is the only error that I get. Still not sure what is wrong..

Any help would be great.. thank you.


Can anyone help with this..? If I could get past these compile errors I could start trying to actually do things with the code.. anyone have any idea? Or would someone be willing to help over some sort of messenger or something?
gfngfgf
Do you have the Columns UI SDK installed?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.